[Mailman-Users] virtualhost clarification

Bradley Glonka bradley at pistonbroke.com
Sat Jul 19 19:02:13 CEST 2003


> 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.

No Luck!!
I'm wondering if I'm using add_virtualhost incorrectly?
Maybe its usage is:
add_virtualhost('lists.domain.com', 'lists.domains.com')
????

OR maybe this is a function of Sendmail?  (I don't think so) I'm using a default
Red Hat config of sendmail.

Or maybe the add_virtualhost needs to be in the Default.py?

--







More information about the Mailman-Users mailing list