Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [opendkim]

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

0
votes
2answers
71 views

Tons of OpenDKIM Issues

I for the life of me cannot get OpenDKIM to work correctly. I can send and receive messages just fine with postfix and roundcube. I have tried tons of things to get this working. At this point, I am ...
0
votes
0answers
33 views

opendkim listen on ipv4 and ipv6 simultaneously

I am trying to set-up opendkim to listen to both (v4&v6) adresses, but was unable to get this running. Is this even supposed to work? Setting the SOCKET to either inet:8891@localhost or inet6:...
1
vote
0answers
46 views

Postfix: proper configurations - main.cf, DNS, DKIM

Inherited an Ubuntu server (12.04) running Postfix (2.9.6) that works as an outbound-only mail relay for a web application. Have got SPF and DMARC records entered in public DNS (Route53). Working to ...
0
votes
0answers
26 views

DKIM public key issue

I followed this tutorial to setup the DKIM signature on my CentOs 6.10 VPS. That tutorial is the most clear I found among many. The only thing they suggest that I have'nt done is the PostFix setup ...
1
vote
0answers
91 views

opendkim on lokal net not working

I have a assignment in school to setup bind9, postfix, spf, dkim and dovecot on the same machine for the address mcduckcorp.duckburg.cali on a Debian 9 OS. I have managed to setup bind9, postfix and ...
0
votes
1answer
50 views

DKIM public key & DKIM from DNS are the same but don't match because of spacing

Please take a look at this picture of mail-tester.com saying that Your DKIM signature is not valid. As you can see, the DKIM signature and public key are identical in term of text (characters) but ...
0
votes
0answers
44 views

opendkim: dkimf_db_get(): record not found

Where its wrong ? I am trying test opendkim signingtable like that: # opendkim -Q > file:/etc/postfix/dkim/signingtable > test@mail.mydomain.com/1 opendkim: dkimf_db_get(): record not found ...
1
vote
1answer
34 views

How mailchimp can sign email changing the domain and from header?

I've configured a SMPT server using postfix, dovecot, opendkim, openspf, openssl etc... I'm trying to figured out how mailchimp can send mails signed by their servers and deliver to recipients without ...
0
votes
1answer
80 views

OpenDKIM starts before MariaDB on Ubuntu 18.04

I installed OpenDKIM on Ubuntu Server 18.04, using it with Modoboa, so the config file contains DSN for KeyTable and SigningTable to connect to MariaDB. I noticed that the service always fails to ...
0
votes
1answer
220 views

can I use multiple selectors for opendkim?

I have 4 domains hosted on a single server. Should I use 4 separate dkim keys or one for all of them? Also as far as selectors go do I need to use the one specified in opendkim.conf or can/should I ...
0
votes
1answer
82 views

OpenDKIM Exited status and mysql plaintext passwords

On my VPS Debian Jessie, email server Postfix + Dovecot with user and password on MySQL, I've installed OpenDKIM, that use MySQL for keys too. If for some reason the server reboot, I can find every ...
1
vote
1answer
909 views

opendkim no signing table match for no signature data

I got an error when I try to install and config opendkim : no signing table match for 'contact@domain.com' no signature data opendkim.conf : # This is a basic configuration that can easily be ...
0
votes
1answer
270 views

OpenDKIM not signing mail sent to relay host with Ubuntu 18.04

I recently migrated a server from Ubuntu 14.04 to one running 18.04 but with the same mail setup. I simply copied over Postfix's main.cf and the contents of /etc/mail/opendkim over. The server is ...
2
votes
1answer
388 views

Opendkim: fail (signature doesn't verify)

I had generated my public and private key using opendkim-genkey: opendkim-genkey -s mail -d example.com It is supposed to be linked in the KeyTable file: /etc/opendkim$ cat KeyTable mail._domainkey....
0
votes
0answers
25 views

Centos 6.9 - DKIM - not autenticated

i have this error on postfix (Centos 6.9) May 21 17:41:48 mailer opendkim[1710]: OpenDKIM Filter v2.11.0 starting (args: -x /etc/opendkim.conf -P /var/run/opendkim/opendkim.pid) May 21 17:44:19 ...
0
votes
0answers
290 views

opendkim-testkey x._domainkey.x record not found

I've used two sets of instructions and scoured the internet to no avail. I always get the error opendkim-testkey: 'default._domainkey.mydomain.local' record not found https://wiki.debian.org/...
1
vote
1answer
979 views

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]: ...
0
votes
2answers
293 views

Postfix + opendkim + spamassin: messages are signed twice

I've got Postfix + spamassassin working already and I'm introducing opendkim. I'm almost there except outgoing messages are DKIM signed twice, which is not only useless but even makes them DKIM ...
0
votes
0answers
1k views

Opendkim fails to start on CentOS 7 (connect to Milter service inet:localhost:8891: Connection refused)

I've got issues with OpenDKIM not starting on my CentOS 7 (with Postfix) server since an update for OpenDKIM crashed a while ago. I've tried the following: service opendkim start Then it says: Job ...
0
votes
2answers
165 views

Make postfix/opendkim sign mail from all domains

So, at the moment I am signing mails from specific domains using opendkim and this works. But when I try to send mails from domains that opendkim does not know, they they are not signed. What I want ...
1
vote
1answer
512 views

Valid DKIM signature ramdomly fails to validate

The scenario: I have a couple email servers running on Debian behind a firewall, a public IP and I have properly setup my DNS records (MCX, DMARC, DKIM, SPF). This is an example of my DNS records (...
2
votes
1answer
331 views

opendkim-testkey returns “invalid data set type”, while if I specify domain and selector I got “Key OK”

I'm having the problem that opendkim testkey returns error "invalid data set type" unless I pass the domain and the selector to the command. Why does it happen? Details below: Without domain and ...
0
votes
1answer
994 views

OpenDkim-testkey record not found

trying this command after install opendkim and postfix opendkim-testkey -d aan-tsu.info -s default -v -v -v opendkim-testkey: checking key 'default._domainkey.aan-tsu.info' opendkim- testkey:...
0
votes
1answer
780 views

OpenDKIM Giving error of no key found

So I've setup OpenDKIM with Postfix and I can still send emails but when I do: opendkim-testkey -d example.com -s mail -vvv I get back: opendkim-testkey: using default configfile /etc/opendkim.conf ...
0
votes
1answer
412 views

Postfix extremely slow, lot of mail in maildrop

Im trying to figure out what's wrong with this cofiguration. I've got a lot of mails in /var/spool/postfix/maildrop (around 30k!) and those just dont get away. No error in the logs. If I try to ...
0
votes
1answer
227 views

Postfix not triggering OpenDKIM milter

I've been trying for a long time to start signing mail sent via postfix with opendkim. Looking at the logs, it looks like zero attempt is made to communicate with postfix: Aug 4 20:59:59 localhost ...
1
vote
2answers
1k views

Milter (opendkim): error connecting to filter: Connection refused by localhost

I'm on Ubuntu 16 LTS, trying to sign mail with opendkim and I'm getting: $ tail /var/log/mail.err ... Milter (opendkim): error connecting to filter: Connection refused by localhost I have sendmail ...
6
votes
1answer
3k views

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 ...
1
vote
1answer
164 views

DKIM check=pass but DomainKeys check=neutral

I got it to set up DKIM, I sent a test mail to check-auth@verifier.port25.com and reply was : SPF check: pass DomainKeys check: neutral DKIM check: pass SpamAssassin check: ham ...
0
votes
1answer
557 views

opendkim-genkey output for 2048 bits is done in three segments

I'm setting up a new email server and decided to up my DKIM to 2048 bits, which by studies is now the common value. Running opendkim-genkey, the output seems different than the old 1028 version. ...
1
vote
2answers
2k views

How can I test the DKIM configuration of my server (Postfix + OpenDKIM)?

I configured my server (Debian Jessie) and domain with DKIM. I installed OpenDKIM on my server, and followed this tutorial. I went to my domain provider, and set a new DNS TXT record for mail....
14
votes
7answers
7k views

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 ...
2
votes
2answers
5k views

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 ...
1
vote
2answers
316 views

Opendkim doesn't sign emails sending from external clients

I've setup opendkim with my sendmail and it looks like everything works correctly, but it signs only those messages that sent locally (from webmail client or automatic subscriptions). when I try to ...
1
vote
1answer
460 views

Outlook is rejecting emails without any notification

i have configured postfix with opendkim. Everything is working fine, I have tested DKIM records as well as DMARC and SPF, everything seems fine. I am also receiving emails on my gmail account in Inbox....
1
vote
1answer
189 views

Opendkim and Postfix: Not all outgoing mails are verified

I configured a send-only postfix server to send mails but don't listen to incoming connections from the outside world. I'm running a Grafana instance and postfix only exists so Grafana can send ...
1
vote
1answer
376 views

postfix relay with opendkim

i'm using opendkim + postfix as a MTA for my website , everything is working: mail are signed by DKIM , gmail mark them as "pass" the issue is when i'm using this config as a relay from another vm ( ...
0
votes
1answer
158 views

Adding DKIM DNS record - can something go wrong?

I have a working external managed mail system for our company domain. Additionally I am currently trying to setup a second mailserver (which I have control over) for the same domain with DKIM with ...
9
votes
4answers
5k views

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 ...
3
votes
0answers
1k views

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.domain.dom -s 201702 opendkim-testkey: using default configfile /etc/opendkim.conf opendkim-testkey: checking key '...
0
votes
0answers
3k views

postfix dkim=neutral reason=“invalid (public key: missing p= tag)” outgoing email not received

I use postfix to send outgoing emails ... a user does not receive sent posts ... when I sent same to my gmail account post does arrive in inbox ... yet below is what appears on Show Original ...
0
votes
3answers
1k views

OpenDKIM milter not signing relayed mail

I'm using OpenDKIM to sign mail on my Postfix server. It works as intended when sending with SMTPS from it's origin domain (let's say example.com). However, mail set out from SMTP clients on the LAN ...
0
votes
1answer
2k views

dkim verification keeps failing bad signature

My DKIM verification keeps failing, and I can't figure out why. It's signed though, but wrong. When I check domain and selector it turns out as valid, so problem is with signing. Here is a dump of ...
0
votes
0answers
258 views

opendkim - how to take action on incoming messages that should be signed?

How can I configure opendkim to quarantine or reject (incoming) unsigned messages that instead should be signed because a key is present in the DNS? opendkim.conf(5): On-NoSignature (string) ...
2
votes
4answers
803 views

How do I modify SELinux to allow OpenDKIM to write to /var/tmp?

I tried this answer (https://serverfault.com/a/744756/123651) but it still gives an error. Jan 7 23:56:33 ip-172-31-15-65 opendkim[24223]: AF15521407: dkim_eoh(): resource unavailable: can't ...
2
votes
0answers
47 views

Gmail blocking e-mail from my personal domain [duplicate]

For some reason Gmail has started blocking e-mail from my domain (flanigan.net). I have had DKIM (opendkim), DMARC (opendmarc), and SPF implemented for some time. I am not on any of the SPAM or ...
2
votes
0answers
36 views

Something is resetting my opendkim files (KeyTable and SigningTable)

Something is regularly resetting my /etc/opendkim/KeyTable and /etc/opendkim/SigningTable files. I have to manually re-edit them and restart opendkim every time... How to find out what is resetting ...
0
votes
2answers
540 views

Received spam spoofed from my domain is signed by opendkim, spf=pass by opendmarc

I've configured postfix with opendkim and opendmarc. Outgoing mail is signed correctly, and incoming mail appears to be validated (dkim, spf, dmarc) with one notable exception - anyone can connect to ...
0
votes
0answers
504 views

Problems with signing emails with OpenDKIM

I've installed OpenDKIM to sign the outgoing emails sent from Postfix mail server following this guidelines: https://help.ubuntu.com/community/Postfix/DKIM https://www.exratione.com/2014/07/setting-...
2
votes
1answer
6k views

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 openskim socket is located at /var/run/opendkim/opendkim....