error like this:

[user1@fedora ~]$ mail
No mail for user1

but that is appear Maildir(mailbox) in /home/user1.


Most versions of mail (there are several) do not support the Maildir format, only the older Mailbox format. Use a more sophisticated mail client such as Mutt.

  • +1 mutt is great! Try mutt -f /the/maildir/folder I used it at the time I was running my own email server solution. Advice: Try mutt on a dumb account before using it on a "real life email inbox". – tiktak Mar 28 '12 at 15:48

Send yourself an email

demo_user@box:/> mail

No mail for demo_user

demo_user@box:/> mail -s "Test mail" demo_user@box



Note: once you hit enter after your mail address for user1@fedora type something in and press CTRL+D (hold Control key and press D key)

demo_user@box:~> mail
Heirloom mailx version 12.2 01/07/07.  Type ? for help.
"/var/spool/mail/demo_user": 1 message 1 new
>N  1 demo_user@box Mon Mar 26 09:54   20/983   Test mail

One you send the email you should be able to enter your account. There might be a better way to do this but it will work. Also, if you don't have a mail file it will generate one.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.