Report this

What is the reason for this report?

Permissions on user mail folders

Posted on February 4, 2015

Hi all

I have postfix / dovecot with mysql installed on an Ubuntu 14 droplet. It is listening, ports are open etc.

Tried sending mail from gmail account and I get the following error returned: (I changed domain to someuser@domain.net for public purposes)

This is the mail system at host domain.net.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
<someuser@domain.net>: cannot update mailbox /var/mail/someuser for user
    someuser. cannot open file: Permission denied

Final-Recipient: rfc822; someuser@domain.net
Original-Recipient: rfc822;someuser@domain.net
Action: failed
Status: 5.2.0
Diagnostic-Code: X-Postfix; cannot update mailbox /var/mail/someuser for user
    someuser. cannot open file: Permission denied

Permissions of content of /var/mail:

-rw------- 1 vmail vmail  646 Jan 24 14:06 someuser
-rw------- 1 root  vmail 4682 Feb  3 17:53 root
drwxr-sr-x 3 vmail vmail 4096 Jan 24 16:45 vhosts

Any ideas?

Thanks Jacques



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.

Bump.

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.