I followed all the steps, but when type “s-nail” show me this message
s-nail: /home/myuser/Maildir: Is a directory
If I type “sudo s-nail” this message
s-nail: /var/mail/root: No such entry, file or directory
s-nail version v14.9.15. Type `?’ for help
(Currently no active mailbox)
No more mail.
What can I do? Thanks!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Accepted Answer
Hi there,
This is normal and may only appear when sending this first message. You can check to make sure the directory was created by looking for your ~/Maildir
directory:
ls -R ~/Maildir
If you do not see the cur
, new
, tmp
directories in there, make sure to create them:
mkdir -p ~/{cur,new,tmp}
For more information make sure to check this tutorial here:
Regards, Bobby
When trying to read a specific mailbox using s-nail, you need to use s-nail -f then list the FQPN of the Maildir.
FWIW, I run virtual hosts on my email server and this works even when using virtual host, provided you know the FQPN of the specific maildir.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.