Hi Martin! On Thursday 30 August 2007 12:58, martin f krafft wrote: > Package: mailman > Version: 2.1.9-7 > Severity: normal > Tags: patch > > No use in determining emailhost if you don't actually pass it on.
Thanks - but a few rows below is this:
# Assign domain-specific attributes
mlist.host_name = host_name
(host_name is set to emailhost earlier)
emailhost can indeed be passed to Create() aswell... is there a specific
problem you've experienced that this solved?
Thijs
> --- /tmp/newlist 2007-08-30 12:45:13.953133384 +0200
> +++ /usr/sbin/newlist 2007-08-30 12:57:23.172717565 +0200
> @@ -201,7 +201,7 @@
> oldmask = os.umask(002)
> try:
> try:
> - mlist.Create(listname, owner_mail, pw)
> + mlist.Create(listname, owner_mail, pw,
> emailhost=emailhost) finally:
> os.umask(oldmask)
> except Errors.BadListNameError, s:
pgpPAeJ1uDRSv.pgp
Description: PGP signature

