Comments on Set Up DKIM On Postfix With dkim-milter (CentOS 5.2)

Set Up DKIM On Postfix With dkim-milter (CentOS 5.2) DKIM is an authentication framework which stores public-keys in DNS and digitally signs emails on a domain basis. It was created as a result of merging Yahoo's domainkeys and Cisco's Identified Internet mail specification. It is defined in RFC 4871. We will be using the milter implementation of dkim http://dkim-milter.sf.net on CentOS 5.2.

7 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Zak Kinion

Lets say if my server is an A entry and MX entry,  mailcenter.pokermac.com.ar   and is on a seperate server than pokermac.com.ar,  do I need to setup the dkim key as a subdomain, since [email protected] is where the mail is actually sent from?

 

 Like

_ssp._domainkey.yourdomain.com TXT t=y; o=-
default._domainkey.yourdomain.com TXT v=DKIM1; g=*; k=rsa; .....

 Is there like _ssp._domainkey.mailcenter.pokermac.com.ar    or should I use:

 _ssp._domainkey.pokermac.com.ar  ????

 

 

By: orefalo

It does work, but you have to be careful about the certificate names, check the scripts and you will soon figure it out

By: Pamie

Can you elaborate the entire steps , 

I have minutely followed the above instructions but still it wont work.

Thank you.

By: Aguilar

Thank you very much for this tutorial, i followed this instructions and worked perfectly, i need this to participate of Yahoo Complaint Feedback

By: peter

Hi, I'm on centOS 5.3.  First of all my request is to also be clear how to specify the DNS for thos of us who don't host our own DNS (I have mine with name.com) - because when we input our txt fields there is no place to put "ssp" or "default" I think.  

 I've followed the instructions to the end, but unfortunately when I do 'service dkim-milter start' I get

 Starting DKIM milter (dkim-filter #0): dkim-filter: smfi_opensocket() failed                                                          [FAILED]

 Do I also need to open up another port manually?

 Thanks for your help!

By: Wosley

Hello to all,

First, big thanks for the tutorial.

I`ve fallow all steps but in the end i`ve got stuck with this:

Feb 18 15:07:56 **** postfix/cleanup[21151]: warning: cannot receive milters via service cleanup socket socket
Feb 18 15:07:56 **** postfix/smtpd[21143]: warning: premature end-of-input on public/cleanup socket while reading input attribute name
Feb 18 15:07:56 **** postfix/smtpd[21143]: warning: cannot send milters to service public/cleanup socket
Feb 18 15:07:56 **** postfix/smtpd[21143]: BA976B1D3D0: client=unknown[192.168.1.103], sasl_method=LOGIN, sasl_username=johndoe
Feb 18 15:07:56 **** postfix/master[21136]: warning: process /usr/libexec/postfix/cleanup pid 21151 killed by signal 11
Feb 18 15:07:56 **** postfix/master[21136]: warning: /usr/libexec/postfix/cleanup: bad command startup -- throttling
 

 If other ppl get the same errors maybe some clarification will be welcome on this tutorial.

Best regards,

By: Marvin Yoingco

I resolved this issue by disabling SELinux. Here's the link on how to do this. http://www.electrictoolbox.com/switch-off-selinux-centos-5/

 It seems that SELinux is blocking the access to the said interface:port.