Re my earlier posting asking this question, in case anyone else ever needs
to do this, I found a way. Not exactly identical to what I was originally
thinking of but works just as well.
With my two internet interfaces like so:
ppp0 66.66.66.66
ppp1 129.129.129.129
and relevant part of my route -n like so:
64.64.64.64 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
165.165.165.165 0.0.0.0 255.255.255.255 UH 0 0 0 ppp1
0.0.0.0 64.64.64.64 0.0.0.0 UG 0 0 0 ppp0
I realized that all I needed to do was to ensure that any outboubnd
connection request that was in response to an incoming connection via ppp1,
should also go out via ppp1 :
iptables -t mangle -I POSTROUTING 1 -s 129.129.129.129 -j ROUTE --gw
165.165.165.165
result - my sendmail server works exclusively on ppp1 even though my default
gatway is ppp0.
kinda simple when I figured this out and works perfectly.