Moderators and admins not getting notifications of held posts
We have a number of lists that are fully moderated and recently the moderators and admins have stopped getting notifications of held emails.
The only change that occurred prior to this was changing the hostname the list prefers for email, which was accomplished by changing the setting in mm_cfg.py and running fix_urls. List emails are going out without any issues. Thinking that changing the mail host would affect the aliases, I ran genaliases, then reloaded postfix. I have confirmed that my postfix config is correct per https://www.gnu.org/software/mailman/mailman-install/postfix-integration.htm...
I can see the messages being sent by mailman (I have a test list I'm using to figure this out):
Mailman:
Oct 19 17:08:50 2021 (2708) mailman.2701.1634688529.2706.test@pharmacy.arizona.edu smtp to test for 1 recips, completed in 0.005 seconds Oct 19 17:08:50 2021 (2708) mailman.2703.1634688529.2706.test@pharmacy.arizona.edu smtp to test for 1 recips, completed in 0.006 seconds
Then in the mail log (I use Postfix as an mta)
Oct 19 17:08:50 dhbmailman1 postfix/qmgr[2614]: CA3AB16111F: from=test-bounces@pharmacy.arizona.edu, size=6834, nrcpt=1 (queue active) Oct 19 17:08:50 dhbmailman1 postfix/smtpd[6773]: disconnect from localhost.localdomain[::1] Oct 19 17:08:50 dhbmailman1 postfix/smtp[6788]: C89DF160A61: to=bruce.desertrat@gmail.com, relay=smtp.pharmacy.arizona.edu[150.135.124.58]:25, delay=0.11, delays=0/0/0/0.11, dsn=2.0.0, status=sent (250 Ok: queued as E430F2320061) Oct 19 17:08:50 dhbmailman1 postfix/qmgr[2614]: C89DF160A61: removed Oct 19 17:08:50 dhbmailman1 postfix/smtp[6786]: CA3AB16111F: to=test-owner@pharmacy.arizona.edu, relay=smtp.pharmacy.arizona.edu[150.135.124.58]:25, delay=0.14, delays=0/0/0/0.14, dsn=2.0.0, status=sent (250 Ok: queued as E82592B00090) Oct 19 17:08:50 dhbmailman1 postfix/qmgr[2614]: CA3AB16111F: removed
The email to the moderated sender is recieved:
"Your mail to 'Test' with the subject
Testing moderator messages
Is being held until the list moderator can review it for approval.
The reason it is being held:
Post to moderated list"
But the emails to the moderators and admins just seems to vanish.
Our MTA on the lists machine is Postfix, and it is allowed to relay to our actual SMTP host for general delivery. I never see the emails arrive there for the moderators. As I said list mails and notification emails go though just fine. it’s just emails to list-owner that are failing.
-- Bruce Johnson University of Arizona College of Pharmacy Information Technology Group
Institutions do not have opinions, merely customs
On 10/20/21 9:46 AM, Bruce Johnson via Mailman-Users wrote:
But the emails to the moderators and admins just seems to vanish.
Is General Options -> admin_immed_notify set to Yes.
Our MTA on the lists machine is Postfix, and it is allowed to relay to our actual SMTP host for general delivery. I never see the emails arrive there for the moderators.
What do you see? in the Postfix log? Do you see a message arriving for LISTNAME-owner@... and being delivered to Mailman?
What happens if you mail LISTNAME-owner@... directly?
Anything in Mailman's error.log?
-- Mark Sapiro mark@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
On Oct 20, 2021, at 12:21 PM, Mark Sapiro mailto:mark@msapiro.net> wrote:
On 10/20/21 9:46 AM, Bruce Johnson via Mailman-Users wrote: But the emails to the moderators and admins just seems to vanish.
Is General Options -> admin_immed_notify set to Yes.
This has been set this way all along
Our MTA on the lists machine is Postfix, and it is allowed to relay to our actual SMTP host for general delivery. I never see the emails arrive there for the moderators.
What do you see? in the Postfix log? Do you see a message arriving for LISTNAME-owner@... and being delivered to Mailman?
Yes
What happens if you mail LISTNAME-owner@... directly?
Nothing it neither bounced or arrives.
Thinking more upon this I think this was why we originally had the email hostname set to the list server FQDN instead of our domain. originally mailman lived on our mail server, but got moved to a different system when we moved to Exchange for mail (and later on to O365) We had to create weird distribution lists for all the lists ( ie: a DL test@pharmacy.arizona.edumailto:test@pharmacy.arizona.edu that has as it’s only member test@lists.pharmacy.arizona.edumailto:test@lists.pharmacy.arizona.edu ) for everything to work.
This worked well for years until we moved to a new mail spam and security service and introduced stricter DMARC and DKIM settings for all our mail. This is what broke one of our larger lists (our alumni outreach list, and of course it’s Homecoming next week, and the last email resulted in 650+ bounces for DMARC failures..mostly from aol and yahoo. )
Is it possible to have the email addresses of the mailman administrivia addresses (-owner -bounces, etc) be the FQDN, but outgoing list traffic be set to just the domain?
-- Bruce Johnson University of Arizona College of Pharmacy Information Technology Group
Institutions do not have opinions, merely customs
On Oct 20, 2021, at 12:58 PM, Bruce Johnson via Mailman-Users
Thinking more upon this I think this was why we originally had the email hostname set to the list server FQDN instead of our domain. originally mailman lived on our mail server, but got moved to a different system when we moved to Exchange for mail (and later on to O365) We had to create weird distribution lists for all the lists ( ie: a DL test@pharmacy.arizona.edumailto:test@pharmacy.arizona.edumailto:test@pharmacy.arizona.edu that has as it’s only member test@lists.pharmacy.arizona.edumailto:test@lists.pharmacy.arizona.edumailto:test@lists.pharmacy.arizona.edu ) for everything to work.
This worked well for years until we moved to a new mail spam and security service and introduced stricter DMARC and DKIM settings for all our mail. This is what broke one of our larger lists (our alumni outreach list, and of course it’s Homecoming next week, and the last email resulted in 650+ bounces for DMARC failures..mostly from aol and yahoo. )
Is it possible to have the email addresses of the mailman administrivia addresses (-owner -bounces, etc) be the FQDN, but outgoing list traffic be set to just the domain?
And I reset my test list to use the FQDN of the list server and it now works, so that’s the issue. :-(
-- Bruce Johnson University of Arizona College of Pharmacy Information Technology Group
Institutions do not have opinions, merely customs
On 10/20/21 12:58 PM, Bruce Johnson via Mailman-Users wrote:
Thinking more upon this I think this was why we originally had the email hostname set to the list server FQDN instead of our domain. originally mailman lived on our mail server, but got moved to a different system when we moved to Exchange for mail (and later on to O365) We had to create weird distribution lists for all the lists ( ie: a DL test@pharmacy.arizona.edu that has as it’s only member test@lists.pharmacy.arizona.edu ) for everything to work.
This worked well for years until we moved to a new mail spam and security service and introduced stricter DMARC and DKIM settings for all our mail. This is what broke one of our larger lists (our alumni outreach list, and of course it’s Homecoming next week, and the last email resulted in 650+ bounces for DMARC failures..mostly from aol and yahoo. )
Is it possible to have the email addresses of the mailman administrivia addresses (-owner -bounces, etc) be the FQDN, but outgoing list traffic be set to just the domain?
You could try this patch === modified file 'Mailman/MailList.py' --- old/Mailman/MailList.py 2020-05-18 17:01:51 +0000 +++ new/Mailman/MailList.py 2021-10-20 20:31:06 +0000 @@ -190,7 +190,8 @@ def getListAddress(self, extra=None): if extra is None: return '%s@%s' % (self.internal_name(), self.host_name) - return '%s-%s@%s' % (self.internal_name(), extra, self.host_name) + return '%s-%s@%s%s' % (self.internal_name(), extra, 'lists.', + self.host_name # For backwards compatibility def GetBouncesEmail(self): And a similar patch to the get_site_email function in Mailman/Utils.py. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Thanks! I will try this! On Oct 20, 2021, at 1:39 PM, Mark Sapiro mailto:mark@msapiro.net> wrote: On 10/20/21 12:58 PM, Bruce Johnson via Mailman-Users wrote: Thinking more upon this I think this was why we originally had the email hostname set to the list server FQDN instead of our domain. originally mailman lived on our mail server, but got moved to a different system when we moved to Exchange for mail (and later on to O365) We had to create weird distribution lists for all the lists ( ie: a DL test@pharmacy.arizona.edumailto:test@pharmacy.arizona.edu that has as it’s only member test@lists.pharmacy.arizona.edumailto:test@lists.pharmacy.arizona.edu ) for everything to work. This worked well for years until we moved to a new mail spam and security service and introduced stricter DMARC and DKIM settings for all our mail. This is what broke one of our larger lists (our alumni outreach list, and of course it’s Homecoming next week, and the last email resulted in 650+ bounces for DMARC failures..mostly from aol and yahoo. ) Is it possible to have the email addresses of the mailman administrivia addresses (-owner -bounces, etc) be the FQDN, but outgoing list traffic be set to just the domain? You could try this patch === modified file 'Mailman/MailList.py' --- old/Mailman/MailList.py 2020-05-18 17:01:51 +0000 +++ new/Mailman/MailList.py 2021-10-20 20:31:06 +0000 @@ -190,7 +190,8 @@ def getListAddress(self, extra=None): if extra is None: return '%s@%s' % (self.internal_name(), self.host_name) - return '%s-%s@%s' % (self.internal_name(), extra, self.host_name) + return '%s-%s@%s%s' % (self.internal_name(), extra, 'lists.', + self.host_name # For backwards compatibility def GetBouncesEmail(self): And a similar patch to the get_site_email function in Mailman/Utils.py. -- Mark Sapiro mailto:mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list -- mailman-users@python.orgmailto:mailman-users@python.org To unsubscribe send an email to mailman-users-leave@python.orgmailto:mailman-users-leave@python.org https://mail.python.org/mailman3/lists/mailman-users.python.org/ Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/ https://mail.python.org/archives/list/mailman-users@python.org/ -- Bruce Johnson University of Arizona College of Pharmacy Information Technology Group Institutions do not have opinions, merely customs
participants (2)
-
Bruce Johnson
-
Mark Sapiro