著者: Jan Ingvoldstad 日付: To: Wolfgang Breyha CC: exim-users@exim.org, Michael Fischer v. Mollard 題目: Re: [exim] Emails starting with a byte order mark (BOM)
On Wed, Feb 26, 2014 at 1:33 PM, Wolfgang Breyha <wbreyha@???> wrote:
> Michael Fischer v. Mollard wrote, on 25/02/14 16:59:
> > <EF><BB><BF>Received: from [10.0.0.100] by gen3.XXX.com id K1sdIgJUfdo1;
> > Tue, 25 Feb 2014 08:56:59 -0600
> > Message-ID: <...@gen3.XXX.com>
>
> I see those, too. But I've no sample yet.
>
> > exim even recoded this to 0xEF 0xBB 0xBF, but I would prefer to reject
> > these mails with an ACL. Is there a way to achieve that in an ACL?
> verify =
> > header_syntax seems not to work.
>
> condition = ${if match{$message_headers_raw}{\N\xEF\xBB\xBFReceived\N}}
> should detect them. In my tests $message_headers works, too.
>
Perhaps it would be relevant to check for other byte order marks as well: