[Mailman-Users] stange domain/url question

Mark Sapiro msapiro at value.net
Thu Jul 20 17:10:18 CEST 2006


Anne Ramey wrote:
>
>Mark Sapiro wrote:
>>
>> Well then is your site list named 'mailman-admin' (I assumed it was
>> 'mailman')?
>>   
>No, it's names mailman.  I can only assume the admin address is left 
>over after upgrade.


I've looked more deeply and found it is a bug in pre-Mailman 2.1.6
bin/newlist. That address is created as x-y at z where x comes from the
Defaults.py/mm_cfg.py setting MAILMAN_SITE_LIST, y should be 'owner'
but pre-2.1.6 is 'admin', and z is the list's host_name attribute.

Fixing the VIRTUAL_HOSTS dictionary and DEFAULT_*_HOST in mm_cfg.py
will take care of the host_name for new lists.

If you can live with the mailman-admin address in the notice, that's
fine, but note that if you actually mail to that address, it will only
get to the 'mailman' list owner if unrecognized bounce forwarding is
on and will be forwarded as an unrecognized bounce.

If you want to fix this in pre-2.1.6, find the line

        siteadmin = Utils.get_site_email(mlist.host_name, 'admin')

and change it to

        siteadmin = Utils.get_site_email(mlist.host_name, 'owner')

in both bin/newlist and Mailman/Cgi/create.py.

-- 
Mark Sapiro <msapiro at value.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