On a new server running lucid, I get "you have new mail" in my admin account. However, I don't have a mail
command available to read it. Do I need to install it manually (or mutt, etc.), or is a mail client included somewhere in the base install?
Asked
Active
Viewed 1.7k times
6

Jorge Castro
- 71,754

Andrew Vit
- 195
1 Answers
6
Installing bsd-mailx
should give you a minimal mail reader command mail
. You can rad the mail file with less
if you wish. You mail will be a file in /var/mail
.
Setting up your mail server for no local delivery and creating an off-host alias for root
should get you mail to a central location. Generally, you will want to use a Smarthost
for delivery.

BillThor
- 4,698
sudo less +G /var/mail/mail
.+G
go directly to the end of the file, like-e
onjournalctl
. – Pablo Bianchi Mar 13 '19 at 23:59