Hi widyachacra, on Thursday, 2007-05-17 at 16:15:29, you wrote: > we have two internet links. one is a leased line other one is an ADSL > broadband line. now i need to route our outgoing emails through the ADSL > broadband line. how can i do that?
Can you use your DSL provider's mail server as a "smarthost"? If so,
regular routing should take care of it as it will be less hops to that
host via the DSL interface. Or you could set up an explicit route to it.
If not...well, I've never done it, but how about blocking outgoing
connections to port 25 on the leased-line interface using iptables? Not
the cleanest solution but it should work for now---there's certainly a
better one if you know qmail well, which I don't.
cheers!
Matthias
--
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0 8DEF 48D9 1700 FAC3 7665
pgpGlQ30nyJ1o.pgp
Description: PGP signature
