Closed ahmetertem closed 1 year ago
I could be wrong but I think there is no mechanism to do that, it's not designed this way. For google DKIM records are certainly created for your domain, see here I do not think there is a way around it.
I wasn't sure about is it good idea or not but I'll do if I need to. Thank you @AndrewSav
Classification
Reproducibility
Description
I've setup the mailserver to example.com and
MAILSERVER_HOSTNAME=cust
and my PTR iscust.example.com
(checked and confirmed).And added a new domain anotherdomain.com. anotherdomain.com's DNS records is contains
I can send email from it but it's not DKIM signing.
When I add domain to env file
ADD_DOMAINS=anotherdomain.com
it's creating a new public and private keys. It's also works too but when I send email from anotherdomain.com it's signing it's own keys.My question is how can I use same key from cust.example.com to anotherdomain.com ? Or; is it right thing the do ?
Mail systems like google or yandex is only tells you to add mx and spf record only. I don't want to add another DNS records to all other domains except main domain.
Thank you