Mailman and Postfix-style Virtual Domains (not a problem, only a question!)
![](https://secure.gravatar.com/avatar/a8b2b5849b0bce082bb77d139b8c1c66.jpg?s=120&d=mm&r=g)
Hey list,
I'm maintaining a server with Postfix and Mailman including Postfix-style virtual domains. This works fine so far. But is it normal that the creation of a list for a virtual subdomain ($prefix/bin/newlist -e subdomain listname) not only creates entries in $prefix/data/virtual-mailman, but also in the aliases file for the "main" domain ($prefix/data/aliases)? I didn't find anything on the web, there are only issues related to non-found hash DBs or missing virtual domains etc.
But in mailman-install.pdf which I used for the installation, there's the following sentence: "Mailman’s support of virtual domains is limited in that list names must be globally unique within a single Mailman instance, i.e., two lists may not have the same name even if they are in different domains."
Is that related? Or am I doing something wrong?
--Norbert
P.S.: I'm rather new to Mailman, but I think that I've understood it basically.
![](https://secure.gravatar.com/avatar/8381104a4d879780b22b7a0c595641c2.jpg?s=120&d=mm&r=g)
On Sun, 30 Sep 2012, Norbert Aschendorff wrote:
Yes, this is normal. Compare and contrast the following example from virtual-mailman
staff@mintfm.net staff staff-admin@mintfm.net staff-admin staff-bounces@mintfm.net staff-bounces staff-confirm@mintfm.net staff-confirm staff-join@mintfm.net staff-join staff-leave@mintfm.net staff-leave staff-owner@mintfm.net staff-owner staff-request@mintfm.net staff-request staff-subscribe@mintfm.net staff-subscribe staff-unsubscribe@mintfm.net staff-unsubscribe
with the equivalent from aliases:
staff: "|/var/lib/mailman/mail/mailman post staff" staff-admin: "|/var/lib/mailman/mail/mailman admin staff" staff-bounces: "|/var/lib/mailman/mail/mailman bounces staff" staff-confirm: "|/var/lib/mailman/mail/mailman confirm staff" staff-join: "|/var/lib/mailman/mail/mailman join staff" staff-leave: "|/var/lib/mailman/mail/mailman leave staff" staff-owner: "|/var/lib/mailman/mail/mailman owner staff" staff-request: "|/var/lib/mailman/mail/mailman request staff" staff-subscribe: "|/var/lib/mailman/mail/mailman subscribe staff" staff-unsubscribe: "|/var/lib/mailman/mail/mailman unsubscribe staff"
The first one maps from the actual Email address (including domain) to the alias for the list. The second points these aliases to the commands they actually need to run.
Right. If I made another staff list in a different domain, the stock Mailman would still point it to the alias "staff".
Is that related? Or am I doing something wrong?
Providing you aren't wanting to make two lists with the same name in two different domains, you're doing just fine.
Geoff.
![](https://secure.gravatar.com/avatar/8381104a4d879780b22b7a0c595641c2.jpg?s=120&d=mm&r=g)
On Sun, 30 Sep 2012, Norbert Aschendorff wrote:
Yes, this is normal. Compare and contrast the following example from virtual-mailman
staff@mintfm.net staff staff-admin@mintfm.net staff-admin staff-bounces@mintfm.net staff-bounces staff-confirm@mintfm.net staff-confirm staff-join@mintfm.net staff-join staff-leave@mintfm.net staff-leave staff-owner@mintfm.net staff-owner staff-request@mintfm.net staff-request staff-subscribe@mintfm.net staff-subscribe staff-unsubscribe@mintfm.net staff-unsubscribe
with the equivalent from aliases:
staff: "|/var/lib/mailman/mail/mailman post staff" staff-admin: "|/var/lib/mailman/mail/mailman admin staff" staff-bounces: "|/var/lib/mailman/mail/mailman bounces staff" staff-confirm: "|/var/lib/mailman/mail/mailman confirm staff" staff-join: "|/var/lib/mailman/mail/mailman join staff" staff-leave: "|/var/lib/mailman/mail/mailman leave staff" staff-owner: "|/var/lib/mailman/mail/mailman owner staff" staff-request: "|/var/lib/mailman/mail/mailman request staff" staff-subscribe: "|/var/lib/mailman/mail/mailman subscribe staff" staff-unsubscribe: "|/var/lib/mailman/mail/mailman unsubscribe staff"
The first one maps from the actual Email address (including domain) to the alias for the list. The second points these aliases to the commands they actually need to run.
Right. If I made another staff list in a different domain, the stock Mailman would still point it to the alias "staff".
Is that related? Or am I doing something wrong?
Providing you aren't wanting to make two lists with the same name in two different domains, you're doing just fine.
Geoff.
participants (2)
-
Geoff Shang
-
Norbert Aschendorff