[Mailman-Users] Yet another "mailman on a nonstandard port" question

Todd Freedom_Lover at pobox.com
Mon Dec 29 00:03:04 CET 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael Baehr wrote:
> I've set up Apache to listen on a nonstandard port (312) and configured 
> Mailman 2.1.3 to do the same.
>
> I have replaced my host with foo.com.  Here is my mm_cfg.py:
>
> MTA = 'Postfix'
> IMAGE_LOGOS = '/icons/'
> DEFAULT_EMAIL_HOST = 'mail.foo.com'
> DEFAULT_URL_HOST = 'foo.com'
> DEFAULT_URL_PATTERN = 'http://%s:312/mailman/'
> PUBLIC_ARCHIVE_URL = 'http://%(hostname)s:312/pipermail/%(listname)s'
> # add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)

You show here that you've got add_virtualhost commented out.  So,
according to the comments in Defaults.py, the values you entered in
mm_cfg.py won't get used properly:

    # If you don't need to change DEFAULT_EMAIL_HOST and
    # DEFAULT_URL_HOST in your mm_cfg.py, then you're done; the
    # default mapping is added automatically.  If however you change
    # either variable in your mm_cfg.py, then be sure to also include
    # the following:
    #
    #     add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)

I would be curious to know what the settings for DEFAULT_URL_HOST and
DEFAULT_EMAIL_HOST are in Defaults.py.

- -- 
Todd        OpenPGP -> KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp
======================================================================
You have to be 100% behind someone, before you can stab them in the
back.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: When crypto is outlawed bayl bhgynjf jvyy unir cevinpl.

iD8DBQE/72Eouv+09NZUB1oRAjY/AJwID595mhX33BOKwIVCl1J/D7hvWwCg/JH7
aPUyLacOZzFCxK+NQSHxpg0=
=Q2Pp
-----END PGP SIGNATURE-----




More information about the Mailman-Users mailing list