Re: [exim] header_syntax

Góra strony
Delete this message
Reply to this message
Autor: Ian Eiloart
Data:  
Dla: Brian, exim-users
CC: 
Temat: Re: [exim] header_syntax


--On March 3, 2005 12:28:14 -0500 Brian <bcook-exim@???> wrote:

> Hello,
>
> I had recently sent a message to the qmail list and one of the
> moderators/list people tried to send this to me, but it was rejected.
>
> So he told me my mta was 'retarded'.
>
> I would assume that he being a massive qmail advocate might not be wrong, but
> I don't see what I could have done differently.
>
> Below is the part from the rejectlog
>


So, your MTA has rejected this header:

From: "Charles Cazabon's correspondence secretary" <>

Well, lets see what  rfc 822 says about the valid content of that header:
    "From"       ":"   mailbox  ; Single author


    mailbox     =  addr-spec                    ; simple address
                 /  phrase route-addr            ; name & addr-spec


    addr-spec   =  local-part "@" domain        ; global address
    route-addr  =  "<" [route] addr-spec ">"



So, it looks to me like that is not a valid From: header. A from header has to
contain an '@' symbol, because it has to contain an addr-spec.

The qmail guy says your mta is retarded for one of two reasons:
    1) most mtas don't validate headers, so he's not expecting to have to use a 
valid from: address.
    2) he's expecting the content of the from address to be valid if the 
angle-brackets contain a valid rfc821 return-path - which isn't true.


>
> 2005-03-03 10:54:58 1D6sfC-000Aln-Aw H=(discworld.dyndns.org) [70.64.60.7]
> F=<> rejected after DATA: RFC2822: missing or malformed local part: failing
> address in "From" header is: "Charles Cazabon's correspondence secretary" <>
> Envelope-from: <>
> Envelope-to: <bcook-dated-1110038080.61f2f1@???>
> P Received: from [70.64.60.7] (helo=discworld.dyndns.org) by c.mx.poklib.org
> with smtp  (Exim 4.44; FreeBSD) id 1D6sfC-000Aln-Aw for
> bcook-dated-1110038080.61f2f1@??? ; Thu, 03 Mar 2005 10:54:58 -0500
> P Received: (qmail 29630 invoked by uid 500); 3 Mar 2005 15:54:32 -0000
>    Date: 3 Mar 2005 15:54:32 -0000
> I Message-ID: <20050303155432.29629.qmail@???>
> T To: <bcook-dated-1110038080.61f2f1@???>
> F From: "Charles Cazabon's correspondence secretary" <>

>
> I was looking in rfc822 and 2822 and I couldn't find where it says something
> relating to " <> names can't have real names in quotes" or something like
> that.
>
> did exim do this erroneously? Is the 'qmail guy' right?




--
Ian Eiloart
Servers Team
Sussex University ITS