Sieve plus addressed mail filtering

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Wed Oct 29 12:40:37 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 29 Oct 2014, Peter Chiochetti wrote:

> Today I learned, that to filter incoming plus addressed mail (user+tag@…) I 
> had to deviate from the documentation. There it reads:
>
> if envelope :detail "to" "spam"{

^^ does this quote miss ":is"?

>  fileinto "Spam";
> }
>
> Instead I had to write:
>
> if address :is :detail "To" "tag"{
>  fileinto "Tagged";
> }

it depends on your way, how to deliver message from MTA to Dovecot, if the 
envelope information is available at all. How do you do it?

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBVFDgRXz1H7kL/d9rAQIzqggAmZmlsHkG0eY5n60cOBzzIDYM+t0L3d0H
esHdP/yHI9uv07R9OPbn696uYXeKe0e0qLfTZtBm4a5GKAXaWbGcpFr8rBaYLbwm
jKENlevb5MPO6AkNiETYDmpcZGeMRvhtU63jc9UVeFpRZkCg777Fc6mXWUJw0JOa
S8vvM9CJZOfrInYFmvOjiB5RD/Dd6xk5m1JYy/EePAHRE8bt6tfhu12uyEyyX5Gw
opJ2y602VTZemyNtRoxDH7hDIULs+5io4pItJWM3Y4TkCyYEQzUARo5bSdCYEHog
rKJ7s0/F+WCKfm1aFsUnX60c/3aVDD4QfakbPDV8zPIwT6K8IPb+DQ==
=Msv5
-----END PGP SIGNATURE-----


More information about the dovecot mailing list