Fight against spam part 5 – Dovecot Sieve

From previously posts we started using 4 different technologies to stop spam from reaching our server or being scanned by our rules.

But if any spam will reach us those application wont delete them or do anything with them because we don’t want to lost mail that was send from poorly configure mail server – maybe its important one.

If we use postfix with dovecot we could use dovecot to manipulate emails via IMAP protocol. Sieve is the tool we need that will move mails between folder.

Instalation:

Almost there:

Let sieve know about new rules:

Final restart to make it work:

 

Now if SpamAssassin mark mail as spam it will be move to JUNK folder.

 

Rest post related to this topic:

Postfix i Dovecot – perfect duo for mail server

Fight against spam part 1 – Postfix SPF

Fight against spam part 2 – Postfix DKIM

Fight against spam part 3 – Postfix DMARC

Fight against spam part 4 – Postfix SpamAssassin

Facebooktwittergoogle_plusreddit

Leave a Reply

Your email address will not be published. Required fields are marked *

*