Linode Forum
https://forum.linode.com/

DKIM signing for different domain
https://forum.linode.com/viewtopic.php?f=11&t=11285
Page 1 of 1

Author:  thebends [ Fri Sep 05, 2014 8:16 am ]
Post subject:  DKIM signing for different domain

Hi All,

I have the following situation : I want to send mail that is displayed as from domain X.com but is actually sent from domain Y.com (they are on different IPs)

So an email header would be :

From : X.COM <noreply@Y.com>
Return-Path : <bounce@Y.com>

SPF is working however dkim show as "none".

If I set "from" to noreply@Y.com then dkim passes.

I tried adding a TXT record under domain Y.com via the DNS manager :

name._domainkey.x.com

To no avail.

Any advice strongly appreciated.

(Both domains are mine, I'm not spoofing emails !!)

Author:  Main Street James [ Fri Sep 05, 2014 11:46 am ]
Post subject:  Re: DKIM signing for different domain

Have you added a DKIM record for X.com?

Author:  thebends [ Fri Sep 05, 2014 5:13 pm ]
Post subject:  Re: DKIM signing for different domain

Yes there is a dkim record on the server that X.com is on. Should I add one on the server that Y.com is on too ?

Author:  Main Street James [ Fri Sep 05, 2014 6:44 pm ]
Post subject:  Re: DKIM signing for different domain

One for each can't hurt. Obviously it's not finding the one it wants.

Author:  thebends [ Fri Sep 05, 2014 9:29 pm ]
Post subject:  Re: DKIM signing for different domain

but X.com is on a totally different server (not even a linode server).

Please provide more details regarding your suggestion.

Author:  thebends [ Sat Sep 06, 2014 6:38 am ]
Post subject:  Re: DKIM signing for different domain

I got it working by manually copying the public and private keys for X.com from the server that X.com is on to the server that Y.com is on.

For a cpanel based server these are in :

/var/cpanel/domain_keys/private
/var/cpanel/domain_keys/public

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/