I have a customer that uses a mail form in PHP to send e-mails as a different e-mail account (from address changed).
He used the header "Sender" with his own domain to show "in behalf of <domain>", but my cPanel server seems to be removing that line from the headers, and writing my hostname instead of his own domain.
On the linen X-PHP-Script and X-Source-Dir the domain is shown correctly, but it seems that GMail and Outlook reads the line saying X-Get-Message-Sender-Via or X-AntiAbuse: Sender Address Domain (not sure which one) which shows my hostname.
Is there some tweak to make my cPanel server show the originating domain from X-PHP-Script instead of my hostname?
He used the header "Sender" with his own domain to show "in behalf of <domain>", but my cPanel server seems to be removing that line from the headers, and writing my hostname instead of his own domain.
On the linen X-PHP-Script and X-Source-Dir the domain is shown correctly, but it seems that GMail and Outlook reads the line saying X-Get-Message-Sender-Via or X-AntiAbuse: Sender Address Domain (not sure which one) which shows my hostname.
Is there some tweak to make my cPanel server show the originating domain from X-PHP-Script instead of my hostname?
Last edited: