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"
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."
procmail: Lock failure on "/var/spool/mail/sharedspam.lock"
procmail: Assigning "LASTFOLDER=/var/spool/mail/sharedspam"
procmail: Opening "/var/spool/mail/sharedspam"
procmail: Error while writing to "/var/spool/mail/sharedspam"
procmail: No match on "^^rom[ ]"
procmail: Assigning
"PATH=/home/richard/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/us
r/X11R6/bin"
procmail: Bypassed locking "/var/spool/mail/richard.lock"
procmail: Assigning "LASTFOLDER=/var/spool/mail/richard"
procmail: Opening "/var/spool/mail/richard"
procmail: Acquiring kernel-lock
procmail: Notified comsat: "[EMAIL PROTECTED]:/var/spool/mail/richard"

************************************************************************
*************
contents of /etc/procmailrc


DROPPRIVS=no
LOGFILE=/var/log/procmail.log
ABYSS=/var/spool/mail/sharedspam
VERBOSE=off
FORMAIL=/usr/bin/formail
SENDMAIL=/usr/sbin/sendmail

#Spamassassin start
:0fw: spamassassin.lock
| /usr/bin/spamc

:0:
* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\
$ABYSS

:0:
* ^X-Spam-Status: Yes
$ABYSS

#Spamassassin end# Work around procmail bug: any output on stderr will
cause the "F" in "From"
# to be dropped.  This will re-add it.
:0
* ^^rom[ ]
{
  LOG="*** Dropped F off From_ header! Fixing up. "

  :0 fhw
  | sed -e '1s/^/F/'
}








-------------------------------------------------------
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

Reply via email to