Re: [Mailman-Users] Reply-to header not set in mime encoded digest's

2018-10-30 Thread David Gibbs

On 10/29/18 4:51 PM, Mark Sapiro wrote:

A simple, but possibly unsatisfactory solution is to put the following
two lines in mm_cfg.py

GLOBAL_PIPELINE.remove('ToDigest')
GLOBAL_PIPELINE.insert(GLOBAL_PIPELINE.index('ToOutgoing'), 'ToDigest')

This will cause the message to not be added to the digests until after
the header munging has occurred, but also means any DMARC actions to
munge the From: or wrap the message will be applied to the digested
message which may be undesirable.


Actually, this solution looks pretty good.

I've implemented it and am currently testing.

I think I owe a contribution to your beer fund. :)

david


--
IBM i on Power Systems: For when you can't afford to be out of business!

I'm riding 615 miles (Yes, you read that right) in the American Diabetes 
Association's Tour de Cure to raise money for diabetes research, education, 
advocacy, and awareness.  You can make a tax deductible donation to my ride by 
visiting https://gmane.diabetessucks.net.


You can see where my donations come from by visiting my interactive donation map 
... https://gmane.diabetessucks.net/map (it's a geeky thing).


I may have diabetes, but diabetes doesn't have me!

--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Reply-to header not set in mime encoded digest's

2018-10-29 Thread Mark Sapiro
On 10/29/18 12:42 PM, David Gibbs wrote:
> 
> When MM 2.1.29 sends out a mime encoded digest, the individual messages
> in the digest don't have the reply-to header set so replies go back to
> the list (as with non-digest messages).
> 
> Is there any way to have the reply-to header set correctly on
> mime-digest messages?


This is a consequence of the way in which DMARC mitigations are applied
to outgoing messages. The modifications to the From:, Reply-To: and Cc:
headers are not applied to the message that is archived, sent in digests
or gated to usenet.

This is generally a good thing, but is problematic in that non-DMARC
Reply-To: munging is also deferred.

A simple, but possibly unsatisfactory solution is to put the following
two lines in mm_cfg.py

GLOBAL_PIPELINE.remove('ToDigest')
GLOBAL_PIPELINE.insert(GLOBAL_PIPELINE.index('ToOutgoing'), 'ToDigest')

This will cause the message to not be added to the digests until after
the header munging has occurred, but also means any DMARC actions to
munge the From: or wrap the message will be applied to the digested
message which may be undesirable.

-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org