Re: [Mailman-Developers] Renaming a list

2017-10-23 Thread Mark Sapiro
On 10/23/2017 05:02 PM, Abhilash Raj wrote:
> On Mon, Oct 23, 2017, at 08:59 AM, Barry Warsaw wrote:
>> On Oct 23, 2017, at 11:48, Aurelien Bompard  wrote:
>>>
>>> I wanted to rename a list (only the list_name, not the list_id) and I
>>> figured I would make the transition smoother by adding an "AcceptableAlias"
>>> with the old name. I did that and realized that the acceptable aliases are
>>> not added to the postfix_lmtp file, as a result emails sent to the old
>>> address are just bounced at the Postfix level.
>>> Is this the intended behavior ?
>>
>> It is.  The thinking is that whatever email addresses end up funneling to
>> a list is really outside of Mailman’s control.  That’s really part of
>> your MTA’s configuration, and acceptable aliases are just a way of
>> telling Mailman to expand its implicit address logic.
> 
> As I understand, AcceptableAliases are defined as regular expressions,
> what if Mailman put the values that are a valid list name to
> transport_maps? Converting regex to a listname doesn't sound like a
> straight forward thing to me though.


I think that's going to be too complex and error prone.


> This most definitely adds some complexity for unique checks of
> Listnames. I am not sure if we already check acceptable alias rules for
> existing mailing lists to make sure they don't match any new list
> created. We'd have to do it if we start putting acceptable aliases in
> transport maps.


We don't and it doesn't matter for what acceptable_aliases is intended
to be used for.

The background is a list can be configured (and is by default) to
require_explicit_destination. which is intended as an anti-spam measure.
 I.e. it requires the list posting address to appear in To: or Cc: of
the message and stops "To: undisclosed recipients:;" type of mail.


> As a feature, it could be helpful to have multiple posting addresses for
> a single List. Are there any major downsides to doing this?


You can, either by aliases, .forwards or other MTA type configurations.
And that's exactly what acceptable_aliases is for - to accept those
alternate posting addresses as valid explicit destinations.

But, I think it should be up to the installation to configure their MTAs
or whatever for this. I don't thing we should be trying to generate MTA
configurations for alternate list names bases on acceptable_aliases.

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

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Developers] Renaming a list

2017-10-23 Thread Abhilash Raj
On Mon, Oct 23, 2017, at 08:59 AM, Barry Warsaw wrote:
> On Oct 23, 2017, at 11:48, Aurelien Bompard  wrote:
> > 
> > I wanted to rename a list (only the list_name, not the list_id) and I
> > figured I would make the transition smoother by adding an "AcceptableAlias"
> > with the old name. I did that and realized that the acceptable aliases are
> > not added to the postfix_lmtp file, as a result emails sent to the old
> > address are just bounced at the Postfix level.
> > Is this the intended behavior ?
> 
> It is.  The thinking is that whatever email addresses end up funneling to
> a list is really outside of Mailman’s control.  That’s really part of
> your MTA’s configuration, and acceptable aliases are just a way of
> telling Mailman to expand its implicit address logic.

As I understand, AcceptableAliases are defined as regular expressions,
what if Mailman put the values that are a valid list name to
transport_maps? Converting regex to a listname doesn't sound like a
straight forward thing to me though.

This most definitely adds some complexity for unique checks of
Listnames. I am not sure if we already check acceptable alias rules for
existing mailing lists to make sure they don't match any new list
created. We'd have to do it if we start putting acceptable aliases in
transport maps.

As a feature, it could be helpful to have multiple posting addresses for
a single List. Are there any major downsides to doing this?

-- 
  Abhilash Raj
  maxk...@asynchronous.in
___
Mailman-Developers mailing list
Mailman-Developers@python.org
https://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Developers] Renaming a list

2017-10-23 Thread Barry Warsaw
On Oct 23, 2017, at 11:48, Aurelien Bompard  wrote:
> 
> I wanted to rename a list (only the list_name, not the list_id) and I
> figured I would make the transition smoother by adding an "AcceptableAlias"
> with the old name. I did that and realized that the acceptable aliases are
> not added to the postfix_lmtp file, as a result emails sent to the old
> address are just bounced at the Postfix level.
> Is this the intended behavior ?

It is.  The thinking is that whatever email addresses end up funneling to a 
list is really outside of Mailman’s control.  That’s really part of your MTA’s 
configuration, and acceptable aliases are just a way of telling Mailman to 
expand its implicit address logic.

> BTW, changing the list_name attribute is sufficient to rename a list,
> right? I didn't find anything else to change since everything seems to be
> keyed to the list_id but I thought I'd check with you.

Correct.  List name is mutable but list-id is not, even if you move it to a 
different domain!

-Barry



signature.asc
Description: Message signed with OpenPGP
___
Mailman-Developers mailing list
Mailman-Developers@python.org
https://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


[Mailman-Developers] Renaming a list

2017-10-23 Thread Aurelien Bompard
Hey folks!

I wanted to rename a list (only the list_name, not the list_id) and I
figured I would make the transition smoother by adding an "AcceptableAlias"
with the old name. I did that and realized that the acceptable aliases are
not added to the postfix_lmtp file, as a result emails sent to the old
address are just bounced at the Postfix level.
Is this the intended behavior ?

BTW, changing the list_name attribute is sufficient to rename a list,
right? I didn't find anything else to change since everything seems to be
keyed to the list_id but I thought I'd check with you.

Thanks!

Aurélien
___
Mailman-Developers mailing list
Mailman-Developers@python.org
https://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9