[SOLVED] Integration with Mailman
I am trying to integrate Zimbra Postfix with Mailman and I'm stuck.
Here is an excerpt from Mailman installation guide :
I know that there is already a virtual_alias_maps table setup (with ldap lookup, in Zimbra Postfix). What I could not understand is the comment about "virtual-alias.doman anything" entry.
First, you need to set up the Postfix virtual alias domains as described in the Postfix documentation (see Postfix's virtual(5) manpage). Note that it's your responsibility to include the virtual-alias.domain anything line as described manpage; Mailman will not include this line in virtual-mailman. You are highly encouraged to make sure your virtual alias domains are working properly before integrating with Mailman.
Has anybody tried integrating mailman with Zimbra?
how about removing linux.lan domain from Zimbra
I really don't need to receive mail for linux.lan. All my real accounts are on domain.com and domain2.com. I only created linux.lan domain in Zimbra because that was the default option when I installed.
What if I remove the linux.lan domain from zimbra and move the Zimbra SPAM and Zimbra HAM account from the linux.lan domain to domain.com?
Will that force postfix to deliver mail for linux.lan locally? Because then there would be no entry for linux.lan in virtual_mailbox_domains and postfix will be forced to use local_recipient_maps to deliver.
Here's my thinking, let me know if it is correct:
on a RCPT TO: address, postfix searches virtual_alias_domains, virtual_mailbox_domains. Since linux.lan won't be there it'll try to match it to myhostname which happens to be linux.lan so it'll match.
and since local_transport is set to local:$myhostname, now postfix will be forced to deliver email@example.com locally.
Is that correct?