Re: a small problem with mailman

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Scott Berry wrote:
> I have a bit of a problem with mailman here.  When I go to use
> "/usr/lib/mailman/bin/update" and after setting everything the way
> that the mm_cfg.py says I get this trace back error:

> [root@pilotalk ~]# /usr/lib/mailman/bin/update
> Traceback (most recent call last):
>   File "/usr/lib/mailman/bin/update", line 49, in <module>
>     from Mailman import mm_cfg
>   File "/usr/lib/mailman/Mailman/mm_cfg.py", line 80, in <module>
>     DEFAULT_URL_HOST = www.pilotalk.com
> NameError: name 'www' is not defined
> 
> I am assuming the lines of the mm_cfg.py which it is having trouble
> with are these three lines:
> 
> DEFAULT_URL_HOST = www.pilotalk.com
> DEFAULT_EMAIL_HOST = pilotalk.com
> add_virtualhostwww.pilotalk.com, pilotalk.com
> 
> Any help would be appreciated.

You just need to quote the values.  Instead of what you have, try:

DEFAULT_URL_HOST = 'www.pilotalk.com'
DEFAULT_EMAIL_HOST = 'pilotalk.com'
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)

You can use the variable names (DEFAULT_*_HOST) so you don't have to
change them in two places some day. :)

P.S.: This message had HTML and plain text versions.

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If the world didn't suck, we'd all fall off.

Attachment: pgpjypLrNff8a.pgp
Description: PGP signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux