Bruce Johnson wrote:
1. I’ve created symbolic links to the
sendmail in /usr/bin and other directories as suggested in the install
guide. But, now I have old bash scripts running as “non-root” that are
reporting 433 error message stating the service is unavailable (or
something like that). It seems that the file permission are such that
it won’t allow execution and I’m not sure if that’s the entire problem.
The 'sendmail' binary probably isn't suid/sgid properly. You must have
missed one or more steps during the install.
2. I’ve also tried to run old scripts that
use similar syntax as “cat textfile.txt | sendmail bruce” and I get the
mail message as root but there is no body text as I had gotten with
postfix. What is different about the new syntax of courier’s “sendmail”
syntax that prevents the body text from coming through?
I don't know about postfix, but Courier's sendmail expects headers to
precede the body. If you're not writing your own headers, you should be
doing this, instead:
cat textfile.txt | mail bruce
The 'mail' (mailx on some platforms) will write appropriate headers for
you before giving the input to sendmail.