[Dovecot] Sieve problem with managesieve

Simone Caruso info at simonecaruso.com
Thu Nov 11 12:13:51 EET 2010


On 10/11/2010 21:14, A.L.E.C wrote:
> On Wed, 10 Nov 2010 19:01:02 +0100, Simone Caruso wrote:
>> I have a problem with a sieve script..
>> my config is dovecot 1.2.15 with managesieve, and roundcube.
>> if anyof (header :contains "From" "xxx at example.com")
>> if anyof (header :is "From" "trac at ardeek.com")
>
> ":is" is an absolute match, ":contains" is a substring match.
>
> http://tools.ietf.org/html/rfc5228#section-2.7.1
>
Of course, but with the SAME header "From:" ( From: "AA" <xxx at sample.com> for example) :contains match but :is
_don't_ match... i don't understand the reason :/

For my logic "if anyof (header :is "From" "xxx at example.com")" should match "From: "AA" <xxx at example.com>", but in 
practice that script don't.

-- 
Simone Caruso
IT Consultant
p.iva: 03045250838


More information about the dovecot mailing list