There is a FAQ entry on thius topic. As it points out, changing things in mm_cfg.pyt will not affect existing lists. For that you need to run fix_url.py; see the FAQ entry:

http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.029.htp

On Saturday, July 19, 2003, at 05:57 PM, Bradley Glonka wrote:


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: [EMAIL PROTECTED]
[...]
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?

--


------------------------------------------------------
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to