On 7/18/2012 11:22 AM, Nalinda Herath wrote: > Hi all, > > Recently I have integrated spmassassin to my existing postfix > system. But now I need to tune my archiving settings in postfix to > prevent from archiving mails tagged as spam. > > It will be really helpful If someone can help me on this. Thanks. > > Regards, > Nalinda > > -- > Regards, > Nalinda > >
General procedure -- apply anti-spam and anti-virus before the archiving procedure. One way to do this is to run spamassassin in a pre-queue smtpd_proxy_filter or milter so only clean mail enters postfix. Or with a traditional postfix after queue content_filter, do your archiving in the after-filter postfix instance. If you need a more specific answer, you'll need to share full details of your postfix setup, your archiving procedure, and how you've integrated spamassassin. http://www.postfix.org/DEBUG_README.html#mail -- Noel Jones
