User avatar
jwzumwalt
Posts: 44
Joined: Sun Aug 04, 2013 4:00 pm

System mail

Mon Dec 30, 2013 12:38 am

So I have a fresh Raspbian install, then...
apt-get install exim4 mailutils mutt

When I use "mail root" (or "mail root@rpi") to send a message, it gets sent to a file named
/var/spool/mail

mutt and the mail program that just sent it, is expecting the mail in
/var/spool/<username>

The mail address and format in the "mail" file are correct and it shows that root@rpi sent a good message to root@rpi - it's just that it is sending to the wrong file name. I have reconfigured exim4 setting all the directories etc with no improvement.

Where is the config file for setting where the "mail" command is sending things?

Return to “Advanced users”