[Dovecot] sieve multi-line parser bug

info info at s1v.com
Fri Oct 10 21:55:27 EEST 2008


I'm sorry it is my mistake

I forgot to add a "stop". There was another rule at the bottom of my script:

	if allof (header :contains "X-Spam-Flag" "YES") {
         	 fileinto "Junk";
	}

which overruled the first

I apologize for taking your time.

Sincerely,
Dennis




-----


"Cotiatododia" (with upper case C) is in the first line but
"cotiatododia" (lower case) is only on the second one.

My rule is case sensitive (as far as I know):

if anyof (header :contains ["From", "Reply-To", "To", "Cc"]
["cotiatododia", "ganhedinheiro.com", "1000deaths.com", "ione.correia",
"nsbezerra", "estudenoexterior.com", "pestana at mauriciopestana.com.br",
"institutojairmoura2 at gmail.com", "webmaster at ie.org.br",
"jahgor at jahgor.com.br", "marketing at mirostur.com.br"], header :contains
"Subject" "E ai!, Essa voce Tem que Ver!") {
         discard;
}

I'm using version 1.1.3

Best Regards,
Dennis



Timo Sirainen wrote:
> On Wed, 2008-10-08 at 07:29 -0300, info wrote:
>   
>> Hello Timo,
>>
>> Thanks for the reply
>>
>> It was accidentally split when sending the mail. The actual lines are  
>> only 2:
>>
>> 1) From: 
>> "=?iso-8859-1?Q?Cotiatododia=20-=20O=20Jornal=20de=20Not=EDcias=20a=20Se?=
>>     
>
> OK, Cotiatododia is already in the first line, so the problem isn't
> about reading multi-line. What Dovecot version do you use?
>
>   




More information about the dovecot mailing list