Whenever I attempt to execute the mail command as a regular user I simply get a "Bad address" error on the command line like this:
[luser@myhost ~]$ mail
You have mail in /var/spool/mail/luser
[root@myhost ~]# mail
No mail for root
I don't get anything in /var/log/maillog. Running the same command as root works fine, so this sounds like a permissions issue, but where?
The same holds true for mail -s. Non-root users just get "Bad address", root works fine.
Running "which mail" returns /bin/mail and the rights on /bin/mail are:
-rwxr-xr-x 1 root mail 82K Jan 7 2007 /bin/mail
The rights on /var/spool/mail are:
drwxrwxr-x 2 root mail 4.0K Apr 14 15:24 mail
Both of these seem pretty standard, and should work. I've looked all around the web, and several others have posted this question with no real solution shown. I've already tried reinstalling sendmail using yum and it had no effect.
Any help will be appreciated.