How to log a Sieve match in Dovecot debug_log

@lbutlr kremels at kreme.com
Sun Jul 1 00:13:39 EEST 2018


On 30 Jun 2018, at 03:28, Lukas <lukas at email.it> wrote:
>         body :text :contains "crypto",
>         body :text :contains "sex",
>         body :text :contains "viagra"

This is a very silly way to try to deal with spam. In fact, your own message to the list will be flagged by your rule. Actual spam message will illy not even hit this rule as they often use ETF-8 characters or weird spacing and substitutions to evade simplistic checks like this.

There are anti-spam packages that do a good job (well, there's SpamAssassin, I suspect there must be others), use those.

-- 
Hamburgers. The cornerstone of any nutritious breakfast.



More information about the dovecot mailing list