on what DNS zone should the DKIM key be added? ON every domain that has an email-account or just on the domain that hosts the e-mail server?
Edit: My mailserver is mail.example.com so i added the record as dkim._domainkey.example.com. I ran amavisd teskeys and got a PASS. However, I didn't select DKIM during installation. Is there any manual procedure I need to enable in the configuration to make this work? And how can I verify this?
I poked around i amavisd and found these two lines:
$enable_dkim_verification = 0; # enable DKIM signatures verification
$enable_dkim_signing = 0; # load DKIM signing code, keys defined by dkim_key
I guess they need to be turned on? (set to 1)
editagain . OKay i found in another forum post that my assumptions where correct. Using centos 6.2 i'vew also made sure that perl-mail-SPF and perl-Mail-DKIM where installed. Now I just need to verify that it is working.
lastedit:
Nevermind. I figured it out and verified it by sending e-mail to my gmail account and gmail noted it as "signed by <mydomain".