Hi, You can delete spam messages after N days.
I wouldn't feed too much spam into sa-learn. DB is limited in performances. You need to feed ham as well. Here is a fix for (spam) messages originated from sources with Received headers causing SpamAssassin to misfire RBL checks: Received: from HOSTNAME (HELO xxxx [ip.add.re.ss]) Should be: Received: from xxxx (HOTNAME [ip.add.re.ss]) This is a fast fix I made in Postfix (not sure is perfect): Header_checks pcre file: if /^Received: / /^(Received:\s+from)\s+(.*)\s+\(([he]+lo=|[he]+lo)\s+(.*)\s+(\[.*\])\)/ REPLACE $1 $4 ($2 $5) Endif Marius. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Michael B Allen Sent: Friday, June 5, 2015 6:34 AM To: Postfix users Subject: General SPAM Strategy Hi, I need a better spam setup. Right now I'm using spamd to mark spam and then procmail to put spam in Maildir/.Spam and then run bayes on Maildir/.LearnAsSpam once in a while manually and then I have to delete stuff once in a while manually and so on and so on ad nausium. Can someone give me a pointer to something more integrated. It seems to me it should be possible to have one process to mark spam but also close the loop by learning from spam that gets through and also cleaning up once in a while. I can't believe most people would go through all of this trouble. Do you just delete anything flagged as spam and that's it? Mike
