For years i've hosted a mailserver, 5 domains ~200 emailadresses.
I'm considering closing down the powerhogging server, but I want to go easy not disturbing the users more than neccesary, and let them keep their addresses and domains.
My thoughts is putting a Raspberry/Debian between the firewall and the existing smtpserver, as sort of proxy, recieving smtp port 25, and forward ALL mail to port 25 on the old server. Then by and by, make accounts elsewhere (mostly gmail)
Then make each single virtualusers redirect, one by one, as progress of the users.
What I ask: is this possible at all? (Postfix or Exim)
I imagine virtuser something like:
Me@mydomain.here my.newaddress@gmail.com
Myfriend@hisdomain some.newaddress@jubii.com
*@mydomain.here 192.168.1.8
*@hisdomain.here 192.168.1.8
*@3domain.here 192.168.1.8
Obviously 192.168.1.8 being my existing mailserver.
Would this approach keep the originating sender?
I'm aware that from: in replies depend on setting at the new destination.
When all active mailadresses are forwarded elsewhere, I'll remove the grab-rest entries, and shut down the powerhungry server
hopefully I've expressed myself clearly?
greetings
//finn