1

Topic: DKIM Entry for new added domains

How can we add new DKIM entries when the domains are added using postfixadmin?

Is the following correct procedure? What will happen if I do not add DKIM entries?

-----------------------------------------------------------

1. Generate the new key.

cd /var/lib/dkim/
amavisd genrsa xyz.com.pem
chmod 0644 xyz.com.pem

2. Add it to your amavisd.conf file:
Search for "# Add dkim_key here.", and add it alongside the others, preferably in alphabetic order so you can find it faster.

dkim_key("xyz.com", "dkim", "/var/lib/dkim/xyz.com.pem");

3. Add your new domain to @local_domains_maps in amavisd.conf. The line should now read something like this:

@local_domains_maps = ( [".$mydomain", "firstdomain.com", "xyz.com"] );  # list of all local domains

4. Restart amavisd

/etc/init.d/amavisd restart

2

Re: DKIM Entry for new added domains

Steps are correct.

You should know what DKIM is used for:
http://en.wikipedia.org/wiki/DomainKeys_Identified_Mail

3

Re: DKIM Entry for new added domains

Thank you very much for your quick response.  I was able to add the keys and TXT record in the DNS.

Is there any drawbacks of using DKIM? Or it is just added security thing for EMAILS.

Richard

4

Re: DKIM Entry for new added domains

It's better for others to ACCEPT your emails.

5

Re: DKIM Entry for new added domains

Thanks  for sharing info..

it helped a lot