sieve filter move wrong email to Junk folder
Steffen Kaiser
skdovecot at inf.h-brs.de
Fri Dec 15 10:38:30 EET 2017
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Fri, 15 Dec 2017, Bill Shirley wrote:
> This is what I use. Notice the comma:
> require "fileinto";
> if header :contains "X-Spam-Status" "Yes," {
> fileinto "SystemFolders.SuspectedSpam";
> stop;
> }
I would even add the space:
if header :contains "X-Spam-Status" "Yes, " {
because the list of tests won't contain a space.
- --
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEVAwUBWjOKB8QnQQNheMxiAQIdeAgAyL+FDM/DE5J1sRkJ6P8MuIAT3Zx8zfPO
Mljn/kswG551jyso2FfGqAw6et5uHrab3Wk22NxQVK6yR4ySZstr3RF9ICeuJVvs
pNFzyvBf0BivihWZLMWiVum0/B0LfpW6T7B93Yvbl/JXei2C6+uy8Mk2zFo/5jWP
lpKdIxWs/SMmsjFE2QccfP7Id1aUw+tYM+9P/fzc0/kGkNRs5UCodeo/e30opdvv
tJ8QpwPV/873uhk9p5m2NB/0bi4i9Rg5VMC2ui5trVlyOR2q2WpYVZ1gV2tvVpEA
B3QY8vrzDf9xb1zDoVi8hMDCqynZZGQ++nSfIux/7DBDJvvYx5sYKg==
=sUdv
-----END PGP SIGNATURE-----
More information about the dovecot
mailing list