Asai: > Greetings, > > Our organization is deploying a new upgraded Postfix server and we're > looking for various options to migrate users from the old to the new.? > One possibility, we hope, is to do it on a per user basis rather than > doing it all at once for a whole domain (which is also viable, but seems > to result in more downtime for users until IT staff can make their > rounds to their computers).? I have done some reading of documentation, > but I'm not clear on whether using relay_recipient_maps is an option, or > perhaps the transport_maps directive. > > So, is this possible in Postfix, to relay email from the old to the new > Postfix server on a per user basis, if so, what are some good options?
The following uses two transport maps and no changes in relay_recipient_maps: Assuming that both machines will accept mail for every user@the-domain-in-question: - One transport map on the new machine, that sends mail for non-migrated user@the-domain-in-question to the old machine. - One transport map on the old machine, that sends mail for migrated user@the-domain-in-question to the new machine. To migrate a user, delete her from the transport map on the new machine before adding her to the transport map on the old machine, otherwise mail will loop. Wietse