Well, I finally found the time to reconfigure and reinstall courier from scratch, and this problem still exists. As a non-root user, I run:
/usr/lib/courier/bin/sendmail -t -i [EMAIL PROTECTED] 450 Service temporarily unavailable. [EMAIL PROTECTED]: invalid address.
where [EMAIL PROTECTED] is actually a valid address.
If I run this command as root, it works fine.
When I get the error, this shows up in maillog:
Apr 25 02:15:10 indra submit: authdaemon: s_connect() failed: Permission denied
Now, this would make plenty of sense,
No, it doesn't. This shows that the submit process is unable to connect to authdaemond because it does not have the permission to connect to the filesystem socket.
As per the emails from earlier this week, I've verified permissions:
-r-s--x--x 1 root daemon 136K Apr 6 21:07 /usr/lib/courier/bin/sendmail
Then this means that either this filesystem is mounted with nosuexec mount option set, or authdaemond is running under the wrong userid/groupid, or that the directory containing the filesystem socket has incorrect ownership or permissions.
pgp00000.pgp
Description: PGP signature
