Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Use multiple SMTP servers with one email address in Mail.app' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use multiple SMTP servers with one email address in Mail.app
Authored by: Joshua on May 16, '03 01:28:03PM

IMHO there is an easier way to change SMTP server.
You just have to create two (or more) different Locations with Network preference and specify your Domain Name (aol.com if you are connecting from home, or apple.com if you work at Apple :-)
Open Mail.app and specify as SMTP server just "mail". Usually ISP SMTP server name sounds like "mail.mickeymouse.com". If your ISP SMTP server has a different name you can add "mail.mickeymouse.com" to your hosts file (/etc/hosts) using real SMTP server IP address:

127.0.0.1 myMac
195.1.1.1 mail.mickeymouse.com

Every time you change Location using Apple Menu your SMTP server will change without modifing any Mail.app preference



[ Reply to This | # ]
Use multiple SMTP servers with one email address in Mail.app
Authored by: phixus on May 16, '03 01:54:55PM

Actually, modifying the entries in /etc/hosts won't work.

On Mac OS X /etc/hosts is only read during boot time. All other host lookups are managed by lookupd and NetInfo. This is clearly stated in the comment at the top of /etc/hosts.

You need to make the host entries in /Applications/Utilities/Netinfo Manager



[ Reply to This | # ]
Use multiple SMTP servers with one email address in Mail.app
Authored by: Joshua on May 16, '03 02:56:04PM
In MacOS 10.2.x hosts file is active, even if comment say it works olny in single user mode, as reported in this hint

[ Reply to This | # ]
Use multiple SMTP servers with one email address in Mail.app
Authored by: mscheurer on May 16, '03 07:04:32PM

You might want to try Mail Scripts <http://www.macupdate.com/info.php/id/9178> it includes a script to change predefined SMTP servers.



[ Reply to This | # ]
Use multiple SMTP servers with one email address in Mail.app
Authored by: sfn on May 17, '03 10:11:20AM

Actually if the two servers start with the same subdomain, ie. smtp. or mail. then just fill in smtp or mail and put the appropriate domain in the Network pref in "Search Domains" for each location.

---
-sfn



[ Reply to This | # ]