[Mailman-Developers] --with-user and qmail-to-mailman.py

Sebastian Wieseler sebastian at nanofortnight.org
Tue Oct 23 03:23:39 CEST 2007


Hello.


If I use "--with-user" I got some errors with qmail-to-mailman.py.
That's why it has got on line 67:

	local = re.sub("^mailman-","",local)

But "mailman" isn't correct, because of "--with-user". Can you please
fix that with something like:

	local = re.sub("^" + os.environ['USER'] + "-","",local)

or even better

	re.escape(os.environ["USER"])


Lots of greetings
Sebastian 'kickino' Wieseler, one of the Savannah admins,

-- 
  ,= ,-_-. =.           /"\
 ((_/)o o(\_))          \ /    ASCII Ribbon Campaign
  `-'(. .)`-'   &&       X      against HTML e-mail
      \_/               / \




More information about the Mailman-Developers mailing list