[Mailman-Users] Confused on Vhost and URL's

Mark Sapiro mark at msapiro.net
Fri Feb 1 01:33:44 CET 2008


audit wrote:

>I converted some mail lists over from one domain to another when I 
>changed from sendmail to postfix. Everything's working great except for 
>one problem. When I run the command  flatlined /usr/local/mailman# 
>bin/withlist -l -r fix_url bb-help -u www.domain.com then the lists info 
>shows as If you are having trouble using the lists, please contact 
>mailman at www.domain.com.
>
>I'm trying to get rid of the please contact mailman at www.domain.com and 
>have it show as mailman at domain.com
>
>If I run it as bin/withlist -l -r fix_url bb-help -u domain.com
>then it does but then it doesn't show up as being on the public mail 
>lists under http://www.domain.com/mailman/listinfo


Make sure you have

add_virtualhost('www.domain.com', 'domain.com')

in mm_cfg.py. Then run the first command above. fix_url sets the
webhost from the -u option and then tries to look up the corresponding
email host. If there is no add_virtualhost() for the web host, the
lookup fails and fix_url uses the web host as the email host.

-- 
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