
The FAQ page
4.70. How do I change the name of (rename) a list?
is missing one command at the end:
/usr/lib/mailman/bin/genaliases
--
Barry S. Finkel Computing and Information Systems Division Argonne National Laboratory Phone: +1 (630) 252-7277 9700 South Cass Avenue Facsimile:+1 (630) 252-4601 Building 240, Room 5.B.8 Internet: BSFinkel@anl.gov Argonne, IL 60439-4828 IBMMAIL: I1004994

Barry Finkel wrote:
Just below the
bin/arch --wipe newlist
command, it says
Finally, if your MTA uses aliases for mailman lists rather than some process that automatically understands list names from the contents of the lists/ directory, you will have to update your aliases. If you do this manually, edit your aliases to change 'oldlist' to 'newlist' (a total of 2 changes per alias for 10 aliases), and then run 'newaliases' or whatever command rebuilds your alias database. It you have Postfix/Mailman integration, just run bin/genaliases.
What should I do to make this more obvious? I just put the "bin/genaliases" part in a code box like the other commands. Does that help?
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

On 03/04/11 12:12, Mark Sapiro wrote:
I missed that piece, maybe because it was not in a box. Another related question - I have 437 lists. The genaliases command ran for over a minute (I did not time it). During that time I received some mail stating that a list name was "User unknown in local recipient table". Do I need to stop Postfix while genaliases is running?
Maybe just editting the aliases file and then running the Postfix "newaliases" command is safer .
Barry S. Finkel Computing and Information Systems Division Argonne National Laboratory Phone: +1 (630) 252-7277 9700 South Cass Avenue Facsimile:+1 (630) 252-4601 Building 240, Room 5.B.8 Internet: BSFinkel@anl.gov Argonne, IL 60439-4828 IBMMAIL: I1004994

Barry Finkel wrote:
It would be a good idea. The genaliases/MTA interface is not too smart and only allows adding one list at a time. So it first empties the aliases and if applicable the virtual-mailman file and adds one list and runs the POSTFIX_ALIAS_CMD and POSTFIX_MAP_CMD commands. At this point, you only have aliases for one list and mail to any of the other 436 lists will bounce. It then proceeds to add and update one list at a time.
Maybe just editting the aliases file and then running the Postfix "newaliases" command is safer .
Yes, that would be safer, but run the Postfix postalias command to update aliases.db. newaliases by default (without the -oA option) updates those aliases listed in Postfix's alias_database directive and if you follow our recommandations, Mailman's aliases file is listed only in alias_maps. newaliases -oA is equivilent to postalias.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Barry Finkel wrote:
Just below the
bin/arch --wipe newlist
command, it says
Finally, if your MTA uses aliases for mailman lists rather than some process that automatically understands list names from the contents of the lists/ directory, you will have to update your aliases. If you do this manually, edit your aliases to change 'oldlist' to 'newlist' (a total of 2 changes per alias for 10 aliases), and then run 'newaliases' or whatever command rebuilds your alias database. It you have Postfix/Mailman integration, just run bin/genaliases.
What should I do to make this more obvious? I just put the "bin/genaliases" part in a code box like the other commands. Does that help?
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

On 03/04/11 12:12, Mark Sapiro wrote:
I missed that piece, maybe because it was not in a box. Another related question - I have 437 lists. The genaliases command ran for over a minute (I did not time it). During that time I received some mail stating that a list name was "User unknown in local recipient table". Do I need to stop Postfix while genaliases is running?
Maybe just editting the aliases file and then running the Postfix "newaliases" command is safer .
Barry S. Finkel Computing and Information Systems Division Argonne National Laboratory Phone: +1 (630) 252-7277 9700 South Cass Avenue Facsimile:+1 (630) 252-4601 Building 240, Room 5.B.8 Internet: BSFinkel@anl.gov Argonne, IL 60439-4828 IBMMAIL: I1004994

Barry Finkel wrote:
It would be a good idea. The genaliases/MTA interface is not too smart and only allows adding one list at a time. So it first empties the aliases and if applicable the virtual-mailman file and adds one list and runs the POSTFIX_ALIAS_CMD and POSTFIX_MAP_CMD commands. At this point, you only have aliases for one list and mail to any of the other 436 lists will bounce. It then proceeds to add and update one list at a time.
Maybe just editting the aliases file and then running the Postfix "newaliases" command is safer .
Yes, that would be safer, but run the Postfix postalias command to update aliases.db. newaliases by default (without the -oA option) updates those aliases listed in Postfix's alias_database directive and if you follow our recommandations, Mailman's aliases file is listed only in alias_maps. newaliases -oA is equivilent to postalias.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Barry Finkel
-
Mark Sapiro