error like this:
[user1@fedora ~]$ mail No mail for user1
but that is appear Maildir(mailbox) in /home/user1.
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
Most versions of
Send yourself an email
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.