Debian Bug report logs - #345051
Please have postfix-to-mailman.py handle virtual domains

Package: mailman; Maintainer for mailman is Mailman for Debian <[email protected]>; Source for mailman is src:mailman (PTS, buildd, popcon).

Reported by: Sjoerd Simons <[email protected]>

Date: Wed, 28 Dec 2005 18:33:02 UTC

Severity: wishlist

Tags: patch

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Mailman for Debian <[email protected]>:
Bug#345051; Package mailman. (full text, mbox, link).


Acknowledgement sent to Sjoerd Simons <[email protected]>:
New Bug report received and forwarded. Copy sent to Mailman for Debian <[email protected]>. (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Sjoerd Simons <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: Please have postfix-to-mailman.py handle virtual domains
Date: Wed, 28 Dec 2005 19:13:02 +0100
[Message part 1 (text/plain, inline)]
Package: mailman
Severity: wishlist
Tags: patch

Hi,
  
  We're running one mailman installation for mailing lists of several different
  domains. And we don't want mail sent to <listA>@<domain1> to be accepted 
  when <listA> is set up for <domain2>.

  Attached patch makes it possible to configure postfix-to-mailman.py in a way
  that it only accepts mails when they are send to the right ___domain.

  I've called the configure parameter DEB_PUREVIRTUAL, to reflect the fact that
  this results in a pure virtual ___domain setting. And it obviously defaults to
  off.

  Sjoerd

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (101, 'experimental')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-rc4-powerpc
Locale: LANG=C, LC_CTYPE=nl_NL@euro (charmap=ISO-8859-15)
[mailman-purevirtual.patch (text/x-java, attachment)]

Information forwarded to [email protected], Mailman for Debian <[email protected]>:
Bug#345051; Package mailman. (full text, mbox, link).


Acknowledgement sent to Lionel Elie Mamane <[email protected]>:
Extra info received and forwarded to list. Copy sent to Mailman for Debian <[email protected]>. (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Lionel Elie Mamane <[email protected]>
To: Sjoerd Simons <[email protected]>, [email protected]
Cc: Debian Bug Tracking System <[email protected]>
Subject: Re: [Pkg-mailman-hackers] Bug#345051: Please have postfix-to-mailman.py handle virtual domains
Date: Wed, 28 Dec 2005 22:33:40 +0100
On Wed, Dec 28, 2005 at 07:13:02PM +0100, Sjoerd Simons wrote:

>   We're running one mailman installation for mailing lists of
>   several different domains. And we don't want mail sent to
>   <listA>@<domain1> to be accepted when <listA> is set up for
>   <domain2>.

>   Attached patch makes it possible to configure postfix-to-mailman.py in a way
>   that it only accepts mails when they are send to the right ___domain.

I run a similar setup in Exim. You have to take care of _one_ thing:
The "mailman" list must be accepted on _all_ virtual domains that have
lists. Mailman sends email out with sender set to
mailman@${VIRTUAL_DOMAIN}. You probably want to modify your patch to
do that.

>   I've called the configure parameter DEB_PUREVIRTUAL, to reflect
>   the fact that this results in a pure virtual ___domain setting. And
>   it obviously defaults to off.

I see no reason for this not to be the only behaviour.

-- 
Lionel



Information forwarded to [email protected], Mailman for Debian <[email protected]>:
Bug#345051; Package mailman. (full text, mbox, link).


Acknowledgement sent to [email protected] (Sjoerd Simons):
Extra info received and forwarded to list. Copy sent to Mailman for Debian <[email protected]>. (full text, mbox, link).


Message #15 received at [email protected] (full text, mbox, reply):

From: [email protected] (Sjoerd Simons)
To: Lionel Elie Mamane <[email protected]>
Cc: Sjoerd Simons <[email protected]>, [email protected]
Subject: Re: [Pkg-mailman-hackers] Bug#345051: Please have postfix-to-mailman.py handle virtual domains
Date: Wed, 28 Dec 2005 23:38:02 +0100
[Message part 1 (text/plain, inline)]
On Wed, Dec 28, 2005 at 10:33:40PM +0100, Lionel Elie Mamane wrote:
> On Wed, Dec 28, 2005 at 07:13:02PM +0100, Sjoerd Simons wrote:
> 
> >   We're running one mailman installation for mailing lists of
> >   several different domains. And we don't want mail sent to
> >   <listA>@<domain1> to be accepted when <listA> is set up for
> >   <domain2>.
> 
> >   Attached patch makes it possible to configure postfix-to-mailman.py in a way
> >   that it only accepts mails when they are send to the right ___domain.
> 
> I run a similar setup in Exim. You have to take care of _one_ thing:
> The "mailman" list must be accepted on _all_ virtual domains that have
> lists. Mailman sends email out with sender set to
> mailman@${VIRTUAL_DOMAIN}. You probably want to modify your patch to
> do that.

Good point. I've adapted the patch to accept mails send to
mm_cfg.MAILMAN_SITE_LIST on all virtual domains. New patch attached.
  
> >   I've called the configure parameter DEB_PUREVIRTUAL, to reflect
> >   the fact that this results in a pure virtual ___domain setting. And
> >   it obviously defaults to off.
> 
> I see no reason for this not to be the only behaviour.

Well, it's a change in behaviour, so imho one should be very carefull when
introducing it in the mailman package. 

Apart from that it causes a small performance hit, for each mail the mailing
list configdb has to be parsed to check the ___domain. When one is not using
virtual domains, this is just wasted time. 

  Sjoerd
-- 
Quark!  Quark!  Beware the quantum duck!
[mailman-purevirtual.patch (text/plain, attachment)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Thu May 15 16:08:13 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.