[exim] DKIM: signing failed (RC -101)

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Ramana Kumar
Date:  
À: exim-users
Sujet: [exim] DKIM: signing failed (RC -101)
Dear Exim Users,

I have the following setup in exim.conf:

remote_smtp:
driver = smtp
dkim_domain = xrchz.net
dkim_selector = exim
dkim_private_key = /etc/ssl/private/dkim.private.key

ramana@xrchz ~ % ls -lh /etc/ssl/private
total 4.0K
-r-------- 1 exim exim 916 Aug 21 14:10 dkim.private.key
ramana@xrchz ~ % ls -lh /etc/ssl/private/dkim.private.key
-r-------- 1 exim exim 916 Aug 21 14:10 /etc/ssl/private/dkim.private.key

ramana@xrchz ~ % ps -ef | grep exim
exim     26604     1  0 Aug19 ?        00:00:00 /usr/sbin/exim -bdf -q30m


I am simply using exim for email forwarding (with a .forward file in my
home directory) at the moment.
Whenever I forward a message, I get three lines like this in the logs:
2012-08-21 23:33:43 1T3xx8-0000E6-BD DKIM: signing failed (RC -101)
2012-08-21 23:33:43 1T3xx8-0000E6-BD DKIM: signing failed (RC -101)
2012-08-21 23:33:43 1T3xx8-0000E6-BD DKIM: signing failed (RC -101)

What does RC -101mean? I think it means Exim couldn't read my private key
or something is wrong with my private key.

How can I debug this error?

The private key file looks like:
-----BEGIN PRIVATE KEY-----
MIIC....stuff including characters and newlines...
...
...Bu5g==
-----END PRIVATE KEY-----

Thanks,
Ramana