Deleting SMTP Servers from Mail.app in Mac OS X?
jesse12345 asks: "Here's probably an easy one for you Unix masters. I travel a fair amount and use Mail in OS X. I'm always using lots of outgoing mail servers. What I can't figure out is how to delete outdated ones. There seems to be no GUI for this within the Mail.app. Is there some way to do this in UNIX?"
Its VERY easily done within the GUI of Mail.app in Panther. In the accounts section of preferences there's a "Outgoing mail server" drop down menu that has "Edit Server List" as one of the options that allows you to remove an SMTP server. I'm not sure if this is the same in Jag but I'd imagine so. Hardly seems like a story to me.
-1 (Troll) is antihammer
Try: /Applications/AppleScript/Example\ Scripts/Mail\ Scripts/Manage\ SMTP\ Servers.scpt
Seemed to work for me OK.
Edit the file "com.apple.mail.plist" in ~/Library/Preferences. There is a key in the XML called DeliveryAccounts (just search for it in your favorite text editor). Immediately beneath it, there is an array with tags. Just remove the whole ... </dict> section that corresponds to the SMTP server and you should be all set. Probably should close Mail before doing this. Maybe make a backup of your preference file too, just in case. ;)
~moofbong
If 'con' is the opposite of 'pro', what is the opposite of 'progress'?
I've sent emails with 5mb attachments to friends
;)
What an excellent way to lose friends.
Go to the folder "../Applications/AppleScript/Example Scripts/Mail Scripts/"
There you'll find "Manage SMTP Servers.scpt".
Double-click it and you'll get a nice little window with all SMTP servers you don't use and a button to delete them.
Cheers,
I think, therefore I am...I think.