I am having problems with the mail command. Either I am not able to send mail or I am not receiving. I am not sure which is the problem.
I followed the instructions here.
I tried to send mail to root and from root back to me respectively:
mail root -s test
mail me -s "test again"
I am not receiving the mail when I check the mail either as root or myself.
Ultimately I want to email myself /var/log/messages to myemail@@gmail.com address on a regular basis using logrotate.
Please see my other post regarding sending mail via smtp here.
That does not seem to work either.
I installed an updated version of mailutils and it still no changes. I believe mail and mailx is in the mailutils package.
I am able to read the man mail on my system so it must be installed. Root also has mail that was added on the slackware install.
And finally, I cannot find the mail.rc files. I searched my system and can't find it.