Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have 2 email accounts, my gmail account which I use for home, and my university account which I use for university stuff. Setting up multiple email accounts with different IMAP and SMTP settings is easy enough. I have no problem with my gmail account, as I can use the google SMTP wherever I am.

The problem is with my university account: everytime I go home, I have to switch my SMTP server to the one I use at home. When I go back to the university campus, I have to switch my SMTP server to the university's. Is is possible to be able to send emails both at home and on campus without having to switch to a different SMTP server each time?

P.S. Something that could detect my location and change the SMTP server automatically would be good, or a setting that would allow thunderbird to try both SMTP servers. I know it's only a couple of clicks away to change the SMTP server, but I'm a massive productivity geek and a bit OCD about these sort of things, I like everything to be automated if possible!

share|improve this question

In Thunderbird, open the account's properties and click Edit Identities. You can add several identities, each of which can have its own SMTP settings.

share|improve this answer

Create a clone of your university account, i.e you have 3 "Accounts" listed. Under Server Settings of your clone, set it to NEVER check for new mail etc... now set that clone account to use your Home SMTP. Save it and open a new message.

Where it says "From: xxx xx yyyy" click there to change which account you want to send it from. Select your clone account, and send etc... It'll say it's from your uni account etc... but sending from your gmail SMTP.

This is the easiest way of doing it. Yes this is NOT what you asked for, but I'm not sure if there is anything like what you asked for.

share|improve this answer

Another option (which still would not be automagical) would be to have 2 versions of your hosts file, one for home and one for the office. Run a batch to replace them when you go between locations, and the one at home remaps whatever the address for your server is to the correct address for a remote location.

share|improve this answer
to make that automagical, the batch would have to run each time the network changes. something like /etc/ppp/ip-up on mac or linux. – commonpike Feb 6 '13 at 18:40

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.