spam assassin code ammended
"david blunkett" <[email protected]> Fri, 19 Jan 2007 20:45:42 +0000
| Newsgroups | gmane.mail.spam.active-spam-killer.general |
|---|---|
| Message-ID | <[email protected]> |
--===============1372947724==
Content-Type: text/plain; format=flowed
The spam assassin code in askmain needs a quick ammendment to make sure
confirmations accidently tagged as spam are properly processed!
if self.msg.is_spam() and (not
self.msg.is_confirmation_return()):
self.log.write(1, "Spam caught, delivering...")
self.msg.deliver_mail("Spam email ")
return(self.config.RET_PROCMAIL_CONTINUE)
Obviously they will still be filtered as before.
I have this code working in 2.4.1 and 2.5.3 - it could be a lot better
especially if it relied on .askrc options but it works for me so I will
leave it there.
Cheers,
SA
_________________________________________________________________
Valentines Day -- Shop for gifts that spell L-O-V-E at MSN Shopping
http://shopping.msn.com/content/shp/?ctId=8323,ptnrid=37,ptnrdata=24095&tcode=wlmtagline
--===============1372947724==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--===============1372947724==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
A-S-K-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/a-s-k-users
--===============1372947724==--