Greetings Postfix No, but ipfw yes
do a man on Ipfw and you can force all incoming traffic or outgoing traffic to a specific interface.
he is a sample of how i redirect port 80 traffic to squid port 3128 on my OSX server.
ipfw add 2 fwd 127.0.0.1, 3128 tcp from any to any 80 in recv en1
this says , any traffic incoming on ethernet interface en1 destined for port 80 redirect to port 3128
you can tailer ipfw to do what ever you need. hope this helps.
also see man route for other ideas.
--jeff On May 25, 2004, at 10:54 AM, William W. Fisher wrote:
Bob:
I don't know enough about postfix to know if there is a way to make it route outgoing SMTP packets through a specific network interface.
However, at the most basic level, it sounds like you want packets destined for IP address 'M' of your ISP's mail server to go through the secondary PPP interface. All the other outgoing network traffic should continue to use the primary interface (default route). To do this on Mac OS X, you have to modify the routing table with the /sbin/route command. You may be able to configure MacOSX to automatically add this route every time you bring up the PPP interface by creating an "/etc/ppp/ip-up" file. (I have to not tried this to see if it works...)
Once this is set up, you will need to be careful if you are also monitoring address 'M' with InterMapper -- the system will send the monitoring traffic plus any and all other traffic destined for address 'M' via the PPP interface. This you may not want.
I would suggest starting with 'netstat -rn' to see how your routing table looks now, and then use 'traceroute' or 'mtr' to get a baseline on where your packets to 'M' are going.
Regards,
Bill Fisher Dartware, LLC
On May 24, 2004, at 6:34 PM, Bob Hayes wrote:
Maybe I'm missing something very obvious, but I've been struggling with this
all day and still don't have a solution. I'm running InterMapper 4.1.3 on an
iMac G3/333 running OS X 10.3.
I want my InterMapper machine to send an e-mail notification to my cell
phone. Easy enough. However, I want that notification to always be sent
using the PPP interface on the InterMapper machine because if InterMapper is
notifying me that my office internet connection is down, my mail server will
accept the e-mail from InterMapper and then queue it until the connection
comes back up. If InterMapper sends it via a secondary dial-up internet
connection, I will get the notification immediately.
My first solution was to enable Postfix on the iMac and set InterMapper to
send e-mail through that. But if the route to the cell phone company's mail
server isn't available through the primary connection, it doesn't
automatically use the PPP connection. Reading through the Postfix docs
hasn't been helpful, although I'm sure there must be a solution.
Any ideas?
----------------------------------- jeff donovan basd network operations (610) 807 5571 x4 AIM xtdonovan fwd# 248217
____________________________________________________________________
List archives: http://www.mail-archive.com/intermapper-talk%40list.dartware.com/
To unsubscribe: send email to: [EMAIL PROTECTED]
