Hi have you tried header :contains "from" "Mall LM Giver" Quoting Gabriele Bulfon <gbulfon@xxxxxxxxxxx>:
Uhm....so...how would I let it match the complete From header instead of just the email address?I assumed that "from" was all the from string, including the display name.And...actually I have remembrances of having the same problem with a Subject containing spaces...Gabriele Bulfon - Sonicle S.r.l. Tel +39 028246016 Int. 30 - Fax +39 028243880 Via Felice Cavallotti 16 - 20089, Rozzano - Milano - ITALY http://www.sonicle.com ---------------------------------------------------------------------------------- Da: Michael Menge <michael.menge@xxxxxxxxxxxxxxxxxxxx> A: info-cyrus@xxxxxxxxxxxxxxxxxxxx Data: 26 maggio 2009 11.30.27 CEST Oggetto: Re: Sieve filter with spaces Hi, Quoting Gabriele Bulfon <gbulfon@xxxxxxxxxxx>: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@xxxxxxxxxxxxxxxxxxxxx> ...The space is not the problem. String has to match the address not the display name. In your case "2yojfioavbclku66o6sizjkk32inpbiaqqbysp3foyqi2d5lsrknu3ks6svsd35v@xxxxxxxxxxxxxxxxxxxxx" -------------------------------------------------------------------------------- M.Menge Tel.: (49) 7071/29-70316 Universität Tübingen Fax.: (49) 7071/29-5912 Zentrum für Datenverarbeitung mail: michael.menge@xxxxxxxxxxxxxxxxxxxx Wächterstraße 76 72074 Tübingen ---- Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
-------------------------------------------------------------------------------- M.Menge Tel.: (49) 7071/29-70316 Universität Tübingen Fax.: (49) 7071/29-5912Zentrum für Datenverarbeitung mail: michael.menge@xxxxxxxxxxxxxxxxxxxx
Wächterstraße 76 72074 Tübingen
Attachment:
smime.p7s
Description: S/MIME krytographische Unterschrift
---- Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html