We have modifed the Return-Path: and Reply-To: sections of our email by doing the following:
/etc/postfix/main.cf
smtp_generic_maps = hash:/etc/postfix/generic
/etc/postfix/generic
[email protected] [email protected]
[email protected] [email protected]
before adding this we get
Return-Path: <[email protected]>
Authentication-Results: mta1087.mail.ir2.yahoo.com
[email protected] header.s=mail dkim=pass (ok);
spfDomain=mainserver.com spfResult=none;
dmarc=pass(p=none sp=quarantine dis=none) header.from=relay.com
Received-SPF: none (domain of mainserver.com does not designate permitted sender hosts)
after:
Return-Path: <[email protected]>
Authentication-Results: mta1129.mail.ir2.yahoo.com
[email protected] header.s=mail dkim=permerror (bad sig);
spfDomain=relay.com spfResult=pass;
dmarc=pass(p=none sp=quarantine dis=none) header.from=relay.com
Received-SPF: pass (domain of relay.com designates xx.xx.xx.xx as permitted sender)
This change is causing our DKIM to get permerror (bad sig) is there a fix for this or another approach?