Dear All,

I am very happy using zimbra, now on our production server using 8.0.0.GA.5434.UBUNTU12.64 UBUNTU12_64 FOSS edition with Ubuntu 12.04 server. I will explain the situation:

Domain
We have real domain: example.com
We have local domain: example.local

User
example user real domain: a@example.com
example user local domain: a@example.local

We pull all email on example.com using fetchmail, everything goes work fine, example:
fetchmail pull emailbox a@example.com and distribute to a@example.local.

My question is:
when a@example.local send mail from (outlook, zimbra webmail) to example: b@gmail.com, the header to: read as a@example.local not a@example.com.
question:
How to config situation like that on zimbra?

before using zimbra i use postfix + mysql, with configuration like this:

recipient_canonical_maps = use for routing email from local user, so local user can send email each other
sender_canonical_maps = use to return email address to the origin address at the time of the reply.

contain /etc/postfix/recipient_canonical :
a@example.com a@example.local

contain /etc/postfix/sender_canonical:
@example.local @example.com
and then i postmap that canonical, and restart the postfix, and

when user: a@example.local send mail to b@gmail.com, the header To: read as a@example.com, so b@gmail.com can send/reply to a@example.com, and then fetcmail pull mailbox a@example.com and distribute to a@example.local.

I appreciate to all zimbra users who have situation like this to give a clue or answer, how make this in zimbra.

Many thanks for the information and support.

Regards,