Philip M. White wrote: > >So I wonder, is there any clean way of getting Mailman to append >[EMAIL PROTECTED]' to every virtuals line?
I'm a little confused here. If you have MTA = 'Postfix' in mm_cfg.py, Mailman uses the Mailman/MTA/Postfix.py to update the 'aliases' and 'virtual-mailman' files when creating or deleting a list. On creation, Postfix.py checks the host_name of the list and if it is in POSTFIX_STYLE_VIRTUAL_DOMAINS, it adds entries to the 'virtual-mailman' file that look like [EMAIL PROTECTED], [EMAIL PROTECTED], etc. It looks to me as though if you create a list with host_name (email host) of 'localhost', you get what you want as long as 'localhost' is in POSTFIX_STYLE_VIRTUAL_DOMAINS in mm_cfg.py. Perhaps there are reasons why this won't work in your case, but I don't understand why the entries don't have '@something' appended in any case. If creating the list with host_name of 'localhost' is not a solution, and I can see that it may well not be becauses of the other uses of host_name, the only alternative is to modify Mailman/MTA/Postfix.py. You can do this 'cleanly' by storing the modified version as (e.g.) Mailman/MTA/localPostfix.py and then putting MTA = 'localPostfix' in mm_cfg.py. In this way, your modified version will not be overwritten when Mailman is upgraded. -- Mark Sapiro <[EMAIL PROTECTED]> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list [email protected] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp
