On 7/3/2012 6:57 PM, Franck Martin wrote:
To answer a few questions
Not planning to change any standard, just proposing to adapt a well know MLM to
the current authentication standard
In fact, your code makes some significant assumptions about what is
acceptable behavior by mailing lists.
As I said, this sort of thing is best discussed in terms of its
concepts, distinct form its code.
The code is self explanatory but for the people with difficulties with
launchpad:
if mlist.author_list:
mlist.include_sender_header = 0
if msg['reply-to'] == "" :
msg['reply-to'] = msg['reply-to'] + " , " + msg['from']
Although a logical choice, this seems questionable in practice to me.
1. Messing with Reply-To has always been problematic and there are no
fully accepted practices. I believe it remains controversial, with no
widespread 'rough consensus', in spite of various widespread practices.
2. Since the field normally contains only one address, I'd expect some
deployed software to break on multiple addresses. No, it shouldn't do
that, but it shouldn't do it on From: either and some do.
else:
msg['reply-to'] = msg['from']
Ultimately the proposal appears to be to
\
realname, email = parseaddr(msg['from'])
del msg['from']
msg['From'] = formataddr(('%s via %s' % (realname,mlist.real_name),
mlist.GetListEmail()))
I don't know this level of mailman, so I can't tell exactly what the
final From: string will look like. It's not obvious to me that it will
be a valid address.
Worse, I really can't tell what the goal is here. Is it to have a
signature by the mailing list be made valid for DMARC, at the expense of
violating the From: field?
d/
ps. it occurred to me that i don't know what 'test' mailing list was
being referred to earlier.
--
Dave Crocker
Brandenburg InternetWorking
bbiw.net
_______________________________________________
dmarc-discuss mailing list
[email protected]
http://www.dmarc.org/mailman/listinfo/dmarc-discuss
NOTE: Participating in this list means you agree to the DMARC Note Well terms
(http://www.dmarc.org/note_well.html)