[Dovecot] Global sieve filter ignored (Long)
Daniel Luttermann
daniel at dlutt.de
Fri Jul 23 00:00:17 EEST 2010
Larry Crouch wrote on 22.07.2010:
> Lately though I considered filtering spam with a global sieve filter.
> I created the /var/vmail/globalsieverc file which contains:
> require ["fileinto"];
> # Move spam to spam folder
> if header :contains "X-Spam-Flag" ["YES"] {
> fileinto "spam";
> stop;
> }
> Made certain it was owned by vmail.
> Changed the last stanza of /etc/dovecot/dovecot.conf which in labeled
> plugin:
> sieve_global_path = /var/vmail/globalsieverc
> Restarted dovecot
> Sent a known spam email (GTUBE)
> The resulting email is always delivered to INBOX:
> 2010-07-19 03:35:19 deliver(xxx at xxx.xxx): Info: msgid=: saved mail to INBOX
Have you enabled sieve for the LDA? Example:
protocol lda {
mail_plugins = sieve
...
...
}
--
Daniel
More information about the dovecot
mailing list