Hi,
I have a VPS with CPanel on it and about 50 domains (all owned by me).
I'm having an issue with dkim/dmarc validation for e-mails sent by PHP. At the same time Webmail and SMTP clients don't have the problem.
The issue is that, regardless of what domain is sending the e-mails (ex. mysite.com), Exim sets the Return-Path, the envelope, and the DKIM signature on the root domain (ex. vps.myvpsdomain.com) and my CPanel username (ex. [email protected]). That makes the e-mail DMARC validation fail due to the fact that the DKIM is using a different domain than the domain used in the From header.
My setup:
The headers from an e-mail sent by webmail -> - Removed -
I have a VPS with CPanel on it and about 50 domains (all owned by me).
I'm having an issue with dkim/dmarc validation for e-mails sent by PHP. At the same time Webmail and SMTP clients don't have the problem.
The issue is that, regardless of what domain is sending the e-mails (ex. mysite.com), Exim sets the Return-Path, the envelope, and the DKIM signature on the root domain (ex. vps.myvpsdomain.com) and my CPanel username (ex. [email protected]). That makes the e-mail DMARC validation fail due to the fact that the DKIM is using a different domain than the domain used in the From header.
My setup:
The headers from an e-mail sent by php -> - Removed -PHP Version: 5.5.30
PHP 5 Handler: suphp
Apache suEXEC: on
Apache Ruid2: off
Apache MPM: prefork
The headers from an e-mail sent by webmail -> - Removed -
Last edited by a moderator: