Re: Search pattern in sieve
Reindl Harald <[email protected]>
| Newsgroups | gmane.mail.imap.dbmail |
|---|---|
| Organization | the lounge interactive design |
| Message-ID | <[email protected]> |
Am 23.10.2014 um 16:53 schrieb Ralph Ballier:
> I think there is an error in the search patterns in dbmail 2.2.18.
>
> In Sieveskript is written:
>
> if allof (header :matches "subject" "*\\*SPAM\\**") {
> fileinto "Spam";
> }
>
> but the string
>
> *****SPAM*****
why \\* instead \* and why 2.2.18
2.x is end of life!
BTW - filter by subject is not that good
if header :matches ["X-Spam-Flag"] ["Yes"]
{
fileinto "junk";
}
_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
signature.asc
(application/pgp-signature, 181 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlRJIG0ACgkQhmBjz394AnmIjwCgmJHSImy2mjy+flPrziGYSxBM SCEAn3CRvcOrvMeWzgnV4WVAjCEOTCzN =0LhN -----END PGP SIGNATURE-----