Bah, here it is, RFC 2047. libSieve's handling is somewhere between
broken and nonexistant. I have some reading to do now!
On Sat, 2007-01-06 at 18:30 -0800, Aaron Stone wrote:
> Sieve scripts are specified to be in UTF-8. I am not certain if
> addresses are specified to also be UTF-8 or UTF-7. I haven't had a
> chance to look this up. I may actually need to have proper Unicode
> support in libSieve!
>
> libSieve should be happy making byte-by-byte comparisons between a UTF-8
> address in the script and a UTF-8 address from DBMail. I think.
>
> Aaron
>
> On Thu, 2007-01-04 at 17:08 +0100, Paul J Stevens wrote:
> > 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>------
> >
>
> _______________________________________________
> Dbmail-dev mailing list
> [email protected]
> http://twister.fastxs.net/mailman/listinfo/dbmail-dev
_______________________________________________
Dbmail-dev mailing list
[email protected]
http://twister.fastxs.net/mailman/listinfo/dbmail-dev