[Mailman-Users] Problem with 2.1.9 acceptable_aliases

Mark Sapiro mark at msapiro.net
Tue Jun 3 00:03:44 CEST 2008

Barry Finkel wrote:

> Barry Finkel wrote:
>>>> There was a posting to a number of lists here yesterday 
>>>>      To: comp_info+cats+noc at example.com
>>>> all of the lists are linked; some of the lists are subscribed to others.
>>>> I took that address and added it to
>>>>      acceptable_aliases
> And Mark Sapiro replied:
>>>What did you add to acceptable_aliases? And for which list(s)?
>>>A post addressed to comp_info+cats+noc at example.com will presumably be 
>>>delivered to the comp_info list. In order for it not to be held by that 
>>>list, you need either
>>>comp_info+cats+noc at example.com

As you discovered, the above is wrong. All entries in acceptable_aliases 
are interpreted as regexps, thus any regexp special characters must be 
escaped as you indicate below.

> I have not looked at the code, and I am not an expert in regular
> expressions.  I surmise that Mailman is treating the address as a
> regular expression, which matches
>      ab at anl.gov
>      aab at anl.gov
>      aaab at anl.gov
>      aaaab at anl.gov
>      ...
> but does not match
>      a+b at anl.gov
> I then changed the acceptable_aliases to
>      a\+b at anl.gov
> and test mail was distributed.

Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

More information about the Mailman-Users mailing list