Reply-to addresses
Hello friends. We are using Mailman through Dreamhost, which doesn't allow us to change server-based list configurations, we only have access to the Admin's normal Options pages.
After years of working fine, we'd recently been having bouncing problems specifically with gmail addresses.
Thinking this was Dreamhost's problem, and not mine, I queried Dreamhost support, and they looked over a bounced message. Their suggestions are pasted below. I changed from_is_list to Munge From but now the reply to headers have both the list address and the original sender's address. So I assume the original sender gets sent two copies of responses, one from the list and the other directly to them.
I've spent some time over the years trying to train them to not use Reply to All to avoid that double message situation, and now it's happening even with just a regular Reply.
I'm hoping I can fix this easily. I know a little about this stuff, but I'm basically just a list manager, not a full-on sysop, so please be gentle in your terminology and instruction.
From Dreamhost support:
Taking a look into the 're-wrenches-re-wrenches.org' list, the bounce errors point to possible DMARC issues with the list post going out. But, the 're-wrenches-re-wrenches.org' list does not look to have 'Munge From' enabled on the list right now, so you'll want to log into the list and enable that on the 'General Options' page for that list.
Along with that, the list sub-domain didn't have our SPF, so I've added it for you since the domain is managing DNS services with us as well:
lists.re-wrenches.org. 300 IN TXT "v=spf1 mx include:netblocks.dreamhost.com include:relay.mailchannels.net -all"
That was setup on the 'Websites' > 'DNS Settings' page on your account for the 're-wrenches.org' domain.
Having both above set will help to better the outgoing relays of the posts, so set the 'Munge From' and let us know if you're still seeing the same bounce as before.
Hi Michael
I don’t think you have a problem here. The "From:"-address will probably look like this:
"Firstname Lastname username@domain.com" <listname@listdomain.com>
This means that the original sender’s address is in the "realname" (or "comment")-part of the address field. The sender appears still to be <listname@listdomain.com> and replies should go there - unless your list is set to deliver replies only to the original sender (as it is here in the Mailman list).
Christian
Hello Michael Welch. On Sat, 26 Mar 2022 13:05:12 -0700, you wrote:
Hello friends. We are using Mailman through Dreamhost, which doesn't allow us to change server-based list configurations, we only have access to the Admin's normal Options pages.
After years of working fine, we'd recently been having bouncing problems specifically with gmail addresses.
Thinking this was Dreamhost's problem, and not mine, I queried Dreamhost support, and they looked over a bounced message. Their suggestions are pasted below. I changed from_is_list to Munge From but now the reply to headers have both the list address and the original sender's address. So I assume the original sender gets sent two copies of responses, one from the list and the other directly to them.
I've spent some time over the years trying to train them to not use Reply to All to avoid that double message situation, and now it's happening even with just a regular Reply.
I'm hoping I can fix this easily. I know a little about this stuff, but I'm basically just a list manager, not a full-on sysop, so please be gentle in your terminology and instruction.
From Dreamhost support:
Taking a look into the 're-wrenches-re-wrenches.org' list, the bounce errors point to possible DMARC issues with the list post going out. But, the 're-wrenches-re-wrenches.org' list does not look to have 'Munge From' enabled on the list right now, so you'll want to log into the list and enable that on the 'General Options' page for that list.
Along with that, the list sub-domain didn't have our SPF, so I've added it for you since the domain is managing DNS services with us as well:
lists.re-wrenches.org. 300 IN TXT "v=spf1 mx include:netblocks.dreamhost.com include:relay.mailchannels.net -all"
That was setup on the 'Websites' > 'DNS Settings' page on your account for the 're-wrenches.org' domain.
Having both above set will help to better the outgoing relays of the posts, so set the 'Munge From' and let us know if you're still seeing the same bounce as before.
Mailman-Users mailing list -- mailman-users@python.org To unsubscribe send an email to 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/
Christian Buser, Hohle Gasse 6, CH-5507 Mellingen (Switzerland)
Hilfe fuer Strassenkinder in Ghana: https://www.chance-for-children.org
Christian via Mailman-Users writes:
Hi Michael
I don’t think you have a problem here. The "From:"-address will probably look like this:
"Firstname Lastname username@domain.com" <listname@listdomain.com>
This isn't true. "domain.com" is replaced by "---" because it's believed that having more than one address in any part of From (including the display name and comments) is a spam indicator at many recipients.
This means that the original sender’s address is in the "realname" (or "comment")-part of the address field. The sender appears still to be <listname@listdomain.com> and replies should go there - unless your list is set to deliver replies only to the original sender (as it is here in the Mailman list).
It's more complicated than that. We try very hard to ensure there is a machine-replyable address for the author. So when either of the "munge From" options is set, the author's address will be added to Reply-To. The only case where this is not done is for an anonymous list, but that's probably extremely unattractive.
After years of working fine, we'd recently been having bouncing problems specifically with gmail addresses.
I'm surprised you have problems specifically with Gmail. Their DMARC policy is still p=none, so DMARC is not why they're bouncing. Lack of SPF seems more likely. AOL and Yahoo! are much more comon sources of problems.
I changed from_is_list to Munge From but now the reply to headers have both the list address and the original sender's address. So I assume the original sender gets sent two copies of responses, one from the list and the other directly to them.
That is correct.
I'm hoping I can fix this easily.
Getting rid of the poster address in Reply-To requires patching the code. We are not going to change this in Mailman 2, for sure. The general sense of the developers is that it's a bad idea to completely remove the poster's address, and they can work around with no-dupes, so we probably will not change it in Mailman 3 either.
Depending on the size of the list, it may be easy. Go into the Membership Management | Membership List section, and set the no-dupes attribute on for everybody. If this would be annoying to impossible because the list is very large, Mark may have script for this but your provider would have to run it.
This is not a proper fix, because it's implemented by not sending the post to subscribers whose addresses are already in To or CC. There's no way for Mailman to be sure they actually get it (although they almost always do), and of course they lose any decorations (such as useful links in the footer).
You can partially mitigate the problem by setting from_is_list to "No", and instead setting dmarc_moderation_action to "Munge From". Any users from DMARC p=none domains will not suffer from duplicates. However, AOL, Yahoo!, and several other major email providers set p=reject, and users at those providers will suffer from duplicates unless they set no-dupes.
If you have access to a DNS query utility, you can find out whether common subscriber domains have a p=reject or p=quarantine policy by prefixing the domain with "_dmarc." and querying the TXT record. For example, with the popular 'host' program for gmail.com addresses, the query looks like this:
% host -t TXT _dmarc.gmail.com _dmarc.gmail.com descriptive text "v=DMARC1; p=none; sp=quarantine; rua=mailto:mailauth-reports@google.com" %
You're looking for the "p=" attribute. The "sp=" attribute isn't relevant. On Un*x hosts, you may also have the nslookup or dig utilities. The query template suggested above is not 100% reliable because of variations in email addressing to the same domain, but it's probably 95% reliable
On 3/27/22 12:02, Stephen J. Turnbull wrote:
Getting rid of the poster address in Reply-To requires patching the code. We are not going to change this in Mailman 2, for sure. The general sense of the developers is that it's a bad idea to completely remove the poster's address, and they can work around with no-dupes, so we probably will not change it in Mailman 3 either.
We actually try to ensure that both reply and reply-all to a message with a munged From: do the same thing as they would without From: munging. See <https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/Mailman/Handlers/CookHeaders.py#L211> To this end if the lists reply_goes_to_list setting is This list or Explicit Address The Poster's address is added to Cc:, and not to Reply-To:.
So the bottom line here is if you have reply_goes_to_list set to This list and the poster's address ends up in Reply-To:, either the poster's address is in Reply-To: in the incoming mail and first_strip_reply_to is No, or more likely, dreamhost's Mailman version is older than 2.1.19 and doesn't have this fix <https://bugs.launchpad.net/mailman/+bug/1407098>.
Note that 2.1.19 was released over 7 years ago.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Thanks Christian, Mark, & Stephen.
I guess this is a non-issue after all.
I've noticed that all recent posts don't have poster's address in the Reply-To:, but is in the cc: field. I've made sure all members are set to No-dupes.
It is a reply_goes_to_list = this list using Mailman 2.1.23.
Mark Sapiro wrote at 03:36 PM 3/27/2022:
On 3/27/22 12:02, Stephen J. Turnbull wrote:
Getting rid of the poster address in Reply-To requires patching the code. We are not going to change this in Mailman 2, for sure. The general sense of the developers is that it's a bad idea to completely remove the poster's address, and they can work around with no-dupes, so we probably will not change it in Mailman 3 either.
We actually try to ensure that both reply and reply-all to a message with a munged From: do the same thing as they would without From: munging. See <https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/Mailman/Handlers/CookHeaders.py#L211> To this end if the lists reply_goes_to_list setting is This list or Explicit Address The Poster's address is added to Cc:, and not to Reply-To:.
So the bottom line here is if you have reply_goes_to_list set to This list and the poster's address ends up in Reply-To:, either the poster's address is in Reply-To: in the incoming mail and first_strip_reply_to is No, or more likely, dreamhost's Mailman version is older than 2.1.19 and doesn't have this fix <https://bugs.launchpad.net/mailman/+bug/1407098>.
Note that 2.1.19 was released over 7 years ago.
participants (4)
-
Christian
-
Mark Sapiro
-
Michael Welch
-
Stephen J. Turnbull