Re: [Mailman-Users] Changing the senders name in the From line in confirmation mails

2018-07-21 Thread Andre Tann
Hi Mark,

Am 21.07.2018 um 20:23 schrieb Mark Sapiro:

> This can be done, but without modifying code, not exactly as you
> propose. You can make it
[...]

Fully understood, and as always: thanks for your fast & accurate help

Andre

-- 
Andre Tann

--
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] ARC, was non-subscribers getting through--email address in "Real Name"

2018-07-21 Thread John Levine
In article  
you write:
>On 07/19/2018 05:27 PM, Mark Sapiro wrote:
>> The problem is downstream has to trust me. If I'm gmail.com, I'll probably 
>> be trusted. If I'm msapiro.net, probably not. Python.org, who knows.
>
>Yep.
>
>I've not yet seen any indication that there will be any good way to 
>establish this trust relationship, save for traditional 
>Business-to-Business methods.  At least I'm not aware of anything more 
>automatic.
>
>Thus I question how useful ARC will be for small operators.  :-/

I know people working on whiteish lists to use with ARC, to say that
these domain are known to host real mailing lists so you should believe
their ARC assertions.

R's,
John
--
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] non-subscribers getting through--email address in "Real Name"

2018-07-21 Thread John Levine
In article  you write:
>On 07/19/18 17:11, John Levine wrote:
>> In article 
>>  you write:
>>> Yes.  Just about everything can be spoofed to some degree.  It really 
>>> depends on what information the owner of the purported sending domain 
>>> publishes and what filtering / consumption of said information the 
>>> receiving server exercises.
>> 
>> Well, you know, this is what DMARC is intended to address.  While
>> DMARC checks on mail that has passed through mailing lists has all
>> sorts of well known problems, doing DMARC checks on mail that arrives
>> at a list server would be pretty benign.  It's pretty rare for the
>> path from a user to the mailman server to do things that would cause
>> DMARC fails.
>
>Actually, mailing lists and other redistribution are among the places
>DMARC notably breaks.  The real answer, which was created for this
>purpose, is ARC (Authenticated Received Chain).  That is designed from
>the start to pass through mailing lists unbroken.
>
>(Or so I'm told.)

You missed a key point.  I was suggesting DMARC-ish checks on mail *to* a
maiing list, where they should work fine.  Mail *from* a mailing list is
indeed screwed up by DMARC which is why I've been working on ARC libraries.

R's,
John

--
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] Changing the senders name in the From line in confirmation mails

2018-07-21 Thread Mark Sapiro
On 7/20/18 10:23 AM, Andre Tann wrote:
> 
> The sender's name in the from line of a confirmation mail should be
> changed/inserted. Example:
> 
> This line:
>    
>     From:
> newsletter-confirm+7f07b5deb0843fad9ab40ead51ac7e7541cf2...@example.com
> 
> should be changed to
> 
>     From: My-Company
> 


This can be done, but without modifying code, not exactly as you
propose. You can make it

From: (My-Company) newsletter-confirm+7...@example.com

I.e. You can include My-Company as a comment, but not as a display name.

There are two default settings:

VERP_CONFIRM_FORMAT = '%(addr)s+%(cookie)s'
VERP_CONFIRM_REGEXP =
r'(?s)^(.*<)?(?P.+)\+(?P[0-9a-f]{40})@.*$'

You can override these in mm_cfg.py with

VERP_CONFIRM_FORMAT = '(My-Company) %(addr)s+%(cookie)s'
VERP_CONFIRM_REGEXP = r'(?s)^\(?My-Company\)?
(.*<)?(?P.+)\+(?P[0-9a-f]{40})@.*$'

(watch out for wrapped lines).

You can't do

VERP_CONFIRM_FORMAT = 'My-Company <%(addr)s+%(cookie)s>'

because the @example.com is appended to that.

-- 
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


[Mailman-Users] Changing the senders name in the From line in confirmation mails

2018-07-21 Thread Andre Tann
Hi folks,

I've been googling now for a while, but could not find a hint if the
following can be done:

The sender's name in the from line of a confirmation mail should be
changed/inserted. Example:

This line:
   
    From:
newsletter-confirm+7f07b5deb0843fad9ab40ead51ac7e7541cf2...@example.com

should be changed to

    From: My-Company


I found tons of hints how to tweak the subject line, and I already did
that BTW. But no clue how to change the name.

Any hints?

Thanks

-- 
Andre Tann

--
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