On 1 Aug 2004, at 23:01, David N. Welton wrote:


[ Please CC replies to me. ]

Hi,

I've been googling for a few hours and haven't seemed to hit on the
answer.

The problem (where 'example' is my domain):

1) From http://lists.example.com/cgi-bin/mailman/create how do I make
   it actually create a lists.example.com mailing list.  The mails it
   send me are all along the lines of [EMAIL PROTECTED]

I have this in my config:

MTA = 'Postfix'
POSTFIX_ALIAS_CMD = '/usr/sbin/postalias'
POSTFIX_MAP_CMD = '/usr/sbin/postmap'
DEFAULT_EMAIL_HOST = DEFAULT_HOST_NAME
DEFAULT_URL_HOST = DEFAULT_HOST_NAME
DEFAULT_SERVER_LANGUAGE = 'en'
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.example.com']
add_virtualhost('lists.example.com')


$prefix/Mailman/Defaults.py says:

<quote>
# Helper function; use this in your mm_cfg.py files. If optional emailhost is
# omitted it defaults to urlhost with the first name stripped off, e.g.
#
# add_virtualhost('www.dom.ain')
# VIRTUAL_HOST['www.dom.ain']
# ==> 'dom.ain'
#
def add_virtualhost(urlhost, emailhost=None):
DOT = '.'
if emailhost is None:
emailhost = DOT.join(urlhost.split(DOT)[1:])
VIRTUAL_HOSTS[urlhost.lower()] = emailhost.lower()
</quote>


so you may want to say:

add_virtualhost('lists.example.com', 'lists.example.com')

And yet it just uses the version sans 'list' in front of it.  Any
ideas on how to turn this off?

Thankyou,
--
David N. Welton
     Personal: http://www.dedasys.com/davidw/
Free Software: http://www.dedasys.com/freesoftware/
   Apache Tcl: http://tcl.apache.org/
       Photos: http://www.dedasys.com/photos/

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

Reply via email to