Showing posts with label accounts. Show all posts
Showing posts with label accounts. Show all posts

Sunday, May 27, 2012

Recovering Lost Mail Accounts in OS X

My Mac panicked and crashed and when I started it up again all of my mail accounts were gone. And when Mail started it presented the initial "setup up a new account" wizard.

Looking into the Mail archive, ~/Library/Mail, the mailboxes seemed intact. There were files there and Spotlight was capable of both displaying and listing my mails. But in the "MailData" directory the Accounts.plist file had lost all accounts. After recovering Accounts.plist from a Time Machine backup, Mail started ok and all mails and accounts were intact.

To recover Accounts.plist do the following:
  1. Use Finder to navigate to ~/Library/Mail/V2/MailData.
  2. Ensure "MailData" is selected.
  3. Enter Time Machine and move back in time to a date/time you know Mail worked OK.
  4. Recover "Accounts.plist".
  5. Exit Time Machine.
  6. Start Mail.
Note; I use Mail v5.2.

Sunday, March 14, 2010

No valid VPN secrets


The VPN connection 'xxxxx' failed because there were no valid VPN secrets

You get this message if you have installed openvpn or vpnc in Ubuntu and haven't restarted the network manager. The error is due to GNOME keyring manager cannot find your password in the keyring due to an incomplete configuration. Just restart network manager and you are all set.

hl@braoha:~$ sudo aptitude install network-manager-vpnc
hl@braoha:~$ sudo /etc/init.d/network-manager restart