Thanks for your reply.
I have checked /etc/mailutils.rc and /etc/mailutils.d, and after commented out all the options still i cannot see the messages. For a user, which belongs to mail group, using mail -f /var/mail/$USER, i can see the messages.
For root using mail -f /var/mail/root gives the following output:

//var/mail/root: 0 messages/

Of course there are messages for both users.
I thought mail uses $MAIL variable to check for messages by default, so i can skip using -f /path/to/mbox.

On 04/18/2014 01:19 PM, Eray Aslan wrote:
On Fri, Apr 18, 2014 at 01:09:59PM +0300, Giorgos Anastasiou wrote:
If i run /mail/ then i get No mail for user, but i can see in the spool
that there are email in the spooler(/var/mail/$USER).
which means that mail is looking at a different spool.  Check the config
files at /etc/mailutils.rc and /etc/mailutils.d/*


_______________________________________________
Bug-mailutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-mailutils

Reply via email to