Email error , Maildir failed: Permission denied

Hi

I’m using the last version of cyberpanel.

Last week we had access to email (SnappyMail) but now no one can access it, after login immodestly log out from the web mail

I upgrade cyberpanel to latest with 02 - Upgrading CyberPanel and then rebooted the server and after that we have problem again

I tried to issue ssl for mail and domain, but nothing happen.

Now I found this error:

2022-07-18 23:59:13 lda([email protected])<5436><UkDRJYm01WI8FQAA0J78UA>: Error: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-18 23:59:13 lda([email protected])<5436><UkDRJYm01WI8FQAA0J78UA>: Info: msgid=<[email protected]>: save failed to open mailbox INBOX: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 00:04:33 lda([email protected])<9534><qQ5DC8m11WI+JQAA0J78UA>: Error: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 00:04:33 lda([email protected])<9534><qQ5DC8m11WI+JQAA0J78UA>: Info: msgid=<[email protected]>: save failed to open mailbox INBOX: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 00:14:33 lda([email protected])<10133><izF/DCG41WKVJwAA0J78UA>: Error: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 00:14:33 lda([email protected])<10133><izF/DCG41WKVJwAA0J78UA>: Info: msgid=<[email protected]>: save failed to open mailbox INBOX: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 00:23:12 lda([email protected])<11032><h4/dESi61WIYKwAA0J78UA>: Error: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 00:23:12 lda([email protected])<11032><h4/dESi61WIYKwAA0J78UA>: Info: msgid=<[email protected]>: save failed to open mailbox INBOX: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 00:29:33 lda([email protected])<11339><HYWwI6W71WJLLAAA0J78UA>: Error: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 00:29:33 lda([email protected])<11339><HYWwI6W71WJLLAAA0J78UA>: Info: msgid=<[email protected]>: save failed to open mailbox INBOX: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)

This was collected from dovecot-deliver.log file.
I have no Idea how to solve this …

founded document for email issue to connect it to cyber.cloud , but this service is not free… and couldn’t to use it anymore…

Base on your log, vmail not having execute permission.

1 Like

I Used this command

cmod 775 /home/vmail

and then restart the server but noting changes…

What is your vmail username:groupname?

1 Like

What do you mean?
Im using this vmail from cyberpanel , with cyberpanel automaticly install the email service and now its name is SnappyMail
But I don’t know what you mean about:

What is your vmail username:groupname?

sudo su -
cd /home/vmail
ls -al

Output:

drwxr-xr-x  2 username group 4096 Jun 22 14:09 .

Sent you output here.

1 Like


This is it

Did the censored part is the domain folder? if yes user:group for that domain must be vmail:vmail

Yes , the red line is my domain
Now what should I do?
I will send the report to your direct pv message

Try this command and you must run as su -

cd /home/vmail/
chown -R vmail:vmail *
1 Like

Stil have problem . the page is reloaded and login page apear agin , I mean when I used my user and pass then sign in , the page comeback to the login page.

Try check the log again.

1 Like
2022-07-18 23:59:13 lda([email protected])<5436><UkDRJYm01WI8FQAA0J78UA>: Error: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-18 23:59:13 lda([email protected])<5436><UkDRJYm01WI8FQAA0J78UA>: Info: msgid=<[email protected]>: save failed to open mailbox INBOX: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 00:04:33 lda([email protected])<9534><qQ5DC8m11WI+JQAA0J78UA>: Error: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 00:04:33 lda([email protected])<9534><qQ5DC8m11WI+JQAA0J78UA>: Info: msgid=<[email protected]>: save failed to open mailbox INBOX: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 00:14:33 lda([email protected])<10133><izF/DCG41WKVJwAA0J78UA>: Error: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 00:14:33 lda([email protected])<10133><izF/DCG41WKVJwAA0J78UA>: Info: msgid=<[email protected]>: save failed to open mailbox INBOX: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 00:23:12 lda([email protected])<11032><h4/dESi61WIYKwAA0J78UA>: Error: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 00:23:12 lda([email protected])<11032><h4/dESi61WIYKwAA0J78UA>: Info: msgid=<[email protected]>: save failed to open mailbox INBOX: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 00:29:33 lda([email protected])<11339><HYWwI6W71WJLLAAA0J78UA>: Error: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 00:29:33 lda([email protected])<11339><HYWwI6W71WJLLAAA0J78UA>: Info: msgid=<[email protected]>: save failed to open mailbox INBOX: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 00:34:33 lda([email protected])<147897><i2BEMNG81WK5QQIA0J78UA>: Error: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 00:34:33 lda([email protected])<147897><i2BEMNG81WK5QQIA0J78UA>: Info: msgid=<[email protected]>: save failed to open mailbox INBOX: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 00:39:33 lda([email protected])<254478><G6HsC/291WIO4gMA0J78UA>: Error: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 00:39:33 lda([email protected])<254478><G6HsC/291WIO4gMA0J78UA>: Info: msgid=<[email protected]>: save failed to open mailbox INBOX: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 00:59:33 lda([email protected])<257611><MGxJD63C1WJL7gMA0J78UA>: Error: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 00:59:33 lda([email protected])<257611><MGxJD63C1WJL7gMA0J78UA>: Info: msgid=<[email protected]>: save failed to open mailbox INBOX: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 01:14:33 lda([email protected])<258533><ifkHDjHG1WLl8QMA0J78UA>: Error: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 01:14:33 lda([email protected])<258533><ifkHDjHG1WLl8QMA0J78UA>: Info: msgid=<[email protected]>: save failed to open mailbox INBOX: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 01:39:33 lda([email protected])<259781><Fj/hFQ3M1WLF9gMA0J78UA>: Error: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 01:39:33 lda([email protected])<259781><Fj/hFQ3M1WLF9gMA0J78UA>: Info: msgid=<[email protected]>: save failed to open mailbox INBOX: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 02:04:33 lda([email protected])<260977><7h8CIOnR1WJx+wMA0J78UA>: Error: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 02:04:33 lda([email protected])<260977><7h8CIOnR1WJx+wMA0J78UA>: Info: msgid=<[email protected]>: save failed to open mailbox INBOX: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 02:04:33 lda([email protected])<260979><mK9cIenR1WJz+wMA0J78UA>: Error: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 02:04:33 lda([email protected])<260979><mK9cIenR1WJz+wMA0J78UA>: Info: msgid=<[email protected]>: save failed to open mailbox INBOX: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 02:04:33 lda([email protected])<260981><eCi8IunR1WJ1+wMA0J78UA>: Error: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 02:04:33 lda([email protected])<260981><eCi8IunR1WJ1+wMA0J78UA>: Info: msgid=<[email protected]>: save failed to open mailbox INBOX: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 02:04:33 lda([email protected])<260983><4qQcJOnR1WJ3+wMA0J78UA>: Error: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 02:04:33 lda([email protected])<260983><4qQcJOnR1WJ3+wMA0J78UA>: Info: msgid=<[email protected]>: save failed to open mailbox INBOX: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 02:24:34 lda([email protected])<261985><wTViJZrW1WJh/wMA0J78UA>: Error: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 02:24:34 lda([email protected])<261985><wTViJZrW1WJh/wMA0J78UA>: Info: msgid=<[email protected]>: save failed to open mailbox INBOX: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 02:49:34 lda([email protected])<263582><z1l0OXbc1WKeBQQA0J78UA>: Error: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 02:49:34 lda([email protected])<263582><z1l0OXbc1WKeBQQA0J78UA>: Info: msgid=<[email protected]>: save failed to open mailbox INBOX: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 03:14:35 lda([email protected])<264920><7VlBElPi1WLYCgQA0J78UA>: Error: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 03:14:35 lda([email protected])<264920><7VlBElPi1WLYCgQA0J78UA>: Info: msgid=<[email protected]>: save failed to open mailbox INBOX: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 03:14:35 lda([email protected])<264922><JoOYE1Pi1WLaCgQA0J78UA>: Error: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 03:14:35 lda([email protected])<264922><JoOYE1Pi1WLaCgQA0J78UA>: Info: msgid=<[email protected]>: save failed to open mailbox INBOX: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 03:14:35 lda([email protected])<264924><ax0EFVPi1WLcCgQA0J78UA>: Error: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 03:14:35 lda([email protected])<264924><ax0EFVPi1WLcCgQA0J78UA>: Info: msgid=<[email protected]>: save failed to open mailbox INBOX: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 03:14:35 lda([email protected])<264926><SehoFlPi1WLeCgQA0J78UA>: Error: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 03:14:35 lda([email protected])<264926><SehoFlPi1WLeCgQA0J78UA>: Info: msgid=<[email protected]>: save failed to open mailbox INBOX: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)

cd /home/vmail/mydomain.com/info/Maildir/
ls -al
1 Like

try in /home/vmail/mydomain.com/info/Maildir/tmp

1 Like

image

Try restarting postfix and dovecot

systemctl restart postfix
systemctl restart dovecot
1 Like

Like the same , login page reloaded
this is the last log

2022-07-19 03:34:36 lda([email protected])<265953><VrPBCwTn1WLhDgQA0J78UA>: Error: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)
2022-07-19 03:34:36 lda([email protected])<265953><VrPBCwTn1WLhDgQA0J78UA>: Info: msgid=<[email protected]>: save failed to open mailbox INBOX: stat(/home/vmail/mydomain.com/info/Maildir/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/vmail/mydomain.com, dir owned by 0:0 mode=0700)

It’s not better to change the email server ?
for example this : Install iRedMail on Debian or Ubuntu Linux