> is it possible to configure Postfix stmp daemon to add in its log the value 
> of a specific header? 

If I understand the question correctly. To show headers for smtp "outgoing" 
emails in logs use smtp_header_checks, but for headers in smtpd "incoming" 
emails use header_checks.

   http://www.postfix.org/header_checks.5.html
   http://www.postfix.org/postconf.5.html#header_checks
   http://www.postfix.org/postconf.5.html#smtp_header_checks

For example, to show the From and Subject headers on "incoming" emails do 
something like

   /etc/postfix/main.cf:
      header_checks = pcre:/etc/postfix/header_checks

   /etc/postfix/header_checks:
      /^From:/                          INFO
      /^Subject:/                       INFO

Reply via email to