[Mailman-Users] Can mm_cfg.py use includes?

Scott Garron simba at vmailtest.ao.net
Thu Apr 27 22:41:42 CEST 2006


> You can't just put an add_virtualhost('a','b') line in a file and
> import it into mm_cfg.py, because 'add_virtualhost' is undefined in
> the file you're importing.

     Makes sense.  I was able to get it working by simply adding "from
Defaults import add_virtualhost" to the top of my vmail_cfg.py file. 
Thanks for your input!

--
Scott 'Simba' Garron




More information about the Mailman-Users mailing list