[Dovecot] sieve 0.1.2 problem with address and :regex

Andy Howell AndyHowell at austin.rr.com
Tue Feb 3 07:44:03 EET 2009


Stephan Bosch wrote:
> Andy Howell wrote:
>>
>> I'm getting a core dump with the following script:
>>
>> require [ "fileinto", "regex", "variables" ];
>>
>> if address :domain :regex  ["Reply-To", "Sender", "To", "Cc"]
>> "antlr.org|mailman.unixodbc.org|research.att.com|wireshark.org" {
>>   if address :regex ["Reply-To", "Sender", "To", "Cc"]
>> ["([^-@]*)-([^-@]*)(-bounces)?@[^:space:,]*"] {
>>     fileinto "1: ${1} 2: ${2} 3: ${3} 4: ${4} 5: ${5} 6: ${6} 7: ${7} 
>> 8: ${8}";
>>   }
>> }
>>
>> and using the mail below to test with. Looks likes it another regex 
>> problem. The sieve-test I'm using had the previous regex patch applied.
> Looks like I implicitly fixed this with another regex segfault problem I 
> found (I can reproduce your segfault without this particular fix). I 
> didn't give it a second thought, but I should have notified you. This 
> should fix it:
> 
> http://hg.rename-it.nl/dovecot-libsieve/rev/6ed559a5f677
> 
> Regards,
> 
> Stephan.

Stephan,

	Thanks for the fix. Applied and confirmed it works.

Regards,

	Andy




More information about the dovecot mailing list