Brad, I'll tell you how I've done it and I'll leave it up to you if you think this answers your question.
I am using procmail to deliver messages to a Maildir format instead of mbox (with all of its locking and performance issues). Then I deliver SA-flagged spam to a .SPAM subfolder of my Inbox in IMAP. So I switch from POP3 to IMAP and I can still peruse the SPAM to ensure nothing was a false positive, but it's a whole lot cleaner than having SA flagged messages inside my regular Inbox. ----- Original Message ----- From: "Brad Koehn" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 10, 2002 1:21 PM Subject: [SAtalk] sa troubles > Hey all, > > I'm running into two interesting problems with my SA configuration, that > others may have run into also: > > 1. I'm invoking SA from /etc/procmailrc, which works well. But I'm > trying to keep a copy of everything that SA tags as spam, using the > following: > > ==== > :0fw > | /usr/local/bin/spamassassin -Pa > > :0c: > * ^X-Spam-Status: Yes > | gzip >> /var/log/spam.mbox.gz > ==== > > When the message comes through though, procmail is creating a lockfile > /var/log/spam.mbox.gz.lock (as it should), but the lock is never > released (deleted). Subsequent spam messages that come in hang for a > long time and are never appended. The lockfile (and mailbox) are owned > by root, who's the only user that can modify them. Should I be > specifiying the lockfile explicitly? > > I ended up changing the recipe to "! spam" and aliasing "spam" to "| > gzip >> /var/log/spam.mbox.gz" which lets sendmail do the appending. > This unfortunately changes the headers, decreases performance (since SA > is called on the bounced message, again), and seems like the Wrong Thing > (tm). > > Any ideas on why the above procmailrc doesn't work? > > 2. Am I correct in assuming that if I'm using spamc/d, I need to invoke > "| spamc -u $LOGNAME" from /etc/procmailrc? > > > TIA, > > Brad Koehn > [EMAIL PROTECTED] > > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink > > _______________________________________________ > Spamassassin-talk mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/spamassassin-talk > > _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk