Issue
This Content is from SuperUser. Question asked by Tryer
MAIL
in .bashrc
is set thus:
MAIL=/var/spool/mail/Tryer && export MAIL
fetchmail
and mutt
commands work fine and display any new message received. However, on trying to delete a message in mutt
, I get an error that states: Mailbox is read-only.
I tried to follow the steps specified in an old question along same lines available here.
The output is as follows:
:~$ ls -ld /var/mail
drwxr-xr-x 1 root root 4096 Sep 18 21:59 /var/mail
The solution there seemed to suggest that the user Tryer
should be added to group vmail
. However, the above output does not indicate any vmail
group. It only specified the root
. It is not clear to me whether I should add user Tryer
to root
group.
Solution
This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.
This Question and Answer are collected from SuperUser , is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.