Report this

What is the reason for this report?

Problem with s-nail

Posted on December 27, 2020

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!

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.

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}

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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.