I'm having to set up an email server for a class and have installed exim (using Maildir mailbox format) and sent myself an email. I can't read the email though: I have set the MAIL
variable to ~/Maildir
but when I try to open mail
I get
pad-20@PAD-20:~$ mail
mail: /home/pad-20/Maildir/: Is a directory
I also changed the settings in /etc/pam.d/{login,su,sshd}
according to this guide, but all that's done is give me a new email summary when I log in.
The strange thing is that frm
works:
pad-20@PAD-20:~$ frm
Test 2 from telnet
(That's the subject of the test email I sent).
There is another question on askubuntu that is similar, except that their problem was fixed after setting the MAIL
variable correctly.