View Single Post
  #9 (permalink)  
Old 01-13-2006, 04:06 PM
amitbapat amitbapat is offline
Intermediate Member
 
Posts: 19
Default 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 testlist@linux.lan locally.

Is that correct?
Reply With Quote