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
[EMAIL PROTECTED]                    list
[EMAIL PROTECTED]              list-admin
[EMAIL PROTECTED]            list-request
[EMAIL PROTECTED]              list-admin

another.domain                         DOMAIN
[EMAIL PROTECTED]                   thing
[EMAIL PROTECTED]             thing-admin
[EMAIL PROTECTED]           thing-request
[EMAIL PROTECTED]             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

[EMAIL PROTECTED]  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




------------------------------------------------------
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users

Reply via email to