Questions tagged [opendkim]

Open source implementation of the DKIM (Domain Keys Identified Mail). The capabilities include signing and verifying DKIM signature of the email.

OpenDKIM is an open source implementation of the (Domain Keys Identified Mail) sender authentication system standardized by the IETF (RFC6376). The project started from a code fork of version 2.8.3 of the open source dkim-milter package,

OpenDKIM capabilities was including signing and verifying DKIM signature of the email. The package consists of a library that implements the DKIM service and a milter-based filter application that can plug in to any milter-aware MTA such as and .

The documentation of command line options can be found in this page.
The documentation of opendkim.conf configuration file can be found in this page.

154 questions
20
votes
8 answers

Can't change OpenDKIM socket in Debian stretch in /etc/default/opendkim

I am trying to set up opendkim on Debian stretch but I fail at changing the socket. I want to change the socket to /var/spool/postfix/opendkim/opendkim.sock so I can use it with postfix. I have added Socket…
lw1.at
  • 671
  • 1
  • 5
  • 11
11
votes
4 answers

Is _ (underscore) illegal in a CNAME record?

We're having trouble creating the long TXT record for the DKIM key on the web interface on our hoster. Each line can only accept 256 characters. We tried multiple lines, then tried adding (" at the first and ") after the last as some suggest.…
Lenne
  • 917
  • 1
  • 12
  • 30
9
votes
1 answer

OpenDKIM not signing mail

So I'm having trouble with getting OpenDKIM to sign my messages, but I'm hitting a wall as to what might causing it: On Debian Jessie, with Postfix and OpenDKIM. My /etc/opendkim.conf: Syslog yes SyslogSuccess Yes LogWhy…
anark10n
  • 153
  • 1
  • 3
  • 12
9
votes
4 answers

no signing table match in OpenDKIM

I have OpenDKIM installed on CentOS. I am using postfix as MTA and dovecot for IMAP/POP3. Now the problem is am trying to setup DKIM for my domain. The mails are send from a sub domain mail.example.com. The issue is that mails are not being signed…
Amal
  • 291
  • 1
  • 2
  • 9
8
votes
1 answer

opendkim-testkey: key not secure, but dnssec is ok

I'm trying to setup opendkim, but I get this result: # opendkim-testkey -vvvv -d my.example.com -s 201702 opendkim-testkey: using default configfile /etc/opendkim.conf opendkim-testkey: checking key…
Lenne
  • 917
  • 1
  • 12
  • 30
8
votes
1 answer

OpenDKIM not signing outgoing mail

I'm trying to setup OpenDKIM on my mailserver running Debian and Postfix. This is the configuration I've done: Generated two keys (for two domains I need to send mail for) Configured KeyTable, SigningTable and TrustedHosts…
Compizfox
  • 375
  • 1
  • 6
  • 17
8
votes
2 answers

DKIM not signing with alias addresses - not internal, not authenticated

I have postfix, dovecot, opendkim and postsrsd installed. I am trying to forward mail from alias@example.com to myemail@gmail.com, and have them signed with DKIM. I use postsrsd in order for the SPF record to pass for the forwarded emails. However,…
user2370460
  • 203
  • 3
  • 6
7
votes
1 answer

Connect to Milter service unix:/var/run/opendkim/opendkim.sock: No such file or directory

I've just been moving a postfix mail server to a different box, and I'm having trouble getting postfix to talk opendkim via a unix socket. The opendkim socket is located at /var/run/opendkim/opendkim.sock: srwxrwxr-x 1 opendkim opendkim 0 Aug 14…
starbeamrainbowlabs
  • 323
  • 1
  • 6
  • 16
7
votes
3 answers

Postfix - Opendkim - Unable to connect to local socket

I am getting denied errors when postfix tries to connect to the unix socket for opendkim, actual error: Sep 24 15:41:43 service-a-4 postfix/cleanup[17414]: warning: connect to Milter service unix:var/run/opendkim/opendkim.sock: Permission…
Mike Purcell
  • 1,688
  • 7
  • 30
  • 53
6
votes
4 answers

postfix: milter-reject: END-OF-MESSAGE from ...: 4.7.1 Service unavailable (opendkim)

I configured OpenDkim to work with postfix and I'm getting the following error when I try to send mail out: postfix/cleanup[11542]: 40F271A291A: milter-reject: END-OF-MESSAGE from ***[***]: 4.7.1 Service unavailable - try again later;…
Chazy Chaz
  • 329
  • 1
  • 5
  • 15
6
votes
1 answer

opendkim fail | bad RSA signature | verification failed unprotected key

I have fully manageable VPS running Ubuntu 14.04 which hosts websites for several domains. Recently I have tried to add DKIM signatures to avoid spam filters. I've followed ubuntu-postfix-dkim tutorial, using KeyTable and SigningTable as explained…
6
votes
1 answer

opendkim configuration not loading properly

When moving from Ubuntu 12.04 to 14.04, opendkim no longer starts with the same config I had prior. Any item I have in /etc/default/opendkim shows up as "not found" when booting. /etc/init.d/opendkim: 6: /etc/default/opendkim: Syslog: not…
stagl
  • 161
  • 4
5
votes
1 answer

Why doesn't dkim sign the letter?

I have configured DKIM: Dec 27 11:10:03 mailer opendkim[378]: OpenDKIM Filter v2.11.0 starting (args: -x /etc/opendkim.conf) Dec 27 11:10:10 mailer postfix/postfix-script[551]: warning: symlink leaves directory: /etc/postfix/./makedefs.out Dec 27…
Oleksandr
  • 161
  • 6
5
votes
1 answer

opendkim-testkey: key not secure

I set up Opendkim milter to work with postfix on my machine. Now email is signed & verified correctly i.e. email source code shows DKIM-Signature header. TXT record on the authorative dns is set up like this: ┌───┐ │ # │ root > server > ~ └─┬─┘ …
71GA
  • 313
  • 3
  • 8
4
votes
2 answers

opendkim error loading key

I am having a hard time in debugging this error: Syslog: Apr 24 06:18:08 abcex opendkim[24223]: abcex: key data is not secure: /etc/opendkim/keys/abcex.private Apr 24 06:18:08 abcex opendkim[24223]: 28E1C29C5FB: error loading key 'abcex' pr 24…
Optionfan Bob
  • 41
  • 1
  • 1
  • 2
1
2 3
10 11