SUMMARY: mailx -r and Sol 8
2007-12-24 19:08:00
mailx -r <fake-sender-name> -s $subject $rcpt < standard-response
was not substituting fake sender (correctly), although it had done for
years, pre Sol8.
Firstly thanks to those who suggested I check my trusted users (T macro
in sendmail.cf) but that was OK.
The fix? I stopped using mailx, and used sendmail -f directly, which
works fine. In other words mailx has changed the way it behaves
between Sol7 and Sol8.
Interestingly enough, /usr/bin/sh has also changed the way it
interprets quoting in some weird way. I had some pretty complicated
(horrible) shell scripts which broke spectacularly under Sol8 (worked
fine under Sol 2.4/5/6/7). Some horrible awk lines, with embedded shell
variables, did not work the same.
I spent hours trying to fix them, finally changed
#!/usr/bin/sh
to
#!/usr/bin/ksh
and even though I was using none of the ksh stuff, they all worked fine.
Weird, but life is short, move on...
john
Comments
Got something to say?
You must be logged in to post a comment.

