Question

Problem with s-nail

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!

Show comments

Submit an answer
Answer a question...

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Bobby Iliev
Site Moderator
Site Moderator badge
December 28, 2020
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:

https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-postfix-on-ubuntu-18-04#step-7-—-initialize-the-maildir-and-test-the-client

Regards, Bobby

try

mkdir -p /home/sammy/Maildir/{cur,new,tmp}

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.