On Sat, Jun 30, 2012 at 2:32 AM, Stevan Bajić <ste...@bajic.ch> wrote:
> On 30.06.2012 02:15, Terry Barnum wrote:
>>   Do most people using dovecot's antispam plugin just configure dspam with 
>> "spamSubject=" to avoid this situation?
> Yes. This is what I have seen most people doing. However... you need to
> have another mechanism (usually sieve script) that is moving mail to the
> Spam/Junk folder when the X-DSPAM-Result header is
> spam/blacklisted/blocklisted/virus.

I use:

Postfix, main.cf:
recipient_delimiter = +

dspam.conf:
EnablePlusedDetail      on
QuarantineMailbox      +spam

and then the Dovecot LDA:
recipient_delimiter = +

and the Dovecot LMTP to which dspam delivers *all* mail, be it ham or spam:
lmtp_save_to_detail_mailbox = yes

So what this does is... if a user creates a mailbox with name 'spam',
mail classified by dspam as spam will get delivered into this mailbox.
Reclassification is handled by dovecot-antispam. No need for Sieve
filters, no need to change the subject line.
And if users decide they would like to see all spam delivered to their
inboxes, they can just delete the 'spam' folder. Or recreate it if
they change their mind later on (though they might have miseducated
dspam by this time).

Cheers, Wicher Minnaard.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to