On 2/10/21 9:26 AM, Christian Buser via Mailman-Users wrote:
> 
> I have been asked by one of our list members about why the addressing of list 
> messages he receives varies and he likes to know why. 
> 
> Some messages come with the following headers: 
> 
> From: Sender Name via Listname <listn...@domain.com>
> To: listn...@domain.com
> Cc: Recepient Name <addr...@otherdomain.com>


This is a message which has had the DMARC mitigation `Munge From` applied.

If the Cc: is actually a recipient, it was put there by the sender, but
I suspect it is actually the sender's address and not the recipient's.
In the case of Munge From, the sender's address is put either in Cc: or
Reply-To: depending on other list settings. See
<https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/Mailman/Handlers/CookHeaders.py#L201>
for more detail on this.


> Other messages (on the same list, same recipient): 
> 
> From: Sender Name  <<realaddr...@thirddomain.com>>
> To: Listname <listn...@domain.com>
> (and no Cc: header)


This is a message to which DMARC mitigation has not been applied.


> My questions - just to understand it, since the list seems to work perfectly:
> 
> 1) What does cause this different addressing

The list is applying DMARC Munge From mitigations based on the DMARC
policy of the original From: domain. See
<https://wiki.list.org/DEV/DMARC> for more about this.


> 2) How does the receiving mail server know where to deliver the message when 
> there is no Cc: field in the headers and the list address in the To: field? 


The recipients of the message are specified as recipients by Mailman in
its SMTP transaction with the outgoing MTA. These are known as envelope
recipients and are the addresses to which the message will be sent. They
have nothing to do with any To: or Cc: headers in the message itself.

-- 
Mark Sapiro <m...@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.org
To unsubscribe send an email to mailman-users-le...@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/

Reply via email to