Community

Message not signed with DKIM

Dv
DvLord #1

No matter what I do, mail-tester never reports that my message is DKIM signed. And my mails don’t deliver to Gmail at all. I’ve even deleted and re-added the website but still no joy. Someone help me please.

Dv
DvLord #3

I manage on Cyberpanel. And I think my settings are correct according to Mxtoolbox. I just don’t know why my emails are not DKIM signed.

RM
Rana Muhammad Usman Nasir #9

Give me output of these 2 (frist go to cd /etc/opendkim)

cat KeyTable
cat SigningTable

then what do you have in ls -la /etc/opendkim/keys

Also output of opendkim -n

RM
Rana Muhammad Usman Nasir #11

Go on command line and run

journalctl -f | grep opendkim

Then send email from snappy mail, do you get an output like

root@cyberpanel:~# journalctl -f | grep dkim
Jan 10 10:49:17 cyberpanel.net opendkim[579]: 3447740AAD: DKIM-Signature field added (s=default, d=wpmautic.net)

?

RM
Rana Muhammad Usman Nasir #13

It means messages are not being signed…

What if you do same procedure with

journalctl -f | grep postfix
RM
Rana Muhammad Usman Nasir #15

I see, it seems that connection to opendkim milter is being refused as you can see on second line.

what is content of /etc/opendkim.conf ?

Also check if any process using port 8891 ?

Dv
DvLord #16

how can I check any process using 8891?

RM
Rana Muhammad Usman Nasir #18
Syslog			yes
SyslogSuccess		yes

Canonicalization	relaxed/simple
OversignHeaders		From


UserID			opendkim
UMask			007

Socket  inet:8891@localhost

PidFile			/run/opendkim/opendkim.pid


TrustAnchorFile		/usr/share/dns/root.key

Mode	sv
Canonicalization	relaxed/simple
KeyTable	refile:/etc/opendkim/KeyTable
SigningTable	refile:/etc/opendkim/SigningTable
ExternalIgnoreList	refile:/etc/opendkim/TrustedHosts
InternalHosts	refile:/etc/opendkim/TrustedHosts

Make the file look like this then restart opendkim systemctl restart opendkim also restart postfix, then check.

Dv
DvLord #19

I did as you asked me to, but somehow email delivered to Gmail spam, mail-tester also reported DKIM isn’t signed yet, also I get this on my terminal

RM
Rana Muhammad Usman Nasir #20

You can contact our support here. Looks like your OpenDKIM service is not working as it should.

Dv
DvLord #21

Okay. Thanks

Sign in to reply