Aaron,
I've stumbled upon what appears to be a sieve bug. I've tested this
against 2.2.3 as in debian/sid. Question is: is this fixed in the most
recent version of libsieve? Or should we work around this in dbmail?
A simple blacklist:
if address :all :comparator "i;ascii-casemap" :is ["From", "Sender",
"Resent-From"] ["[EMAIL PROTECTED]", "[EMAIL PROTECTED]"] {
discard;
stop;
}
will make dbmail barf when it is fed an email with utf7 code in the From
header:
Jan 4 16:57:04 nfg3 dbmail/smtp[3129]: Info:[sort]
sortsieve.c,sort_getheader(+375): Getting header [From] returning value
[=?iso-8859-1?Q?B=BA_V._F._Z=EAzere?= <[EMAIL PROTECTED]>]
Jan 4 16:57:04 nfg3 dbmail/smtp[3129]: Info:[sort]
sortsieve.c,sort_errexec(+299): Error is EXEC: Message is [syntax error,
unexpected '<', expecting '@' or '.']
The testmessage was:
------<cut>------
From: =?iso-8859-1?Q?B=BA_V._F._Z=EAzere?= <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: =?iso-8859-1?Q?Re:_M=F3dulo_Extintores?=
Date: Tue, 16 May 2006 15:19:44 +0100
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2741.2600
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2742.200
X-Virus-Scanned: ClamAV using ClamSMTP
MIME-Version: 1.0
test
------<cut>------
--
________________________________________________________________
Paul Stevens paul at nfg.nl
NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
The Netherlands________________________________http://www.nfg.nl
_______________________________________________
Dbmail-dev mailing list
[email protected]
http://twister.fastxs.net/mailman/listinfo/dbmail-dev