NixUser

NixUser.com | Unix User | Linux User | NixUser

add subject to postfix maillog

How to add header subject in postfix

  If you want to add subject in the postfix log files, add the following in main.cf file at the bottom.   vi /etc/postfix/main.cf   header_checks = regexp:/etc/postfix/header_checkssmtp_header_checks = regexp:/etc/postfix/header_checks   And add the lines below in /etc/postfix/header_checks files, create the file if it’s not already there.   /^subject:/ WARN/^X-PHP-Originating-Script:/ WARN   Now restart postfix More