Dear sirs Thank you and congratulations for creating Dovecot. When a message header is split along several lines, it seems only the first one is parsed by sieve. The following header: From: "=?iso-8859-1?Q?Cotiatododia=20-=20O=20Jornal=20de=20Not=EDcias=20a=20Se? =?iso-8859-1?Q?rvi=E7o=20de=20Cotia=20e=20Regi=E3o=2E?=" <newsletter at cotiatododia.com.br> was not discarded by the following rule (when it should have been due to "cotiatododia"): 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; } Thank you, Dennis
On Tue, 2008-10-07 at 14:38 -0300, info wrote:> When a message header is split along several lines, it seems only the > first one is parsed by sieve. > > The following header: > > From: > "=?iso-8859-1?Q?Cotiatododia=20-=20O=20Jornal=20de=20Not=EDcias=20a=20Se?> =?iso-8859-1?Q?rvi=E7o=20de=20Cotia=20e=20Regi=E3o=2E?=" > <newsletter at cotiatododia.com.br>Is that really correct? Was there no space or tab before the "=?iso.. ? Or was the line just accidentally split when sending the mail? If the above really is correct, then the header is broken and Dovecot is doing the right thing.. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20081007/95f707bf/attachment-0002.bin>