Mutt will by default lookup the $MAIL variable in order to identify where the user mailbox is created e.g.:
echo $MAIL
/var/mail/username
If for some reason this is not set we can issue:
export $MAIL=/var/mail/username
and to make it permanent:
echo ~/.bashrc >> 'export $MAIL=/var/mail/username'
On first launch if your mail directoy does not exist ask you whether you would like it to create a new mail directory.
Sometimes if after first launch the mailbox (or it's folder) is deleted you might get the following error message:
/var/mail/username: No such file or directory
To re-create the mailbox we should generate a test mail to our self e.g.:
echo Test Email | mail $USER
and verify again:
mutt
0 comments:
Post a Comment