Paul Fielding wrote: > From what I've been able to determine, I *think* what's happening is > that when procmail is running via the user rc file, SA is being run > as the proper user and the proper user SA prefs are being called. > However, when I use the sitewide rc file, SA seems to be being called > as root, and root's user SA prefs are being called instead. Any > suggestions?
Try making the following changes for /etc/procmailrc: ---------------- # This is generally a GoodThing(TM) anyway, unless you MUST run # sections of /etc/procmailrc as root... DROPPRIVS=yes # send mail through SpamAssassin :0 fw * < 256000 # *** This is the semi-critical bit; I don't know if $LOGNAME is set # correctly when procmail starts processing recipes from # /etc/procmailrc. # Change this: # | /usr/bin/spamc -f # to this: | /usr/bin/spamc -f -u $LOGNAME :0 *^Subject: \*\*\*\*\*SPAM mail/SPAM ---------------- > syslog when run as /etc/procmailrc: [snip] > Jan 14 02:41:58 hildegard spamd[24780]: Still running as root: > user not specified with -u, not found, or set to root. Fall back to ^^^^^^^^^^^^^^^^^^^^^^^^^^ Here's the log fragment telling you exactly *what* is going wrong for proper per-user spamd/spamc usage. To fix it for certain, you'll probably have to spend a while reading the man pages for procmail, or consulting a procmail list- I have no idea whether my suggestions above will work. In the systems I'm adminning here, one has per-user .procmailrc files (created with default calls to SA when the account is created), and the other calls SA as a Perl module from the MIMEDefang milter program and I don't do per-user prefs anyway. -kgd -- "Sendmail administration is not black magic. There are legitimate technical reasons why it requires the sacrificing of a live chicken." - Unknown ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk