I currently relay all my cPanel (exim) outbound emails through my Postfix server. However, postfix seems to remove some important part in the header that exim added before sending to relay. As example, exim add in the headers the path of the PHP script that send the email, or the unix user ID of the sender.
Anyone know how to stop postfix relay from removing those important header part ?
Here is an example of headers part that is removed by the postfix relay :
X-PHP-Script: www.website.com/user/email/index.php for 1.1.1.1
X-AntiAbuse: This header was added to track abuse, please include
it with any abuse report
X-AntiAbuse: Primary Hostname - server.website.com
X-AntiAbuse: Original Domain - website.com
X-AntiAbuse: Originator/Caller UID/GID - [99 32003] / [47 12]
X-AntiAbuse: Sender Address Domain - www.website.com
X-Source:
X-Source-Args: /usr/local/apache/bin/httpd -k start -DSSL
X-Source-Dir: website.com:/public_html/website/email
Thanks,
Karl