DKIM is driving me nuts
wfdudley at gmail.com
Tue Sep 4 22:17:11 UTC 2018
I was hoping that having my server "do" DKIM would improve my "reputation"
mail servers. This was prompted by bounce messages from some clown with a "
address, whose server bounces *everything* without a valid 1024 bit DKIM
I'm just running a hobby mail server, but I provide about a dozen mailing
lists to small
The problems with DKIM for me are:
1. It's "impossible" (read: "I'm not spending any more time on this") to
working with different MUAs. I can get it to work when I send email using
but not when I send email from the command line (mailx). "Works" means
inserted DKIM headers pass the checks at the other end.
2. My server sends automated reminder emails to the mailing lists, and any
emails sent by my system through Mailman fail DKIM checks (even though my
system is inserting DKIM stuff in the headers).
In both cases, apparently there's some magic involved with hostnames in the
headers and the matching DNS records, and I have given up because
hours and hours of experimenting have gotten me exactly bupkus.
I read a bit on the intersection of Mailman and DKIM, and it isn't pretty.
It's not even
clear *what* Mailman should DO with DKIM signed emails from people
emails to their list. I was only worrying about signing my OWN emails
using DKIM, and hadn't even considered what would happen to *other's* DKIM
If I wasn't running Mailman, I might be interested in figuring out the
magic, but since
the Mailman/DKIM thing is so borked, it's time to declare victory and move
Perhaps one day, my children will be able to get DKIM working with Mailman,
but it's clearly
science fiction right now.
AOL and Yahoo can't go out of business fast enough. Yahoo broke all
mailing lists with
their stupid policy of "email that has From: domain different from sending
domain is spam"
and that's enough damage that it should result in the corporate death
When the majority of the emails from my own server are bouncing from lack
I'll shut off my mail server. That's why I have a gmail account, as a
This email is free of malware because I run Linux.
On Tue, Sep 4, 2018 at 5:41 PM, Jim Ohlstein <jim at mailman-hosting.com>
> On 09/04/2018 11:48 AM, William Dudley wrote:
> > I have decided to abandon this quest.
> > The intersection of DKIM and Mailman is a huge cluster f--k, and will not
> > be sorted out
> > any time soon, if ever.
> > Since I value the mailing lists I host, and am unwilling to stop those
> > services,
> > it makes sense to give up on DKIM.
> Before you give up on DKIM, it sounds as though this is a Mailman
> problem. There are "fixes" for some issues in Mailman (both 2.1 and 3.1)
> that can be easily applied.
> In short, DKIM is a digital signature using a private key. The signature
> can be verified with the public key. If anything in the message is
> changed (as Mailman and other list software is apt to do by changing
> headers or adding a footer), DKIM will fail. Also, some large freemail
> providers (Yahoo and AOL) have published DMARC policies to reject any
> emails from them that fail DKIM. Many smaller servers do the same.
> Here's the DKIM results from your last email via Gmail:
> Authentication-Results: maurice.jlkmail.com (amavisd-new);
> dkim=fail (2048-bit key) reason="fail (body has been altered)"
> More and more large servers are requiring not only DKIM, but DMARC
> policies as well. Running a small mail server is only going to get more
> cumbersome. Taking down a working system may not be the best choice.
> What is the specific problems that this one user is having? Is it that
> his emails to the list are being rejected? Or is his mail server at
> "us.army.mil" rejecting emails from the list? Can you post the relevant
> entries from your mail log (usually /var/log/maillog on FreeBSD)?
> > DKIM doesn't solve any problems (except for one poor schmuck who has a ".
> > us.army.mil"
> > email address, that rejects all email without DKIM), I don't find DKIM
> > valuable
> > enough to fight with it any more.
> > Thanks to all for their suggestions. I have learned somethings, which
> > the point,
> > after all.
> > Bill Dudley
> Jim Ohlstein
> Professional Mailman Hosting
More information about the freebsd-questions