Sieve filter with spaces

Michael Menge michael.menge at zdv.uni-tuebingen.de
Tue May 26 05:30:27 EDT 2009


Hi,

Quoting Gabriele Bulfon <gbulfon at sonicle.com>:

> 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 im.agni.lindenlab.com>
> ...

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

--------------------------------------------------------------------------------
M.Menge                                Tel.: (49) 7071/29-70316
Universität Tübingen                   Fax.: (49) 7071/29-5912
Zentrum für Datenverarbeitung          mail:  
michael.menge at zdv.uni-tuebingen.de
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 : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20090526/e720d562/attachment-0001.bin 


More information about the Info-cyrus mailing list