On Aug 7, 2012, at 1:18 PM, Ansgar Wiechers wrote:

On 2012-08-07 Al Zick wrote:
I setup procmail. I have a system wide config:

LOGFILE=/var/log/procmail.log
VERBOSE=on

:0B:
* (://[A-Za-z0-9.-]+\.ru)
/dev/null

:0:
* ^Subject: (Rolex)
/dev/null

:0
* ^Subject: (anoncvs)
! m...@server1.com some...@server2.com

I checked the log and it is putting spam in /dev/null, but there are
errors in procmail.log when ever it tries to forward the emails:

sendmail: warning: the Postfix sendmail command has set-uid root file
permissions
sendmail: warning: or the command is run from a set-uid root process
sendmail: warning: the Postfix sendmail command must be installed
without set-uid root file permissions

These are warnings, not errors.

You are correct!


Is there a way to fix this?

chmod u-s /usr/sbin/sendmail

# ll /usr/sbin/sendmail
lrwxr-xr-x 1 root wheel 21 May 12 20:33 /usr/sbin/sendmail -> /usr/ sbin/mailwrapper
# ll /usr/sbin/mailwrapper
-rwxr-sr-t  1 root  wheel  7839 May 12 20:33 /usr/sbin/mailwrapper

Do I want to change permissions on /usr/sbin/mailwrapper?

Best Regards,
Al



Reply via email to