
Has anyone experienced recent issues with Mailman3 not being able to send to gmail and yahoo e-mail addresses. I am trying to figure out if Google has our server blocked or not. When I send a manual e-mail from the server, the my yahoo e-mail gets delivered, but the gmail one does not. Here is the message I get in the logs when trying to send to the gmail address from the command line, but I do not get anything when it tries to send from Mailman.
2025-09-09T18:57:09.344493-05:00 lstprdls01 postfix/smtp[3544622]: BE67F1C09AF: to=<jmjk@gmail.com>, relay=gmail-smtp-in.l.google.com[173.194.194.26]:25, delay=0.55, delays=0.01/0/0.27/0.27, dsn=5.7.26, status=bounced (host gmail-smtp-in.l.google.com[173.194.194.26] said: 550-5.7.26 Your email has been blocked because the sender is unauthenticated. 550-5.7.26 Gmail requires all senders to authenticate with either SPF or DKIM. 550-5.7.26 550-5.7.26 Authentication results: 550-5.7.26 DKIM = did not pass 550-5.7.26 SPF [lstprdls01.xxx.xxx.edu] with ip: [xxx.xxx.10.33] = did not pass 550-5.7.26 550-5.7.26 For instructions on setting up authentication, go to 550 5.7.26 https://support.google.com/mail/answer/81126#authentication 8926c6da1cb9f-50d8f268ab7si36484097173.142 - gsmtp (in reply to end of DATA command))
I added DMARC mitigation to this list with "Replace From: with list address" and "DMARC Mitigate unconditinally - Yes" The DMARC Address I have in there is ^.*@gmail\.com$
Do I have to do anything else? Restart any services or anything?

Mailgun and sendgrid are email delivery services, if you forward everything through those, it will ensure much greater success rates.
Otherwise,
"DKIM = did not pass". SPF... Make sure both SPF and DKIM are configured properly. Those are more at the layer of postfix/exim rather that in mailman.

Thank you for the reply. Are there a good set of instructions for setting up SPF and DKIM?

SPF is a DNS record, as are DKIM records, there's numerous guides out there to create/configure both. It'll partly depend on your mail system and how it routes mail through what MTA, etc.
I am not affiliated with any of these blogs:
"How to Set Up an SPF Record in 5 Simple Steps" - https://www.validity.com/blog/how-to-build-your-spf-record-in-5-simple-steps...
Cloudflare has a nice explanation of DKIM records - https://www.cloudflare.com/learning/dns/dns-records/dns-dkim-record/
These instructions should still work for doing the DKIM setup on a Postfix mailer - https://easydmarc.com/blog/how-to-configure-dkim-opendkim-with-postfix/
If you use a third party sender and not an on-prem Postfix or such then the configuration gets more difficult, complex, or custom.
Thomas
On 2025-09-09 20:56, jkoral@luc.edu wrote:
Thank you for the reply. Are there a good set of instructions for setting up SPF and DKIM?
Mailman-users mailing list --mailman-users@mailman3.org To unsubscribe send an email tomailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/ Archived at:https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/...
This message sent toteward@thomas-ward.net

I misspoke on DKIM records. They're DNS records for specifying the public key, but they're cryptographic keys used to sign and verify message integrity, and they do require more work than SPF.
Note *also* that for Google mail recipients, and you are sending from your own systems, you need to make sure the **Forward DNS, the Reverse DNS, and the hostname your mail server identifies as** should match, otherwise Google may flag your mail server as misconfigured and reject even with SPF and DKIM records set up.
Thomas
On 2025-09-09 21:03, Thomas Ward via Mailman-users wrote:
SPF is a DNS record, as are DKIM records, there's numerous guides out there to create/configure both. It'll partly depend on your mail system and how it routes mail through what MTA, etc.
I am not affiliated with any of these blogs:
"How to Set Up an SPF Record in 5 Simple Steps" - https://www.validity.com/blog/how-to-build-your-spf-record-in-5-simple-steps...
Cloudflare has a nice explanation of DKIM records - https://www.cloudflare.com/learning/dns/dns-records/dns-dkim-record/
These instructions should still work for doing the DKIM setup on a Postfix mailer - https://easydmarc.com/blog/how-to-configure-dkim-opendkim-with-postfix/
If you use a third party sender and not an on-prem Postfix or such then the configuration gets more difficult, complex, or custom.
Thomas
On 2025-09-09 20:56, jkoral@luc.edu wrote:
Thank you for the reply. Are there a good set of instructions for setting up SPF and DKIM?
Mailman-users mailing list --mailman-users@mailman3.org To unsubscribe send an email tomailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/ Archived at:https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/...
This message sent toteward@thomas-ward.net
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/ Archived at: https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/...
This message sent to teward@thomas-ward.net
participants (3)
-
jkoral@luc.edu
-
Sam Darwin
-
Thomas Ward