I have two ISPs at two separate locations, both with separate SMTP servers. Neither SMTP server allows relaying from the other ISP, so when taking my laptop between each location, I have to swap between smtp servers.
I currently edit the /etc/hosts file to override smtp.magichost.com with the IP addresses of the SMTP server I'm supposed to be using, but that is a pain.
Is there a better way to do this?