HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   Postfix and Dkim (http://www.howtoforge.com/forums/showthread.php?t=59335)

joemiller 31st October 2012 17:24

Postfix and Dkim: Solved
 
Hi, I'm running a Centos 6.3 and ispconfig 3 mailserver. I've installed postfix, dovecot and squirrelmail, which are all running fine. I'm trying to get opendkim working with postfix. I have got openskim to generate a dkim signature, which is added to outgoing emails, and also added the corresponding dns entry to match it.
However, when I check the dkim entries with http://www.brandonchecketts.com/ is says:
result = fail
Details: bad RSA signature
This is confirmed by sending emails through my hotmail account, and looking at the source. A quick check here shows that the public and private keys are correct, but they're not getting matched for the message. I'm assuming that the message is getting altered by some process after the dkim header has been added, but I'm at a loss to work out where that's happening, and what to do about it.
Can anyone here shed any light on this problem?
Many thanks.

joemiller 1st November 2012 09:22

Problem solved. I was sending blank emails to the verifiers, and, I presume, postfix was adding something in the body. If I send a filled-out email, then they all pass. Also had a problem with the incorrect system time generating errors, which I've now fixed by synchronising the system time.

thanks for looking at my post.


All times are GMT +2. The time now is 17:58.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.