DKIM rejecting email from root

8 posts / 0 new
Last post
#1 Thu, 11/11/2010 - 16:46
mdtiberi

DKIM rejecting email from root

After installing DKIM many of my cron jobs that send out email notices are being rejected by DKIM. Any idea on how to fix this?

Thanks

(I replaced my domain name with "FQDN" in the message below)

Nov 11 14:12:00 ns1 postfix/cleanup[30976]: 2D03B1348066: milter-reject: END-OF-MESSAGE from localhost[127.0.0.1]: 4.7.1 Service unavailable - try again later; from=<root@FQDN> to=<root@FQDN>

Tue, 11/16/2010 - 12:39
mdtiberi

Still checking for a possible solution. Any ideas?

Fri, 01/07/2011 - 14:26
jmunjr

I too am having this problem. all outgoing mail is sent find except when it is from root/localhost... Thus I am unable to get log reports, alerts etc emailed to me...

Thoughts ?

Sat, 01/08/2011 - 00:49
Sun, 01/09/2011 - 10:26
Coolist

I have this exact problem, and that post above didn't help^ Is there anyway to fix it within Virtualmin?

Jan  9 16:12:18 Main dkim-filter[4198]: 045ECD13E9 no key selected for signing
Jan  9 16:12:18 Main postfix/cleanup[2901]: 045ECD13E9: milter-reject: END-OF-MESSAGE from localhost[127.0.0.1]: 4.7.1 Service unavailable - try again later;
Sun, 01/09/2011 - 11:11
Coolist

Oh just kidding. I uncommented the following:

KeyList /etc/dkim-keys.conf

And restarted. It seems to work now.

EDIT: I still get this though:

Jan  9 16:50:31 Main postfix/cleanup[3106]: warning: connect to Milter service inet:localhost:8891: Connection refused

Is that a problem?

EDIT again:

Commented out:

#KeyList /etc/dkim-keys.conf

And changed /etc/default/dkim-filter to

DAEMON_OPTS="-b sv"
SOCKET="inet:8891@localhost"

No errors this time :D

Sun, 01/09/2011 - 14:05
jmunjr

Where is this line(what file)?

KeyList /etc/dkim-keys.conf

and where did you make these changes(what file)?

DAEMON_OPTS="-b sv" SOCKET="inet:8891@localhost"

Tue, 01/25/2011 - 14:09 (Reply to #7)
sonoracomm

On Centos 5:

/etc/sysconfig/dkim-milter

contains:

EXTRA_FLAGS="-b sv"

SOCKET=inet:8891@localhost

On Debian-based, it's probably in /etc/default/.

G

Topic locked