Sieve filter with spaces

Michael Menge michael.menge at
Tue May 26 05:30:27 EDT 2009


Quoting Gabriele Bulfon <gbulfon at>:

> Hello,
> I'm having trouble with some filters that match a sentence with spaces.
> Is there a special way I should specify spaces in a rule?
> This is the rule that is not considered at all:
> ...
> elsif allof (address :contains ["from"] "Mall LM Giver") {
>         fileinto "SL.Mall";
> }
> ...
> The mails that should be matched, all contains this header:
> ...
> From: "Mall LM Giver"  
> <2yojfioavbclku66o6sizjkk32inpbiaqqbysp3foyqi2d5lsrknu3ks6svsd35v at>
> ...

The space is not the problem. String has to match the address not
the display name. In your case  
"2yojfioavbclku66o6sizjkk32inpbiaqqbysp3foyqi2d5lsrknu3ks6svsd35v at"

M.Menge                                Tel.: (49) 7071/29-70316
Universität Tübingen                   Fax.: (49) 7071/29-5912
Zentrum für Datenverarbeitung          mail:  
michael.menge at
Wächterstraße 76
72074 Tübingen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5339 bytes
Desc: S/MIME krytographische Unterschrift
Url : 

More information about the Info-cyrus mailing list