View Full Version : Deleting Smtp servers in mail
Rajj
Jun 3, 2003, 12:11 AM
How in the hell do you delete the SMTP servers in mail?:mad:
I accidentally made too many servers.
I have looked everywhere in the system, but I cannot find a way!!
Any suggestions?
:confused:
andyduncan
Jun 3, 2003, 12:47 AM
I don't know if there is a button you can click to get rid of them. but here's a little more difficult way. (actually two)
This information is stored in the com.apple.mail.plist file in your ~home/Library/Preferences folder.
First thing to do, either way is to quit Mail.app and back up this file. Just copy it to the desktop or something. Now:
Way # 1:
If you have the developer tools installed, double-click the com.apple.mail.plist file in your ~home/Library/Preferences folder. That will bring up the Plist editor which will display a nested list of property/value pairs.
Click the widget next to 'root' to expand it, then click the widget next to 'DeliveryAccounts'
that will open a numbered list of accounts, you will have to click the widget next to each of the accounts to see which one they are.
With the number of the account you want to remove selected, click the delete button. repeat for all the accounts you want to remove. save the file and restart mail.
Way #2:
You DON'T have dev tools installed, or you love XML. That's fine, this way isn't much harder.
open TextEdit (or emacs if you are 1337) and then file: open the com.apple.mail.plist file. scroll down (or do a 'find' for your mail server's address) until you find what looks like the following:
<key>DeliveryAccounts</key>
<array>
<dict>
<key>AccountType</key>
<string>SMTPAccount</string>
<key>Hostname</key>
<string>smtp.yourmail.com</string>
</dict>
<dict>
<key>AccountType</key>
<string>SMTPAccount</string>
<key>Hostname</key>
<string>smtp.yourOthermail.com</string>
</dict>
</array>
ok, this is pretty easy to understand, even if you don't know xml. there is an Array called DeliveryAccounts, in it are dictionary entrys for each server, select the server(s) you want to delete, starting with the <dict> tag and ending with the </dict> tag. and hit delete.
save and relaunch mail.
of course. someone will probably post a message right after this saying "oh yeah, theres a button in this tab called..." and i'll look like a jacka$$. but whatever. Worked for me.
Rajj
Jun 3, 2003, 01:22 AM
Originally posted by andyduncan
I don't know if there is a button you can click to get rid of them. but here's a little more difficult way. (actually two)
This information is stored in the com.apple.mail.plist file in your ~home/Library/Preferences folder.
First thing to do, either way is to quit Mail.app and back up this file. Just copy it to the desktop or something. Now:
Way # 1:
If you have the developer tools installed, double-click the com.apple.mail.plist file in your ~home/Library/Preferences folder. That will bring up the Plist editor which will display a nested list of property/value pairs.
Click the widget next to 'root' to expand it, then click the widget next to 'DeliveryAccounts'
that will open a numbered list of accounts, you will have to click the widget next to each of the accounts to see which one they are.
With the number of the account you want to remove selected, click the delete button. repeat for all the accounts you want to remove. save the file and restart mail.
Way #2:
You DON'T have dev tools installed, or you love XML. That's fine, this way isn't much harder.
open TextEdit (or emacs if you are 1337) and then file: open the com.apple.mail.plist file. scroll down (or do a 'find' for your mail server's address) until you find what looks like the following:
<key>DeliveryAccounts</key>
<array>
<dict>
<key>AccountType</key>
<string>SMTPAccount</string>
<key>Hostname</key>
<string>smtp.yourmail.com</string>
</dict>
<dict>
<key>AccountType</key>
<string>SMTPAccount</string>
<key>Hostname</key>
<string>smtp.yourOthermail.com</string>
</dict>
</array>
ok, this is pretty easy to understand, even if you don't know xml. there is an Array called DeliveryAccounts, in it are dictionary entrys for each server, select the server(s) you want to delete, starting with the <dict> tag and ending with the </dict> tag. and hit delete.
save and relaunch mail.
of course. someone will probably post a message right after this saying "oh yeah, theres a button in this tab called..." and i'll look like a jacka$$. but whatever. Worked for me.
There is no button anywhere, trust me!!
At any rate, it work!!
Thanx!!
zimv20
Jun 3, 2003, 01:27 AM
Originally posted by andyduncan
(or emacs if you are 1337)
1337?
and what's the number if i'm a vi nut?
andyduncan
Jun 3, 2003, 01:38 AM
Originally posted by zimv20
1337?
and what's the number if i'm a vi nut?
wondered how long it would take before someone said something about that. (40 minutes) :-)
zimv20
Jun 3, 2003, 01:44 AM
Originally posted by andyduncan
wondered how long it would take before someone said something about that. (40 minutes) :-)
and?
andyduncan
Jun 3, 2003, 01:52 AM
and what? ;-)
i'm not about to get into a vi/emacs war. Especially since the only reason i use emacs is because when I was learning UNIX, the book I had said "pick one" and even though I read both chapters, I remember more of emac's commands.
as far as a number goes, pick one. :-)
zimv20
Jun 3, 2003, 01:58 AM
i'm wondering what the 1337 number is in reference to.
Originally posted by zimv20
i'm wondering what the 1337 number is in reference to.
I'm assuming you aren't kidding... in which case...
1337 is hacker-slang for 'Elite'... as in cool, hip, etc...
(if you look at the numbers backwards/squinty-eyed, it should looke like 'leet')
arn
andyduncan
Jun 3, 2003, 02:26 AM
Originally posted by arn
1337 is hacker-slang for 'Elite'... as in cool, hip, etc...
yeah. was supposed to be a little tounge-in-cheek though. I don't really use that term... really...
zimv20
Jun 3, 2003, 02:30 AM
Originally posted by arn
I'm assuming you aren't kidding... in which case...
no, i wasn't kidding. my vi skills never got me laid, nor did they save me here.
no, that's ok, i'll see myself out.
:-)
boristhespider
Jun 3, 2003, 02:48 AM
Rajj,
Apple provides a script to manage SMTP servers in mail. Try this......
harddrive>library>scripts>mail scripts>manage smtp servers.sctp
Run the script and you can edit the servers.
While you are in the mail scripts folder, check out the crazy message text script for a laugh.
andyduncan
Jun 3, 2003, 04:26 AM
Originally posted by boristhespider
Apple provides a script to manage SMTP servers in mail.
see i knew someone would have a better way! heh.
Rajj
Jun 3, 2003, 08:34 AM
Originally posted by boristhespider
Rajj,
Apple provides a script to manage SMTP servers in mail. Try this......
harddrive>library>scripts>mail scripts>manage smtp servers.sctp
Run the script and you can edit the servers.
While you are in the mail scripts folder, check out the crazy message text script for a laugh.
Thanx dude, but I like the ?hacker? version better!!! ;) :D
lololololololololol
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.