Rakesh wrote:
Hi, using Postfix+SA here. Hope what follows will help you in any case.
I am using Postfix+MailScanner+SpamAssassin+SpamCopURI+Razor and having a good time catching spam. Is it possible to quaratine spam messages when detected by SpamAssassin, I understand that SpamAssassin is just a detector and tagger, the actions in this case is decided by MailScanner.
Don't know MailScanner, but as long as you have access to the filesystem where SA & Postfix store temporary messages you can grep for X-Spam-Status header and decide upon that.
over here. And if i am able to make such kind of quaratine system and suppose i need to release a particular mail detected as spam then how do i do it, simultaneously at the time of release the SpamAssassin has to be informed about the mail as a Ham.
You store quarantined messages on the filesystem using a tree like:
domain1/user1 domain1/user2 ... domainN/userM
(check filesystem permissions!)
When you need to release a message you need a script that reads the path and composes [EMAIL PROTECTED], then requeues it for delivery. If you want to tell spamassassin the .EML is ham you do a sa-learn on the file before forwarding (again check who runs the script and how this affects Bayes.db files permissions).
You might want to use a web-file-browser in order to check what is in quarantine (google for "drall", free and with customizable filters).
HTH, Paolo
-- QRPp-I #707 + www.paolocravero.tk + I QRP #476 Beacon @ 28.3219 MHz + QRPp + QRSS3 + JN35TC