Permission denied when doing Postfix ubuntu tutorial [closed]
Asked Answered
S

1

10

Im working on this tutorial Postfix mail server. https://help.ubuntu.com/community/Postfix

When i run the command. su - fmaster mail

I get the error. Cannot open mailbox /var/mail/fmaster: Permission denied No mail for fmaster

also i sign in as fmaster. terminal -> mail.

/var/mail/fmaster: Permission denied No mail for fmaster

Snakeroot answered 5/2, 2012 at 21:54 Comment(0)
S
18
           sudo touch /var/mail/$USER
           sudo chown $USER:mail /var/mail/$USER
           sudo chmod o-r /var/mail/$USER
           sudo chmod g+rw /var/mail/$USER
Snakeroot answered 7/2, 2012 at 6:9 Comment(1)
you can replace last two lines with: sudo chmod 660 /var/mail/$USERTrousseau

© 2022 - 2024 — McMap. All rights reserved.