Re: BUG #18822: mailing lists reject mails due to DKIM-signature

Magnus Hagander <magnus@hagander.net>

From: Magnus Hagander <magnus@hagander.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>, Matthias Apitz <gurucubano@googlemail.com>, pgsql-bugs@lists.postgresql.org, Bruce Momjian <bruce@momjian.us>
Date: 2025-02-24T16:44:07Z
Lists: pgsql-bugs
On Mon, Feb 24, 2025 at 3:48 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:

> Stefan Kaltenbrunner <stefan@kaltenbrunner.cc> writes:
> > Unsigned mails(these days SPF, DKIM and DMARFC are not optional any
> > more) are basically undeliverable at scale to all large mail providers
> > other than if you are a super low volume sender - so that is a complete
> > non-starter for us.
>
> Yeah.  The key point here is that we are not constrained only by
> what it says in the RFCs.  We have to stay on the good side of the
> anti-spam policies at gmail and other large email providers, or
> we'll be blocked from delivering to large swaths of our user base.
>
>
Yes, indeed.

At one point not too long ago we had something like 60+% of our emails to
gmail getting delayed or dropped, leaving us with delivery queues exceeding
I think 2 million emails to gmail based destinations. Implementing this
DKIM fix is one of the things we did to get off that list...

//Magnus