Re: [Exim] square brackets in To header

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Alexei Saveliev
Fecha:  
A: exim-users
Asunto: Re: [Exim] square brackets in To header
Here is a part of exim log:

Jul  4 15:22:09 stat exim[20264]: 2001-07-04 15:22:09 15HkjR-0005Gq-00
rejected from natalie-tours.ru [195.239.36.35] <mail@???>:
syntax error in 'To' header: missing or malformed local part (expected
word or "<"): failing address is:
\302\360\345\354\377-\310\342\340\355\356\342\356       [VREI]
<time@???>
Jul  4 15:22:09 stat exim[20264]: [1\19] 2001-07-04 15:22:09
15HkjR-0005Gq-00 rejected from natalie-tours.ru


I've contacted people on the other side of wire and they do use some
custom mailer
and have only one argument "Other hosts recieve our mail fine".
I've tried to send email with this kind of address thru sendmail host
and it's passed.

Miquel van Smoorenburg wrote:

>
> In article <3B446068.29591719@???>,
> Alexei Saveliev <lexa@???> wrote:
> >I have Exim server running in production environment for 6 months
> >and had no problem with it.
> >But now this thing is driving our customers mad.
> >The case is that someone is trying to sent messages with receiver
> >in form Customer Name [some info] <email@domain>
> >I've checked this form of address with -bt option and Exim reports it
> >as "missing or malformed local part".
>
> That is a completely valid address for in the To: header, but it
> isn't for the envelope-to. Those 2 have completely different syntaxes.
>
> The To: header can contain all kinds of "junk", as long as there is
> a valid email address somewhere in there. In the case of
> Customer Name [some info] <email@domain>, the email@domain part is
> the email address itself, the rest is merely comments. See RFC2822
> for more about this then you would ever want to know ;)
>
> However for _routing_ mail, only the email@domain part is used. That
> is also what you feed to exim on the command line, or what you feed
> to it using SMTP (RCPT TO: <email@domain>).
>
> If someone is trying to send you mail with at the SMTP level
> RCPT TO: Customer Name [some info] <email@domain> then their
> mailer is broken beyond all repair and it should be disconnected
> from the 'net right away.
>
> But, in the To: header, Customer Name [some info] <email@domain>
> is absolutely legal. What exactly is breaking ?
>
> Mike.
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##