Re: [EXIM] Trouble with "From ..."

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: Joerg Plate
CC: exim-users
Sujet: Re: [EXIM] Trouble with "From ..."
On 29 Jan 1998, Joerg Plate wrote:

> > Sending a line starting with "From " is not a valid SMTP command.
> I know... but I didn't say exactly what I have done.
>
> --cut-here--
> helo psyche
> mail from: plate@psyche
> rcpt to: plate@psyche
> data
> From foobar 08:15 4711
> Received: ...
> Subject: ...
> From: ...
>
> for bar baz :-)
> .
> quit
> --cut-here--


> "Fetchmail" feeds something like that to exim via port 25.


Well, that's wrong. What comes after the DATA command is a message
formatted according to RFC 822. The sender of the message is given in
the MAIL FROM line, so there is no need for the "From " which is used in
the UUCP world to contain the sender.

> BTW: my problem is solved. Now I use
>    mda "/usr/sbin/exim -bm %T"
> in my "~/.fetchmailrc" and it is working :-)


That sounds like the right way to do it.

-- 
Philip Hazel                   University Computing Service,
ph10@???             New Museums Site, Cambridge CB2 3QG,
P.Hazel@???          England.  Phone: +44 1223 334714



--
*** Exim information can be found at http://www.exim.org/ ***