Re: [Mailman-Users] mailman + postfix + virtual domains

On 29/01/2002 00:50:12 Patrick Ben Koetter wrote:
I have a postfix daemon running, accepting and delivering mails for my local domain and a few virtual domains. Now I want to integrate mailman as listserver for one of the virtual (!) domains.
My problem is: The output generated by bin/newlist applies for 'alias'-style maps and not for a postfix 'virtual' map. And this is where my problems start:
I'm uncertain how this might work on one machine as I host many virtual domains on a relay while the list servers are on other machines. However, for what it might or might not be worth:
Relay's virtual file
lists.this.domain.tld DOMAIN @lists.this.domain.tld @lists.real.address # sends all mail for @lists to lists machine
On the lists machine aliases as normal.
Now perusing the Postfix book it looks as if you should be able to do what you want on one machine like this:
/etc/postfix/virtual
virtual.domain DOMAIN list@virtual.domain list list-admin@virtual.domain list-admin list-request@virtual.domain list-request list-owner@virtual.domain list-admin
another.domain DOMAIN thing@another.domain thing thing-admin@another.domain thing-admin thing-request@another.domain thing-request thing-owner@another.domain thing-admin
/etc/postfix/aliases
list: "|/mailman/mail/wrapper post list" list-admin: "|/mailman/mail/wrapper mailowner list" list-request: "|/mailman/mail/wrapper mailcmd list" list-owner: list-admin
thing: "|/mailman/mail/wrapper post thing" thing-admin: "|/mailman/mail/wrapper mailowner thing" thing-request: "|/mailman/mail/wrapper mailcmd thing" thing-owner: thing-admin
However since each "list" in a virtual domain points at a local "user" and those local users must be unique so too the list names must be unique over ALL the virtual domains:
ie you cannot have
mylist@virtual.domain and mylist@seconddomain.
Mmm... perhaps worth saying again, I'm looking at a book, I *haven't* set it up like this myself.
Matthew
NB: The book refered to is "Postfix", by Richard Blum, Sams Publishing. ISBN 0-672-32114-9

Hi Matthew,
your idea works like a charm. Shame on me, I have the same book. :( You have the book and the better understanding. :)
thanks,
p@rick
I have a postfix daemon running, accepting and delivering mails for my local domain and a few virtual domains. Now I want to integrate mailman as listserver for one of the virtual (!) domains.
My problem is: The output generated by bin/newlist applies for 'alias'-style maps and not for a postfix 'virtual' map. And this is where my problems start:
Now perusing the Postfix book it looks as if you should be able to do what you want on one machine like this:
/etc/postfix/virtual
virtual.domain DOMAIN list@virtual.domain list list-admin@virtual.domain list-admin list-request@virtual.domain list-request list-owner@virtual.domain list-admin
another.domain DOMAIN thing@another.domain thing thing-admin@another.domain thing-admin thing-request@another.domain thing-request thing-owner@another.domain thing-admin
/etc/postfix/aliases
list: "|/mailman/mail/wrapper post list" list-admin: "|/mailman/mail/wrapper mailowner list" list-request: "|/mailman/mail/wrapper mailcmd list" list-owner: list-admin
thing: "|/mailman/mail/wrapper post thing" thing-admin: "|/mailman/mail/wrapper mailowner thing" thing-request: "|/mailman/mail/wrapper mailcmd thing" thing-owner: thing-admin
However since each "list" in a virtual domain points at a local "user" and those local users must be unique so too the list names must be unique over ALL the virtual domains:
ie you cannot have
mylist@virtual.domain and mylist@seconddomain.
Mmm... perhaps worth saying again, I'm looking at a book, I *haven't* set it up like this myself.
Matthew
NB: The book refered to is "Postfix", by Richard Blum, Sams Publishing. ISBN 0-672-32114-9
participants (2)
-
matthew.malthouseļ¼ guardian.co.uk
-
Patrick Ben Koetter