Report this

What is the reason for this report?

is `drwxrwsr-x 3 root vmail 4096 Jan 24 21:23 /var/mail` or `drwxrwsr-x 3 root mail 4096 Jan 24 21:23 /var/mail`?

Posted on August 22, 2015

I am installing mail server as the web: https://www.digitalocean.com/community/tutorials/how-to-configure-a-mail-server-using-postfix-dovecot-mysql-and-spamassassin

In the middle of the material :

Verify permissions Enter this command: ls -ld /var/mail Ensure permissions are like this: drwxrwsr-x 3 root vmail 4096 Jan 24 21:23 /var/mail

But what i get is drwxrwsr-x 3 root mail 4096 Jan 24 21:23 /var/mail There is no letter v in my output, Which is correct? drwxrwsr-x 3 root vmail 4096 Jan 24 21:23 /var/mail or drwxrwsr-x 3 root mail 4096 Jan 24 21:23 /var/mail If the right format is drwxrwsr-x 3 root vmail 4096 Jan 24 21:23 /var/mail

How to change my wrong format of drwxrwsr-x 3 root mail 4096 Jan 24 21:23 /var/mail into the right one drwxrwsr-x 3 root vmail 4096 Jan 24 21:23 /var/mail ?



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.

groupadd -g 5000 vmail useradd -g vmail -u 5000 vmail -d /var/mail

The two commands should be put at the beginning of the chapter.

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.