Hy guys,
I'm studying for the LPI exam, and faced one simple (well, not that simple for me) question:
Quote:
|
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' and
'pine' commands. So:
1) Using the root account, intending to send an e-mail to myself (root):
Code:
# mail -s "Hello root!" root
Simple form of sending e-mails internally.
^D (this keystroke is to finish the e-mail)
EOT
2) 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!
sl33p