I was testing some email servers and added several email accounts to my Mac. I deleted these accounts afterwards.
Now I have only three base accounts in System Preferences > Internet Accounts
: Facebook, Twitter and iCloud.
However, Mail Connection Doctor (Window > Connection Doctor
) still attempts to access the deleted accounts; if one of them has invalid credentials or settings it reports "Mail can't connect to the account."
Where these accounts are stored and can I permanently remove them so the Mail Connection Doctor doesn't try to connect?
Best Answer
These accounts are stored in Keychain Access application and in servers list. To remove these accounts permanently, do following:
Then remove accounts from Keychain Access:
Keychains
sectionCategory
sectionThere should appear several records, but you need only
com.apple.account.SMTP.xxx
and/orcom.apple.account.IMAP.xxx
entries with "application password" in Kind column.Select and delete them. Open Mail and check Connection Doctor. There must remain only existing accounts.