Re: [Exim] From Header format

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Dave C.
Datum:  
To: Russell Wilton
CC: exim-users
Betreff: Re: [Exim] From Header format
On Wed, 3 Jul 2002, Russell Wilton wrote:

> Hi:
>   I am running Exim 4.05 and Courier-IMAP on RedHat Linux 7.2.  I do
> SMTP authentication using an LDAP directory and then rewrite the From
> and Reply-To headers to be the name and mail address found in the LDAP
> directory, ignoring the values the user has configured in their client,
> to try to prevent spoofing.  I'd like to be able to indicate in the From
> header that I have done this rewrite, by adding something like
> "(Authenticated)" on the end of the line so that it would look like:
>     From: Russell Wilton <wilton@???>  (Authenticated)


This format is not valid.

>
> I tried just tacking it on during the rewrite, but my Netscape client
> moves the extra text in front of the mailing address and displays it
> like this:
>     From: "Russell WIlton (Authenticated)" <wilton@???



Neither it this. I have no idea what happened here but somehow its lost
the ">" at the end.


You can have one of the following (but not both) forms:


From: "arbitarary text" <valid@???>

or

From: valid@??? (arbitrary text)


Note that the second form is often rewritten to the first by many modern
apps..

>
> I know that's probably what the RFC says it should do, but is there any
> way to display extra text like this at the end of the line? I've seen
> the recent discussion of how to add extra X- headers for this sort of
> thing, but I'm sure most users never look at them, so I'd like to put it
> right there on the end of the From line. Any ideas how to make that
> happen? Thanks.


Non any way which doesnt directly breaks the RFCs, no. And whats to stop
someone from forging such a header, anyway?


>
> Russ
>
> --
> Russell D. Wilton                     E Mail: WILTON@???
> Network Services Manager              Voice:   (403) 329-2525
> University of Lethbridge              FAX:     (403) 382-7108
> 4401 University Drive   Lethbridge, Alberta, CANADA   T1K 3M4

>
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>
>