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: <r...@google.com <mailto:r...@google.com>> > 250 2.1.0 Ok > RCPT TO: pa...@example.com <mailto:pa...@example.com> > 250 2.1.5 Ok > DATA > 354 End data with <CR><LF>.<CR><LF> > From: j...@mailtest.example.com <mailto:j...@mailtest.example.com> > To: pa...@mailtest.example.com <mailto:pa...@mailtest.example.com> > 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