Topic: Need Migration to IRedMail assistance
I think that I need a little help here let me start off by saying that I am pretty much a novice in mail system
administration. I will do my best to layout my scenario. I am in the process of preparing to roll
out my new IRedMail server, and there are a few things I am unsure about. We currently have an older postfix server that
accepts mail as the final destination for our domain. It is behind a postfix gateway. What I am trying to do is make it so
I can run the two servers in parallel during the cut over to the new system.
From what I have read I should be able to easily set up the gateway machine to act as a mail hub by
1) Creating a transport map with entries for each of the two servers, as below
and setting the postfix parameter transport_maps = hash:/etc/postfix/transport to point to the hashsed version.
2) Creating a virtual map to map each users address to the correct server as such
and so on for each user that I want to accept mail for. Then set this up in the main.cf
virtual_maps = hash:/etc/postfix/virtual
And Please correct me if I am wrong. The question that I have is basically what do I have to do on the IRedMail machine to make sure that all the mail coming to the machines hostname proper goes to the virtual domain that I have set up?
ie mail comes from the gateway to firstname.lastname@example.org but the virtual domain that I have configured is example.com
so do I have to do some mapping on the machine to map email@example.com to firstname.lastname@example.org in order for the mail to be accepted? Any assistance would be greatly appreciated. Thank you in advance.