Mail SMTP Server Settings Location

jaredbkt

Registered
I have a bunch of SMTP server settings in Mail but only a few of them are actually used. How can I delete the unwanted server settings from the pop-up menu in the Create An Account sheet in the Mail Preferences? Where are those settings store? Thanks.
 
If you're comfortable in the terminal, you can edit them this way:

pico ~/Library/Preferences/com.apple.mail.plist


Scroll down until you see the delivery accounts directive like this:
Code:
        <key>DeliveryAccounts</key>
        <array> 
                <dict>
                        <key>AccountType</key>
                        <string>SMTPAccount</string>
                        <key>Hostname</key>
                        <string>smtp.mac.com</string>
                        <key>ShouldUseAuthentication</key>
                        <string>YES</string>
                        <key>Username</key>  
                        <string>michaelsanford</string>
                </dict>
                <dict>
                        <key>AccountType</key>
                        <string>SMTPAccount</string>
                        <key>Hostname</key>
                        <string>smtp.mac.com</string>
                </dict>
               <dict>
                        <key>AccountType</key>
                        <string>SMTPAccount</string>
                        <key>Hostname</key>
                        <string>smtp1.sympatico.ca</string>
                        <key>ShouldUseAuthentication</key>
                        <string>NO</string>   
                </dict>
        </array>

Then just remove the DICT directives (and everything in between) for the accounts you no logner want to see.
 
Back
Top