[Pkg-mailman-hackers] Bug#440157: newlist description <-> behaviour disagreement
martin f krafft
madduck at debian.org
Thu Aug 30 10:21:06 UTC 2007
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:
mylist at www.mydom.ain
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 <madduck at debian.org>
: :' : 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
Url : http://lists.alioth.debian.org/pipermail/pkg-mailman-hackers/attachments/20070830/7fa7e803/attachment.pgp
More information about the Pkg-mailman-hackers
mailing list