On 10/21/2016 1:50 AM, Paweł Grzesik wrote: > Hi Noel, > > This is how I'm doing it: > > [user@mailtest ~]# telnet localhost 25 > Trying 127.0.0.1... > Connected to localhost. > Escape character is '^]'. > 220 mailtest.example.com <http://mailtest.example.com> ESMTP Postfix > HELO mailtest > 250 mailtest.example.com <http://mailtest.example.com> > MAIL FROM: <[email protected] <mailto:[email protected]>> > 250 2.1.0 Ok > RCPT TO: [email protected] <mailto:[email protected]> > 250 2.1.5 Ok > DATA > 354 End data with <CR><LF>.<CR><LF> > From: [email protected] <mailto:[email protected]> > To: [email protected] <mailto:[email protected]> > Subject: Testing SCAM > Text: ABC123 > . > 250 2.0.0 Ok: queued as 481D6C76B6
That's a header, not the body, and is not used for anything other than display in your mail client. Looks as if you've discovered that the From: header doesn't have any relation to the envelope sender. This is a basic feature and requirement of mail. -- Noel Jones
