acceptable_aliases, multiple addresses
For one list I'm administrating, I want to have two aliases, and I'm unsure how to format the acceptable_aliases value. Is it correct this way?
acceptable_aliases = 'user1@example.com', 'user1@list.example.com'
Is this correct, e.g. ending the first line with comma?
Thanks
Lars
On 1/13/21 4:04 AM, Lars Bjørndal wrote:
For one list I'm administrating, I want to have two aliases, and I'm unsure how to format the acceptable_aliases value. Is it correct this way?
acceptable_aliases = 'user1@example.com', 'user1@list.example.com'
Via the web UI, just put the addresses only, one per line, no quotes, no commas in Privacy options... -> Recipient filters -> acceptable_aliases.
Via config_list, your example would be
acceptable_aliases = ['user1@example.com', 'user1@list.example.com']
I.e, this is a Python list. However, your example raises a question. These values are not user addresses. They are alternate addresses for mailing to the list but not having the post held for "implicit destination". As a simple example, suppose posts to list@example.com can also be sent to prior-name@example.com because that address also delivers to the list. For this, you would put prior-name@example.com in acceptable_aliases.
Is this what you want to do?
-- Mark Sapiro mark@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
On Wed, Jan 13, 2021 at 12:17:27PM -0800, Mark Sapiro wrote:
On 1/13/21 4:04 AM, Lars Bjørndal wrote:
For one list I'm administrating, I want to have two aliases, and I'm unsure how to format the acceptable_aliases value. Is it correct this way?
acceptable_aliases = 'user1@example.com', 'user1@list.example.com'
Via the web UI, just put the addresses only, one per line, no quotes, no commas in Privacy options... -> Recipient filters -> acceptable_aliases.
Via config_list, your example would be
acceptable_aliases = ['user1@example.com', 'user1@list.example.com']
I.e, this is a Python list. However, your example raises a question. These values are not user addresses. They are alternate addresses for mailing to the list but not having the post held for "implicit destination". As a simple example, suppose posts to list@example.com can also be sent to prior-name@example.com because that address also delivers to the list. For this, you would put prior-name@example.com in acceptable_aliases.
Is this what you want to do?
Yes, that's right. I could have saied list@example.com and list@lists.example.com. They are both delivered to mailinglist@list.example.com.
Thanks a lot!
Lars
participants (2)
-
Lars Bjørndal
-
Mark Sapiro