[Mailman-Users] virtualhost clarification

Todd Freedom_Lover at pobox.com
Sat Jul 19 18:41:29 CEST 2003


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

Bradley Glonka wrote:
> I want emails to look as though they are coming from the virtual hosts
> address (lists.domain.com).  However the from address says
> From: list at realhostname.domain.com.
[...]
> I've added the following to mm_cfg.py
>
> add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
> OWNERS_CAN_ENABLE_PERSONALIZATION = 1
> DEFAULT_EMAIL_HOST = 'lists.domain.com'
> DEFAULT_URL_HOST = 'lists.domain.com'
> DEFAULT_URL_PATTERN = 'https://%s/mailman/'
[...]
> From the INSTALL file:
> ----------------------------------------------------------
>     - Check the values for DEFAULT_EMAIL_HOST and DEFAULT_URL_HOST in
>       Defaults.py.  Make any necessary changes in the mm_cfg.py file.
>       Note that if you change either of these two values, you'll want
>       to add the following afterwards in the mm_cfg.py file:
                             ^^^^^^^^^^
>           add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)

I could be wrong (and I could just still be asleep), but I believe you want
to move the add_virtualhost line *below* the the DEFAULT_*_HOST settings.
And then be sure to restart the mailmanctl daemon.

- -- 
Todd              OpenPGP -> KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp
============================================================================
If you don't drink, smoke, or drive a car, you're a tax evader.
    -- Rep. Thomas S. Foley, 1990

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

iD8DBQE/GXS4uv+09NZUB1oRAjooAKD353yRD5ZyZalvAoVaQBG+6Ns9AACfWf95
fcxl9arwpZJReq8oVIHtVAA=
=Ws13
-----END PGP SIGNATURE-----




More information about the Mailman-Users mailing list