I'm studying for the LPI exam, and faced one simple (well, not that simple for me) question:
Send an E-mail to your local account. Try two different ways to send and read it. How can you check that it really arrived?
I decided to try using the 'mail'
Using the root account, intending to send an e-mail to myself (root):
# mail -s "Hello root!" root
Simple form of sending e-mails internally.
^D (this keystroke is to finish the e-mail)
Using 'pine', another e-mail client:
The mail is composed correctly, with 'To:' field set to:
which is my hostname, as my box runs in a VMWare Slack 12.2 image.
In both cases, nothing was received in my mailbox (by typing #mail)...
Additionally I don't see any new e-mails when I look at the file '/var/spool/mail/root'.
Do I need extra information configuring my mail client/server/service?
Thanks in advance!