On 1/4/19 4:40 PM, David Newman wrote:
> 
> Actually, the localhost issue began _after_ I ran "bin/withlist -l -a -r
> fix_url" from the /usr/local/mailman directory and restarted the Mailman
> service.


In your OP you said

> mm_cfg.py mods:
> 
> ##################################################
> # Put YOUR site-specific settings below this line.
> MTA = 'Postfix'
> DEFAULT_URL_PATTERN = 'https://%s/mailman/'
> PUBLIC_ARCHIVE_URL = 'https://%(hostname)s/pipermail/%(listname)s'
> PRIVATE_ARCHIVE_URL = '/mailman/private'
> 
> # Clear the Defaults.py VIRTUAL_HOSTS entry
> # VIRTUAL_HOSTS.clear()
> 
> # other vhosts omitted from following line
> POSTFIX_STYLE_VIRTUAL_DOMAINS = [ 'lists.networktest.com' ]
> 
> # other vhosts omitted after following line
> add_virtualhost('lists.networktest.com','lists.networktest.com')
> 
> DEB_LISTMASTER = 'postmaster at networktest.com'
> 
> ALLOW_FROM_IS_LIST = Yes

Absent from this is

DEFAULT_URL_HOST = 'lists.networktest.com'
DEFAULT_EMAIL_HOST = 'lists.networktest.com'

If those are set to 'localhost' in Defaults.py, that could explain some
of this.

However, you also have comments about "other vhosts omitted". If you
actually have multiple vhosts, you can't run

bin/withlist -l -a -r fix_url

because that will set every list to whatever DEFAULT_URL_HOST is. You
need to run

bin/withlist -l -r fix_url LISTNAME --urlhost=HOST_FOR_THAT_LIST

for each list.

What do you get from

for list in `bin/list_lists --bare`; do
echo $list
bin/dumpdb lists/$list/config.pck|grep \'web_page_url\'
done


-- 
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to