I have installed Exim 4.71 with DKIM support succesfully, using custom_build The configuration file exim.conf is not altered (which is a good thing). Exim 4.71 with the old config is running without problems.
I will now describe the things I have done so far to get dkim working. Please let me know if these steps are ok/not ok, so i wont mesh things up when it goes into production.
1. I have generated a key in /etc using "openssl genrsa -out /etc/dkim.key 1024"
2. Generated a public key in etc using "openssl rsa -in /etc/dkim.key -out /etc/dkim.public -pubout -outform PEM"
3. removed the begin and end tags in the dkim.public and removed the linebreaks.
4. i am going to add this line in the DNS record:
5. i am going to add these lines in exim.conf
Will everything be ok with this setup?
Most things I described above are from this site:
http://atmail.com/kb/2008/installing-dkim-for-outbound-messages/
I will now describe the things I have done so far to get dkim working. Please let me know if these steps are ok/not ok, so i wont mesh things up when it goes into production.
1. I have generated a key in /etc using "openssl genrsa -out /etc/dkim.key 1024"
2. Generated a public key in etc using "openssl rsa -in /etc/dkim.key -out /etc/dkim.public -pubout -outform PEM"
3. removed the begin and end tags in the dkim.public and removed the linebreaks.
4. i am going to add this line in the DNS record:
Code:
mail._domainkey.yourdomain.com. IN TXT "v=DKIM1; g=*; k=rsa; p=MIGfMA0GCSqGSIb3DQE..complete public key...KXaAKH1MH5I4y0+JsqQIDAQAB"
Code:
remote_smtp:
driver = smtp
#
dkim_domain=yourdomain.com
dkim_selector=mail
dkim_private_key=/etc/dkim.key
#
Will everything be ok with this setup?
Most things I described above are from this site:
http://atmail.com/kb/2008/installing-dkim-for-outbound-messages/