Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mkrishnan

Moderator emeritus
Original poster
Jan 9, 2004
29,776
15
Grand Rapids, MI, USA
Is there a way to set up an AEBS so that it automatically redirects all OUTGOING SMTP traffic to a specific SMTP server (based on the port in use)?

The reason I want to do this is, both my University and my home ISP will only allow me to transmit messages using their own SMTP servers. In Panther Mail, if I tried to send an e-mail using the wrong server, the window would pop up, telling me this was a problem, ask me to choose an alternate server, and then promise to continue to use that server until I left the network I was on. This was fine, except that in Tiger, it doesn't keep the promise -- it pops up this window for every single e-mail.

I have an AppleScript that will change my SMTP for all e-mail accounts in mail.app, but I was thinking, if I could just get my AEBS to forward the outgoing port, then I could leave my computer set to the school's SMTP and not think about it too much more.

Alternately, is there a way to do this with postfix, that allows me to specify two SMTPs? I know that if I only had one site at which I needed to use a specific SMTP, and otherwise used whichever one, that postfix could solve this problem. But AFAIK, there isn't an easy way for me to make it redirect to one SMTP at home and another at school.

Thanks! :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.