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
bounce@mainserver.com bounce@relay.com
admin@mainserver.com admin@relay.com
before adding this we get
Return-Path: <bounce@mainserver.com>
Authentication-Results: mta1087.mail.ir2.yahoo.com
header.i=@relay.com 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: <bounce@relay.com>
Authentication-Results: mta1129.mail.ir2.yahoo.com
header.i=@relay.com 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?