Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
47 views

How to add your own private keys to postfix configuration for DKIM without opendkim or the likes of it?

I have generated the keys locally through openssl added key.pub to the DKIM DNS txt Record but how to add it to postfix withouth any other tool.Is there any connfiguration parameter where the file ...
Abu Shahrin's user avatar
0 votes
2 answers
63 views

OpenDKIM key data deemed insecure

An email is not being sent and being logged by Postfix with the following error default._domainkey.example.ws: key data is not secure: /etc/opendkim/keys/example.ws/default.private is in group 124 ...
Jerome's user avatar
  • 239
0 votes
0 answers
83 views

Your DKIM signature is not valid - opendkim

I'm running postfix server with few "features" like spf, dmarc and DKIM. SPF and DMARC works fine and when I sent an email to my gmail account I see they PASS, however DKIM shows "FAIL&...
kubn2's user avatar
  • 101
0 votes
1 answer
290 views

opendkim not singing my outgoing emails ubuntu 20.04

i'm following this tutorial to integrate opendkim and sign my emails,i'm not much in ubuntu but i configured everything as the tutorial but the emails is sent without dkim signing I'm hitting the wall ...
Amir Eix's user avatar
0 votes
2 answers
391 views

Forwarding email message breaks DKIM

I have problem with postfix, DKIM and forwarding messages. In almost every article about DKIM I’m reading that “if I do not modify any fields in message header, DKIM signature should still be valid ...
user71061's user avatar
  • 501
0 votes
1 answer
110 views

Something sends email to OpenDKIM even after purging it

I can't send email from my server using Postfix. The /var/log/mail.log has: postfix/local[1803]: 59367CDB9: to=<[email protected]>, orig_to=<opendkim>, relay=local, delay=0.03, delays=0....
Mohammed Baashar's user avatar
2 votes
2 answers
801 views

Add Multiple Subdomains In Signing Table And Key Table Opendkim

I need some major help adding multiple subdomains in the signing table and key table for opendkim without listing them one by one. If I have 50 subdomains I want to add, it will take me forever. I am ...
Digital Joe George's user avatar
0 votes
2 answers
485 views

Opendkim can not find domain key (No such file or directory)

I am building a mailserver with postfix, dovecot and opendkim using Ubuntu 22 LTS. Everything worked fine in my dev environment (same setup as far as I checked), but when I deployed it live, opendkim ...
Amauri Gabriel's user avatar
0 votes
1 answer
150 views

what comes first smtpd milters or cleanup in order of filtering in postfix?

Based on the documentation of the postfix (as stated here: 'https://www.postfix.org/SMTPD_PROXY_README.html') the smtpd milters should be used to filter the emails first and then the cleanup service ...
Ayush Gupta's user avatar
0 votes
1 answer
347 views

Milter Application Error Postfix Email Server

I am trying to sign the emails on my email server with opendkim but I am running against an error that I just can't seem to fix. The error I am getting is: warning: milter local:opendkim/opendkim.sock:...
Niels Koop's user avatar
0 votes
0 answers
56 views

What is behaviour of opendkim while verifying an email with multiple dkim signatures?

I am trying to implement DKIM verification using Opendkim and postfix. The doubt I am struck by is what will happen if the email has more than one DKIM signature and one of them fails (as like failed ...
Ayush Gupta's user avatar
0 votes
0 answers
101 views

Postfix not signing mail with OpenDKIM

Postfix is not signing outgoing mail with OpenDKIM despite giving no errors. My main.cf file readme_directory = /usr/share/doc/postfix inet_protocols = ipv4 meta_directory = /etc/postfix ...
root-louis's user avatar
-1 votes
1 answer
99 views

DKIM *seems* to be used as an open relay. Is this possible?

I'm running postfix with opendkim. My opendkim milter is running on port 10029. CORRECTION: My opendkim milter is running on a unix socket, and there is a DKIM content filter set up on port 10029. ...
HippoMan's user avatar
  • 230
3 votes
1 answer
519 views

How to make postfix sign non-delivery notifications with DKIM?

I have set up my "postfix" server to sign outgoing messages with DKIM and verified that it works correctly for SMTP users using authentication. However, "non-delivery notifications"...
mist's user avatar
  • 33
0 votes
1 answer
132 views

OpenDKIM & OpenDMARC on SLES 15 SP2

Hello is it possible to install OpenDKIM & OpenDMARC on SLES 15 SP2 through the default repository of OpenSUSE?
manwithamission's user avatar
0 votes
1 answer
99 views

OpenDkim - PHPMailer - Failure OpenDkim

my dkim configuration was working just fine. Im working with an email marketing app, pretty simple, normally i used to send the campaign with a Sender ID that is my domain company, and for the From ...
Luis Alfredo Serrano Díaz's user avatar
0 votes
2 answers
1k views

opendkim milter not launching on proper server socket

The following error impeded the restart of opendkim × opendkim.service - OpenDKIM Milter Loaded: loaded (/lib/systemd/system/opendkim.service; enabled; vendor preset: enabled) Active: failed ...
Jerome's user avatar
  • 239
-1 votes
1 answer
419 views

mail relay routing FROM domain with dkim

Current setup First of all i must say that im so so (read like "nothing know") in things like postfix or open dkim. We have many domains on our exchange (realy a lot). and thats work like &...
Dopler's user avatar
  • 1
2 votes
0 answers
385 views

OpenDKIM on MTA not signing mails from remote mail servers

I have a configuration where we have one MTA responsible for sending emails from a number of internal servers. The internal servers all run Postfix on a number of different domains. They are all ...
btongeorge's user avatar
0 votes
1 answer
1k views

How to correctly configure OpenDKIM with Postfix on Debian 11?

The desired settings are to create a multi domain mail server. This is my main domain example.com and this is my subdomain: mail.example.com Taking the rDNS as the following verifications: hostname -f ...
J. Mick's user avatar
  • 101
0 votes
1 answer
104 views

Postfix Sendonly Multiple Domains - smtp Auth for each domain?

My title pretty much sums it up I have recently setup a sendonly postfix server i used this guide https://www.linuxbabe.com/mail-server/postfix-send-only-multiple-domains-ubuntu#generate-dkim-keypair ...
Chayne's user avatar
  • 1
0 votes
1 answer
124 views

Postfix OpenDKIM unable to sign outbound email

I configured OpenDKIM following the guidelines here: https://www.linuxbabe.com/mail-server/setting-up-dkim-and-spf Rather than generate keys I used those already configured on our domain, that were ...
btongeorge's user avatar
1 vote
0 answers
99 views

Postfix: getting 50 or more copies of the same email from specific senders

I have a Postfix (2.10.1) / Dovecot server running on Centos 7. From specific servers I get about 50 copies of the same email every weekend, I tried a wireshark but it uses STARTTLS so its all ...
Jeremy's user avatar
  • 11
2 votes
1 answer
288 views

Postfix / OpenDKIM config on Centos8

I've setup Postfix with Dovecot as an integrated mail service for my SaaS app, it worked great as an inbox. The issue started when I started to send emails, it was not signed so I went ahead and ...
Marius Terblanche's user avatar
1 vote
0 answers
665 views

Why are my mails failling body hash verification?

Since a few weeks, mails sent via my mailserver at the-grue.de fail dkim authentification. That's very strange, because I'm not at all aware of any changes on my part... mxtoolbox checked the mail, ...
Markus Grunwald's user avatar
1 vote
3 answers
11k views

Can't open PID file /run/opendkim/opendkim.pid (yet?) after start: Operation not permitted

i am about 2 hours on configure dkim with postfix on ubuntu 20.04. I try absolutly everything, but dkim wont work. OpenDKIM-Service won´t start: root@mail:~# service opendkim status ● opendkim.service ...
nils50122's user avatar
5 votes
1 answer
964 views

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 ...
Oleksandr's user avatar
  • 161
1 vote
1 answer
694 views

OpenDKIM & Mailman

I have a small mail server based on Fedora with postfix, OpenDKIM, spamassassin and mailman. OpenDKIM signature for outgoing emails works OpenDKIM verification for incoming emails works When a DKIM ...
Matteo's user avatar
  • 477
1 vote
1 answer
1k views

Configuring postfix and opendkim socket value

I have the following line in my /etc/postfix/main.cf smtpd_milters=inet:127.0.0.1:8891 inet:127.0.0.1:8893 So then What should I put for Socket in /etc/default/opendkim or /etc/opendkim.conf ?
user17130130's user avatar
0 votes
1 answer
243 views

opendkim: Restore /etc/default/opendkim to original values

I accidentally overwrote my /etc/default/opendkim while changing the configuration. How can I restore it to the "factory defaults"? I already tried uninstalling and re-installing the package....
Yván Ecarri's user avatar
2 votes
1 answer
3k views

Is DKIM/ARC working properly on my Mailman server?

I've set up a Mailman 3 server with Postfix. I've configured Postfix to add DKIM headers using OpenDKIM and a test email from that server to a Microsoft-hosted email address suggests that DKIM is OK: ...
Philip Colmer's user avatar
2 votes
1 answer
4k views

OpenDKIM reports "signing table references unknown key" (CentOS 8)

I'm attempting to configure OpenDKIM with PostFix on CentOS 8. I've set the following in /etc/opendkim.conf: PidFile /run/opendkim/opendkim.pid Mode sv Syslog yes SyslogSuccess yes LogWhy yes ...
James Shields's user avatar
4 votes
1 answer
5k views

OpenDKIM ignoring hostnames and domains in trusted hosts file

According to http://opendkim.org/opendkim.conf.5.html, the ExternalIgnoredHosts and InternalHosts options support the same format as the PeerList option as follows: The set should contain on each ...
Bunny's user avatar
  • 101
0 votes
1 answer
437 views

Why is SELinux preventing opendkim from accessing private key files, and how do I fix it?

I'm trying to set up opendkim with Postfix (on CentOS). Having copied my known good private key into place, I'm seeing this: Nov 16 12:54:26 [host.domain] setroubleshoot[10093]: SELinux is preventing ...
MikeBeaton's user avatar
2 votes
0 answers
791 views

OpenDKIM doesn't reject unvalidated incoming emails

Last a few weeks I found that my OpenDKIM stopped rejecting incoming mails with no dkim-signature, bad-signature etc. Signing outgoing is OK, and according to the mail headers verifying provided, as ...
Ahmed's user avatar
  • 21
2 votes
1 answer
1k views

OpenDKIM not signing but no error

I've set up opendkim (2.10) with postfix on an ubuntu 16.04 host. According to the logs, all is fine (i.e., no errors), but mail isn't being signed. I can see that postfix is passing messages to ...
jma's user avatar
  • 445
0 votes
2 answers
1k views

stop opendkim from signing emails if it already has signature

I am signing all the emails for all domains that goes through my postfix MTA, but I need to custom sign some emails for some domain from my application, is it possible to stop opendkim from signing ...
Anil Bind's user avatar
1 vote
1 answer
1k views

intermittent DKIM failure

We have several email servers that send out legitmate email via PostFix and use openDKIM. Recently we've had some recievers claim the DKIM record can not be verified so we've tried various tools such ...
dan360's user avatar
  • 113
-2 votes
1 answer
801 views

My OpenDMARC is rejecting emails from firefox.com . Is their SPF record correct? Or am I wrong?

Why is opendmarc rejecting mail from firefox.com? It looks like their SPF record matches their sending address and does pass: v=spf1 mx a include:amazonses.com include:mail.zendesk.com -all /var/log/...
Andrew's user avatar
  • 145
3 votes
1 answer
6k views

OpenDKIM won't start: "opendkim: milter socket must be specified"

I'm trying to setup a server using postfix, dovecot, amavis and opendkim for signing. OpenDKIM won't start, here is the output of journalctl -xe, after stopping and starting opendkim: Jul 21 21:54:17 ...
UnlegitApple's user avatar
1 vote
0 answers
87 views

How do you diagnose the steps of opendkim

So I've been spending a few hours today upgrading the server I work on to sign emails with DKIM using opendkim and postfix. It actually works! The problem though is when I use a tool, such as the ...
Nate's user avatar
  • 11
2 votes
1 answer
517 views

DKIM set on AWS EC2 but mail header says none in Outlook

I'm configuring an AWS EC2 instance with Postfix, and have set it up with Route53 including reverse DNS. I've tested that I can send emails, and Outlook receives them fine, but Gmail does not. I ...
AndreasKralj's user avatar
0 votes
1 answer
2k views

DKIM/Postfix/Debian trouble: Postfix cannot connect to opendkim socket

Setup: Debian 10, postfix 3.4.7 and opendkim 2.11 (both installed from Debian's repositories). I followed Debian's instructions at https://wiki.debian.org/opendkim What looks like the culprit is the ...
Cal-linux's user avatar
  • 175
4 votes
2 answers
4k views

OpenDKIM query timed out (even with opendkim-testkey and Nameservers set)

I try to set up a mail server on Debian with opendkim and opendmarc When I receive an email, SpamAssassin refuse it because opendkim can't do the DNS query I tested with opendkim-testkey command, ...
Tarkok's user avatar
  • 61
1 vote
1 answer
927 views

Postfix send subdomain emails rewritten to main domain

I have Postfix + Dovecot + Mysql config, where I support multiple domains. The problem is when I add subdomain that already has main domain in virtual_mailbox_domains, Postfix rewrites it to main ...
Navidot's user avatar
  • 111
5 votes
1 answer
3k views

OpenDKIM generates 2 keys

I've followed instructions to set up spf and DKIM on my mailing server. SPF is working fine so far, however I am having problem with DKIM. In every single instruction website, they show the output ...
b0xed's user avatar
  • 53
0 votes
0 answers
1k views

No signing table match for <[email protected]> in OpenDKIM configuratio

I have a problem with my opendkim configuration. I have the alias [email protected] that forward all to [email protected]. When I send email to alias [email protected] from [email protected], I ...
Lorenzo Martini's user avatar
3 votes
2 answers
4k views

OpenDKIM / Postfix sign console-sent mail, but not from a mail client / SMTP

I have Postfix running on a Debian 9 machine, and installed opendkim (both from the Debian repositories). The milter socket/connection is inet:localhost:8892, and the iptables firewall allows that ...
Cal-linux's user avatar
  • 175
0 votes
1 answer
134 views

OpenDKIM - Correct setting for "MTA" option

I have a server which is used purely for outbound email. I would like opendkim to sign every email going through, assuming it has a signing table entry. However, I can't seem to find any documentation ...
USD Matt's user avatar
  • 5,391
1 vote
1 answer
1k views

DKIM signature failure only on CRON jobs

I originally posted this on askubuntu but there's been no response there. I have successfully installed Postfix and OpenDkim on my server, and it's correctly signing mail from several different ...
CatchAsCatchCan's user avatar