Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've got cron jobs sending mail to my user at /var/mail. I know how to access that at the command line with the mail command. But, while a big command line fan, I do not like reading mail (even system mail) that way.

My mail client of choice is Thunderbird. Can I read /var/mail messages in Thunderbird? How?

I'm running Ubuntu 9.04 and Thunderbird 2.0.0.24 (though I'm soon to upgraded to 10.04).

share|improve this question
add comment

1 Answer

up vote 11 down vote accepted

In Ubuntu 10.04, with Thunderbird 3, the option is accomplished by:

  1. Select Edit,   Account Settings

    enter image description here

  2. Choose Account Actions,   Add other account

    enter image description here

  3. Select Unix Spool (Movemail).

    enter image description here

The UI to access this menu is slightly different in Thunderbird 2, but I didn't have it handy.

In Thunderbird 2, do the following, adapted from the Gmail FAQ:

  1. Click the Tools menu, and select Account Settings..
  2. Click the Add Account... button to launch Account Wizard.
  3. Select Movemail from the list.
share|improve this answer
1  
Well, now I feel foolish. (I'd tried some time ago and hope that the option in the wizard post-dates that, else I don't know how I missed it!) Thanks. It was also necessary to run sudo chmod 01777 /var/mail to get this to work, as without, thunderbird complained it couldn't write a ~.lock file. –  vanden Aug 11 '10 at 12:33
1  
@vanden: You should find a lower permission that works or create a group that allows access. World writeable is dangerous. –  Dennis Williamson Aug 11 '10 at 17:05
1  
@Dennis: Thanks. I wasn't pleased by the permissions, either. They were suggested by the thunderbird interface. I tried removing world write access, but that prevented access to the mail. Having fetched the backlog, I've reverted. –  vanden Aug 11 '10 at 20:14
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.