Package: mailman
Severity: normal
Version: 2.1.5-9

I have a fairly stock, although manu times upgraded mailman installation
here, and am using apache2 as my web server. I used the web interface to
create a list, and that failed with the error message "Error: Unknown
virtual host: kitenet.net"."

I found a FAQ about this:
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.029.htp
Looking at the mm_cfg.py on my system, it had this:

DEFAULT_HOST_NAME = 'kitenet.net'
DEFAULT_URL       = 'http://kitenet.net/cgi-bin/mailman/'
DEFAULT_EMAIL_HOST = 'kitenet.net'
DEFAULT_URL_HOST = 'kitenet.net'

But was missing the virtual hosts lines. I added these two lines to the file
and the problem went away:

VIRTUAL_HOSTS.clear()
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)

Shouldn't the package make sure those lines are present on install/upgrade?

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.27
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to