Re: [exim] From field with comma rewritten

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Tony Finch
Dátum:  
Címzett: exim-users
CC: Christian Gregoire
Tárgy: Re: [exim] From field with comma rewritten
On Thu, 15 May 2008, Phil Pennock wrote:
> On 2008-05-15 at 01:39 -0700, Christian Gregoire wrote:
> > When a message with a 'From:' header line contains a comma, like :
> >     From: my, test <my@???>
> > Sendmail rewrites it, prepending @domain_ name before the comma :
> >     From: my@domain_ name, test <my@???>

>
> I take it you mean "Exim", not "Sendmail"?
>
> > If the line is encoded beforehand by the SMTP client (quoted-printable,
> > base64, ...), this rule does not apply. I noticed the same behaviour with Sendmail.
> >
> > Is there an explanation to this, and a way to deactivate it ? It's not
> > about the MAIL FROM command, but the From: field.
>
> You can't deactivate it.


The -bnq command line option should do the trick.

However I agree that the thing to do is to fix the program that generated
the message so that it doesn't create messages with syntax errors.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}