Hello,
the only way would be to hide the real internet ip of the outside peer,
replacing it by the router ip itself.
So for the mdaemon, the smtp server is routerA IP or router B, anyway
what is the real SMTP server coming from the internet.
your router may not accept this type of NAT. And this will always hide
the true IP of the smtp peer, so RBL,sender id, and all others plugins
that use the ip won't work anymore.
Why having one dedicated line per domain and note one bigger ? If QOS is
in play, use a real QOS solution (packetshaper..), to prevent one flow
to take the whole bandwith..
You can have 2 network card, but the system can only have one default route.
Cordialement,
Mathieu CHATEAU
french blog:
http://www.lotp.fr
english blog:
http://lordoftheping.blogspot.com
Yannis a écrit :
> Hello!
>
> I have the following situation:
>
> Currently i have 1 mail server (mdaemon) handling e-mails for mydomain1.com
> through a dedicated leased line with 1 real static ip
> address.So actually i'm port forwarding port tcp 25 to internal address of
> MDaemon.Until now everythinh is ok...
>
> Now, I want to add a second domain which will be handled also by the same
> machine on MDaemon(it supports this) let's say mydomain2.com
> The e-mails from this domain will be handled by another dedicated leased
> line also with 1 real sttic ip address port forward etc.
>
> Now i'm a bit confused about this.How i will setup the mailserver to handle
> 2 different lines that mail will come from.As i know i can put just 1 default
> gateway to the machine so all traffic will be routed to 1 direction only.
>
> Do I need to put 2 nics on the server with diffrent subnets on each one?
>
> Thank you for any answers
> John