How can I tell if what user procmail is running as?
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Simon Byrnand Sent: Thursday, July 03, 2003 5:40 PM To: Richard Humphrey; Spamassassin-List Subject: Re: [SAtalk] problem filtering all mail to single spam mailbox At 16:13 3/07/03 -0500, Richard Humphrey wrote: >My apologies for the long post. I had (at one time) SA running on RH 8.0 >and using /etc/procmailrc to send all tagged spam to a single spam >mailbox located in /var/spool/mail/sharedspam. Since then I have >reinstalled RedHat (yeah i know, shoulda saved config files etc) and now >I am trying to set this up again but having a heck of a time. SA is >working fine tagging the emails, but procmail isnt moving the spams over >to /var/spool/mail/sharedspam. I have tried numerous recipies in >/etc/procmailrc and the one that I used before (successfully) is pasted >below. Unfortunately now something is hosed because i am getting all >kinds of lock errors in procmail. I know this isnt really an SA issue, >but i thought maybe someone has had this problem before. > >Here are the errors i am getting > >procmail: Error while writing to "/var/log/procmail.log" Well straight off the bat, it seems you've got a permissions problem with procmail - what user is procmail running as ? In older versions of sendmail - 8.11 and earlier, procmail is run as root, so there is no reason why it shouldn't be able to write to /var/log/procmail.log >procmail: [20588] Thu Jul 3 16:10:09 2003 >procmail: Assigning "FORMAIL=/usr/bin/formail" >procmail: Assigning "SENDMAIL=/usr/sbin/sendmail" >procmail: Locking "spamassassin.lock" >procmail: Executing "/usr/bin/spamc" >procmail: [20588] Thu Jul 3 16:10:10 2003 >procmail: Unlocking "spamassassin.lock" >procmail: No match on "^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*$ABYSS" >procmail: Missing action >procmail: Match on "^X-Spam-Status: Yes" >procmail: Locking "/var/spool/mail/sharedspam.lock" >procmail: Error while writing to >"/var/spool/mail/_sBF,xuJB_.ratbert.rhumphrey." Same error here. Track down why it can't write to these files and you'll probably solve 90% of your problem. Regards, Simon ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk