Dear list,
sorry if this is a newbie question but I didn't find the answer by
myself and googling a lot.
the background:
I'm migrating from an old postfix server (2.3.8-2+etch1) to a zimbra
server. I have configured zimbra to be the mail server of the SAME
domain of the postfix server but keeping the MX field to the postfix
server. Using imapsync I can transfert mail from postfix to zimbra and
for the last step I plan to stop the postfix server, do the last
imapsync before setting the zimbra server as the MX for the domain and
cross finger that it will work.
the things I'd like to do
During my tests I have used transport maps and relay_recipient_maps to
transfert postfix address to zimbra address and it worked well but I
couldn't figure out how to keep a copy on the postfix server.
But I thought it would be nice to keep a copy of the incoming mails on
the postfix server since it works quite well and I'm not sure that I
have well configured zimbra. And I definitely don't want to loose mails !!
the questions:
1) is there a way in my case to keep a local copy on postfix (for me my
problem come from the fact that on both server emails are the same).
2) if my comprehension of the process is correct all the mail sent by
zimbra to a local address won't search the MX field for the domain and
will be probably put directly in the mailboxes and if I can keep a local
copy on the postfix server it will only be for those coming from the
outside world. Is it correct?
3) How will the aliases be handled in that case? If i have a list on the
postfix server like l...@lpn.cnrs.fr will it be forwarded as is on the
zimbra server of it will be first expanded into email address on the
postfix server before being forwarded to the zimbra server?
4) If i cannot keep a local copy do I have a chance that stopping
postfix, doing imapsync, and changing MX will be a working solution? I
guess this is unanswearable question given the too little information
but maybe someone is doing the same right now and have some experience
to share.
some more info:
in the postfix main.cf I have
transport_maps = hash:/etc/postfix/transport
relay_recipient_maps=hash:/etc/postfix/relay_recipients
/etc/postfix/transport
lorenzo.berna...@lpn.cnrs.fr relay:[zimbra.lpn.cnrs.fr]
and
/etc/postfix/relay_recipients
lorenzo.berna...@lpn.cnrs.fr OK
sorry for the long post and I hope the answer is not RTFM otherwise I
should buy a new brain (or change job ;) )
sincerely
L.