I'm looking around for a solution allowing remote mail clients to connect their own mail servers of their own domain.
The network setup as follow;
On a Xen box (a virtual box)
Host - workstation connected to external IP (Only one external IP)
guest1 - mail server for routing running postfix, mysql, courier-imap, etc.
guest2 - domain-1 mail server running postfix, courier-imap, etc.
guest3 - domain-2 mail server running postfix, courier-imap, etc.
guest4 - domain-3 mail server running postfix, courier-imap, etc.
The whole system is working nicely. All incoming mails of different domain are routed by guest1 to their own mail server. Mail clients, Evolution, running on workstations connected to the local network can send/receive mails via respective mail server without problem.
Now I'm trying to figure out how to allow remote clients to send/receive mails on their own server. Because there is only ONE external IP.
I tried perdition;
Unfortunately I can't make it to work.
After heavy searching I found;
MySQL Proxy project
However I have no idea where to start. Can any folk shed me some light? Is there another solution? TIA
The host is NOT involved in the system. All ports are forwarded to the local IP of the routing mail server.