[Mailman-Users] aliases-revaliases mailman Postfix

Mark Sapiro mark at msapiro.net
Wed Mar 11 16:36:03 CET 2009

André BEGOC wrote:
>My students subscribe at mailman list with their login (ie : 
>lastnafi at domain.com). When they send a message to list, they are : "not 
>subscribed" , because they are subscribed with : 
>Firstname.Lastname at domain.com

Presumably, they are subscribing via email and postfix is rewriting the
address before delivering the mail to Mailman. If the student
subscribes via the web, I don't think the rewrite will occur, but that
still doesn't address the problem of accepting BOTH addresses.

>How can i force mailman to use, independently : lastnafi at domain.com and/or 
>: Firstname.Lastname at domain.com

You could modify Mailman/Handlers/Moderate.py to consult your postfix
maps for the alternate address before deciding that a post is from a

Alternatively, you could run some external process to get a membership
list, look up the alternate addresses and add those to
accept_these_nonmembers or as Grant suggests, subscribe them with mail
delivery disabled. bin/list_members, bin/add_members, and the scripts
at <http://www.msapiro.net/scripts/non_members> and
<http://www.msapiro.net/scripts/set_nomail.py> may help.

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