Mailman and virtual domains

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Mailman and virtual domains

Seba Mueld
I want to setup a mailinglist with postfix virtual domains.

For example:

Postfix receives mail for three domains. The "main" domain is,
the FQDN of my mailserver is "". The other two domains

For mailman I will use a seperate domain named "". As LDA
I use the dovecot LDA. My current config is (relevant config informations):

myhostname =
mydestination = $mydomain, $myhostname.$mydomain,
local_recipient_maps = $virtual_mailbox_maps, $virtual_alias_maps,hash:/var/lib/mailman/data/aliases
alias_maps = hash:/etc/aliases
virtual_gid_maps = static:5000
virtual_uid_maps = static:5000
virtual_mailbox_maps = hash:/etc/postfix/virtual_mailbox_recipients
virtual_alias_maps = hash:/etc/postfix/virtual_mailbox_aliases
virtual_mailbox_domains =,
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1
local_transport = dovecot
show_user_unknown_table_name = no
unknown_client_reject_code = 550
transport_maps = hash:/etc/postfix/transport
mailman_destination_recipient_limit = 1


[hidden email]
[hidden email]
[hidden email]


[hidden email] [hidden email]
[hidden email]  [hidden email]
[hidden email]  [hidden email]

/etc/postfix/transport:     mailman:


# contains the auto-generated aliases...


# This is not used in the current setup...

This works so far but I'm not sure if this is the recommend setup...

Alternate setup?

On there's a
note that "virtual_alias_domains" should be used as described in I've tried so setup an alternate
method without a transport_map but then the recipient gets rewritten
to "[hidden email]" and delivered through the local tranport
(dovecot) instead of mailman...

Any tips,hints? Thanks.

Best regards,

Gesendet von Yahoo! Mail.
Dem pfiffigeren Posteingang.