I'm having issues sending mail on a Debian (Lenny) box using mailx.
root@deity:/# mail root
Subject: Hai
Hi, root!
.
Cc:
-
root@deity:/# mail
No mail for root
Does anyone have an idea what might be causing this?
The following depends on your installed MTA, but because of security implications, mail is usually not delivered to root. You need to set up root as a mail alias to one of your "normal" users and read root's mail in that mailbox.
Turns out the issue was due to sendmail already running on port 25. I'm not sure why; it was removed prior to installing postfix.