Package: mailman
Version: 2.1.9-7
Severity: normal

newlist --help output says:

  For backward compatibility, you can also specify the domain to
  create your new list in by spelling the listname like so:

      [EMAIL PROTECTED]

  where www.mydom.ain is used for `urlhost' ***but it will also be used
  for `emailhost' if it is not found in the virtual host table***. Note
  that '--urlhost' and '--emailhost' have precedence to this
  notation.

But the code disagrees:

    if '@' in listname:
        # note that --urlhost and --emailhost have precedence
        listname, domain = listname.split('@', 1)
        urlhost = urlhost or domain
        emailhost = emailhost or mm_cfg.VIRTUAL_HOSTS.get(domain, domain)

Note how emailhost never gets a chance to assume the value of domain.

-- 
 .''`.   martin f. krafft <[EMAIL PROTECTED]>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

Reply via email to