Question

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 August 22, 2015
  • Email

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 ?

Subscribe
Share

Submit an 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.