On 6/16/2015 10:21 AM, Michael Peter wrote:
> Hi,
> 
> I have question about postfix logfile (/var/log/maillog), Does The log
> mention the "from email header" or the "return-path email header" in the
> log file ?
> 
> Jun 16 16:17:43 mailhost postfix/qmgr[12095]: CB992123F1B1:
> from=<send...@domain.com>, size=2639, nrcpt=1 (queue active)
> 
> Example:
> Return-Path: <send...@domain.com>
> From: <send...@domain.com>
> 
> Because it seems that some times the "from address" mentioned in the log
> file is different that the from header which is actually in the email
> itself.
> 
> Thank you.
> 
> Peter Michael
> 


The log records the envelope sender as given in the MAIL FROM
command during the SMTP conversation.  This is recorded before any
headers are transmitted by the client.



  -- Noel Jones

Reply via email to