when i try to log into roundcube as a user i receive pop up when i enter the user and paswword Server Error: STATUS: Internal error occurred. Refer to server log for more information. when i read the error log [17-Feb-2019 16:52:53 +0200]: <ap2mpe20> DB Error: SQLSTATE[28000] [1045] Access denied for user 'roundcube'@'localhost' (using password: NO) in /usr/share/roundcubemail/program/lib/Roundcube/rcube_db.$ [17-Feb-2019 16:52:53 +0200]: <ap2mpe20> PHP Error: config.inc.php was not found. (POST /webmail/?_task=mail&_action=refresh?_task=&_action=) i try to remove roundcube and to reinstall + erase the sqlDB and User Please Advice
Feb 17 17:22:28 centos dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=14462, secured, session=<PnZ7kxiCotgAAAAAAAAAAAAAAAAAAAAB> Feb 17 17:22:28 centos dovecot: imap([email protected]): Error: chdir(/var/vmail/ad.gil-car.co.il/test/) failed: Permission denied (euid=5000(<unknown>) egid=5000(vmail) missing +x perm: /var/vmail$ Feb 17 17:22:28 centos dovecot: imap([email protected]): Error: Initializing mail storage from mail_location setting failed: stat(/var/vmail/ad.gil-car.co.il/test/Maildir) failed: Permission denied$ Feb 17 17:22:28 centos dovecot: imap([email protected]): Initializing mail storage from mail_location setting failed: stat(/var/vmail/ad.gil-car.co.il/test/Maildir) failed: Permission denied (euid=$ Feb 17 17:22:29 centos dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=14467, secured, session=<bVCDkxiCpNgAAAAAAAAAAAAAAAAAAAAB> Feb 17 17:22:29 centos dovecot: imap([email protected]): Error: chdir(/var/vmail/ad.gil-car.co.il/test/) failed: Permission denied (euid=5000(<unknown>) egid=5000(vmail) missing +x perm: /var/vmail$ Feb 17 17:22:29 centos dovecot: imap([email protected]): Error: Initializing mail storage from mail_location setting failed: stat(/var/vmail/ad.gil-car.co.il/test/Maildir) failed: Permission denied$ Feb 17 17:22:29 centos dovecot: imap([email protected]): Initializing mail storage from mail_location setting failed: stat(/var/vmail/ad.gil-car.co.il/test/Maildir) failed: Permission denied (euid=$ Feb 17 17:22:29 centos dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=14468, secured, session=<zIWDkxiCptgAAAAAAAAAAAAAAAAAAAAB> Feb 17 17:22:29 centos dovecot: imap([email protected]): Error: chdir(/var/vmail/ad.gil-car.co.il/test/) failed: Permission denied (euid=5000(<unknown>) egid=5000(vmail) missing +x perm: /var/vmail$ Feb 17 17:22:29 centos dovecot: imap([email protected]): Error: Initializing mail storage from mail_location setting failed: stat(/var/vmail/ad.gil-car.co.il/test/Maildir) failed: Permission denied$ Feb 17 17:22:29 centos dovecot: imap([email protected]): Initializing mail storage from mail_location setting failed: stat(/var/vmail/ad.gil-car.co.il/test/Maildir) failed: Permission denied (euid=$ Feb 17 17:22:49 centos postfix/proxymap[3794]: warning: request for unapproved table: "mysql:/etc/postfix/mysql-virtual_vacation.cf" Feb 17 17:22:49 centos postfix/proxymap[3794]: warning: to approve this table for read-only access, list proxy:mysql:/etc/postfix/mysql-virtual_vacation.cf in main.cfroxy_read_maps Feb 17 17:22:49 centos postfix/cleanup[14487]: fatal: proxymap service is not configured for table "mysql:/etc/postfix/mysql-virtual_vacation.cf" Feb 17 17:22:50 centos postfix/master[3751]: warning: process /usr/libexec/postfix/cleanup pid 14487 exit status 1 Feb 17 17:22:50 centos postfix/master[3751]: warning: /usr/libexec/postfix/cleanup: bad command startup -- throttling Feb 17 17:23:29 centos dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=14560, secured, session=<koIWlxiCqNgAAAAAAAAAAAAAAAAAAAAB> Feb 17 17:23:29 centos dovecot: imap([email protected]): Error: chdir(/var/vmail/ad.gil-car.co.il/test/) failed: Permission denied (euid=5000(<unknown>) egid=5000(vmail) missing +x perm: /var/vmail$ Feb 17 17:23:29 centos dovecot: imap([email protected]): Error: Initializing mail storage from mail_location setting failed: stat(/var/vmail/ad.gil-car.co.il/test/Maildir) failed: Permission denied$ Feb 17 17:23:29 centos dovecot: imap([email protected]): Initializing mail storage from mail_location setting failed: stat(/var/vmail/ad.gil-car.co.il/test/Maildir) failed: Permission denied (euid=$ Feb 17 17:23:50 centos postfix/proxymap[3794]: warning: request for unapproved table: "mysql:/etc/postfix/mysql-virtual_vacation.cf" Feb 17 17:23:50 centos postfix/proxymap[3794]: warning: to approve this table for read-only access, list proxy:mysql:/etc/postfix/mysql-virtual_vacation.cf in main.cfroxy_read_maps Feb 17 17:23:50 centos postfix/cleanup[14569]: fatal: proxymap service is not configured for table "mysql:/etc/postfix/mysql-virtual_vacation.cf" Feb 17 17:23:51 centos postfix/master[3751]: warning: process /usr/libexec/postfix/cleanup pid 14569 exit status 1 Feb 17 17:23:51 centos postfix/master[3751]: warning: /usr/libexec/postfix/cleanup: bad command startup -- throttling
Is this a new just installed system? Compare the installation and settings to the Perfect Server Guide you followed. Or did the system previously work, and now failed? What was done before it started failing? Check why that roundcube user can not access the database. Try using from command line the database with that user.
it was a fresh install till someone in my team install rocket chat i cat find whats create the conflict and thanks for the support
when i check it more deeper its seems that the error pop up only when i try use the folder "Inbox" from the settings or from the mail folder
What new folders? The owners and/or permissions under Code: /var/vmail/ may be wrong. Check with Code: ls -lh /var/vmail/ ls -lh /var/vmail/ad.gil-car.co.il/
so far i think i managed to fix the Problem (i received the test mail ) after reinstall Dovecot Postfix Getmail + Roundcube but now i create new One the user fail to login from roundcube UI
[18-Feb-2019 15:48:26 +0200]: <pg4n52hs> IMAP Error: Login failed for "EMAIL" from "IP" AUTHENTICATE PLAIN: Authentication failed. in /usr/share/roundcubemail/program/lib/Roundcub$
i run ispconfig update ispconfig_update.sh now returned into the original problem Feb 18 16:29:00 centos dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=23164, secured, session=<4I0c8iuCAssAAAAAAAAAAAAAAAAAAAAB> Feb 18 16:29:00 centos dovecot: imap([email protected]): Error: chdir(/var/vmail/ad.gil-car.co.il/gc/) failed: Permission denied (euid=5000(<unknown>) egid=5000(vmail) missing +x perm: /var/vmail, we're not in group 12(mail), dir owned by 101:12 mode=0770) Feb 18 16:29:00 centos dovecot: imap([email protected]): Error: Initializing mail storage from mail_location setting failed: stat(/var/vmail/ad.gil-car.co.il/gc/Maildir) failed: Permission denied (euid=5000(<unknown>) egid=5000(vmail) missing +x perm: /var/vmail, we're not in group 12(mail), dir owned by 101:12 mode=0770) Feb 18 16:29:00 centos dovecot: imap([email protected]): Initializing mail storage from mail_location setting failed: stat(/var/vmail/ad.gil-car.co.il/gc/Maildir) failed: Permission denied (euid=5000(<unknown>) egid=5000(vmail) missing +x perm: /var/vmail, we're not in group 12(mail), dir owned by 101:12 mode=0770) in=0 out=364 Feb 18 16:29:01 centos dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=23168, secured, session=<7fYj8iuCBMsAAAAAAAAAAAAAAAAAAAAB> Feb 18 16:29:01 centos dovecot: imap([email protected]): Error: chdir(/var/vmail/ad.gil-car.co.il/gc/) failed: Permission denied (euid=5000(<unknown>) egid=5000(vmail) missing +x perm: /var/vmail, we're not in group 12(mail), dir owned by 101:12 mode=0770) Feb 18 16:29:01 centos dovecot: imap([email protected]): Error: Initializing mail storage from mail_location setting failed: stat(/var/vmail/ad.gil-car.co.il/gc/Maildir) failed: Permission denied (euid=5000(<unknown>) egid=5000(vmail) missing +x perm: /var/vmail, we're not in group 12(mail), dir owned by 101:12 mode=0770) Feb 18 16:29:01 centos dovecot: imap([email protected]): Initializing mail storage from mail_location setting failed: stat(/var/vmail/ad.gil-car.co.il/gc/Maildir) failed: Permission denied (euid=5000(<unknown>) egid=5000(vmail) missing +x perm: /var/vmail, we're not in group 12(mail), dir owned by 101:12 mode=0770) in=0 out=364 Feb 18 16:29:01 centos dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=23170, secured, session=<6Wkk8iuCBssAAAAAAAAAAAAAAAAAAAAB> Feb 18 16:29:01 centos dovecot: imap([email protected]): Error: chdir(/var/vmail/ad.gil-car.co.il/gc/) failed: Permission denied (euid=5000(<unknown>) egid=5000(vmail) missing +x perm: /var/vmail, we're not in group 12(mail), dir owned by 101:12 mode=0770) Feb 18 16:29:01 centos dovecot: imap([email protected]): Error: Initializing mail storage from mail_location setting failed: stat(/var/vmail/ad.gil-car.co.il/gc/Maildir) failed: Permission denied (euid=5000(<unknown>) egid=5000(vmail) missing +x perm: /var/vmail, we're not in group 12(mail), dir owned by 101:12 mode=0770) Feb 18 16:29:01 centos dovecot: imap([email protected]): Initializing mail storage from mail_location setting failed: stat(/var/vmail/ad.gil-car.co.il/gc/Maildir) failed: Permission denied (euid=5000(<unknown>) egid=5000(vmail) missing +x perm: /var/vmail, we're not in group 12(mail), dir owned by 101:12 mode=0770) in=0 out=364 Feb 18 16:29:32 centos dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=23219, secured, session=<508B9CuCCMsAAAAAAAAAAAAAAAAAAAAB> Feb 18 16:29:32 centos dovecot: imap([email protected]): Error: chdir(/var/vmail/ad.gil-car.co.il/gc/) failed: Permission denied (euid=5000(<unknown>) egid=5000(vmail) missing +x perm: /var/vmail, we're not in group 12(mail), dir owned by 101:12 mode=0770) Feb 18 16:29:32 centos dovecot: imap([email protected]): Error: Initializing mail storage from mail_location setting failed: stat(/var/vmail/ad.gil-car.co.il/gc/Maildir) failed: Permission denied (euid=5000(<unknown>) egid=5000(vmail) missing +x perm: /var/vmail, we're not in group 12(mail), dir owned by 101:12 mode=0770) Feb 18 16:29:32 centos dovecot: imap([email protected]): Initializing mail storage from mail_location setting failed: stat(/var/vmail/ad.gil-car.co.il/gc/Maildir) failed: Permission denied (euid=5000(<unknown>) egid=5000(vmail) missing +x perm: /var/vmail, we're not in group 12(mail), dir owned by 101:12 mode=0770) in=0 out=364 Feb 18 16:30:01 centos dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=23260, secured, session=<e+S39SuCCssAAAAAAAAAAAAAAAAAAAAB> Feb 18 16:30:01 centos dovecot: imap([email protected]): Error: chdir(/var/vmail/ad.gil-car.co.il/gc/) failed: Permission denied (euid=5000(<unknown>) egid=5000(vmail) missing +x perm: /var/vmail, we're not in group 12(mail), dir owned by 101:12 mode=0770) Feb 18 16:30:01 centos dovecot: imap([email protected]): Error: Initializing mail storage from mail_location setting failed: stat(/var/vmail/ad.gil-car.co.il/gc/Maildir) failed: Permission denied (euid=5000(<unknown>) egid=5000(vmail) missing +x perm: /var/vmail, we're not in group 12(mail), dir owned by 101:12 mode=0770) Feb 18 16:30:01 centos dovecot: imap([email protected]): Initializing mail storage from mail_location setting failed: stat(/var/vmail/ad.gil-car.co.il/gc/Maildir) failed: Permission denied (euid=5000(<unknown>) egid=5000(vmail) missing +x perm: /var/vmail, we're not in group 12(mail), dir owned by 101:12 mode=0770) in=0 out=364
chmod -R 777 /var/vmail for now i can see the folders and send email from the end user but -Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient------- 16CA561AF3C1 531 Mon Feb 18 16:23:49 [email protected]-car.co.il (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) E749161AF3C5 426 Mon Feb 18 16:25:33 [email protected]-car.co.il (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) 6419361AF3CB 426 Mon Feb 18 16:26:57 [email protected]-car.co.il (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) C831261AF3D1 423 Mon Feb 18 16:31:15 [email protected]-car.co.il (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) A2FCC61AF3D0 530 Mon Feb 18 16:44:05 [email protected]-car.co.il (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) 383B661AF3D4 526 Mon Feb 18 16:44:29 [email protected]-car.co.il (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) [email protected]-car.co.il -- 4 Kbytes in 6 Requests.
Ok, so you seem to be using ispconfig. I thought you use a different setup as you posted in the forum for non ispconfig systems. Which tutorial did you use to install your server?
The Perfect Server CentOS 7.4 with Apache, Postfix, Dovecot, Pure-FTPD, BIND and ISPConfig 3.1 https://www.howtoforge.com/tutorial...l-php-pureftpd-postfix-dovecot-and-ispconfig/
The mail system shall never be set 777 as all users and websites would be able to access all emails then. Try to run: chmod -R 770 /var/vmail/* chmod +x /var/vmailRegarding the other error, amavis is not running. Try to start it and in case it does not start, check the maillog to find out why
many thanks i reinstalled amavis and the service is running eb 19 12:38:36 centos dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=16236, secured, session=<Xt361zyCzLUAAAAAAAAAAAAAAAAAAAAB> Feb 19 12:38:36 centos dovecot: imap([email protected]): Logged out in=50 out=519 Feb 19 12:38:41 centos clamd[12321]: SelfCheck: Database status OK. Feb 19 12:39:36 centos dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=16297, secured, session=<EJmO2zyCzrUAAAAAAAAAAAAAAAAAAAAB> Feb 19 12:39:36 centos dovecot: imap([email protected]): Logged out in=50 out=519 Feb 19 12:40:02 centos dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<I6AQ3TyCYLIAAAAAAAAAAAAAAAAAAAAB> Feb 19 12:40:02 centos dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<I6UQ3TyC2LUAAAAAAAAAAAAAAAAAAAAB> Feb 19 12:40:02 centos postfix/smtpd[16426]: connect from localhost[::1] Feb 19 12:40:02 centos postfix/smtpd[16426]: lost connection after CONNECT from localhost[::1] Feb 19 12:40:02 centos postfix/smtpd[16426]: disconnect from localhost[::1] Feb 19 12:40:36 centos dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=16450, secured, session=<9msi3zyC3LUAAAAAAAAAAAAAAAAAAAAB> Feb 19 12:40:36 centos dovecot: imap([email protected]): Logged out in=50 out=519 Feb 19 12:41:36 centos dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=16513, secured, session=<IJG24jyC3rUAAAAAAAAAAAAAAAAAAAAB> Feb 19 12:41:36 centos dovecot: imap([email protected]): Logged out in=50 out=519 Feb 19 12:42:36 centos dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=16573, secured, session=<pUxJ5jyC4LUAAAAAAAAAAAAAAAAAAAAB> Feb 19 12:42:36 centos dovecot: imap([email protected]): Logged out in=50 out=519 Feb 19 12:43:00 centos postfix/qmgr[3848]: A2FCC61AF3D0: from=<[email protected]>, size=530, nrcpt=1 (queue active) Feb 19 12:43:00 centos postfix/qmgr[3848]: 383B661AF3D4: from=<[email protected]>, size=526, nrcpt=1 (queue active) Feb 19 12:43:00 centos postfix/smtp[16585]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused Feb 19 12:43:00 centos postfix/smtp[16586]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused Feb 19 12:43:00 centos postfix/smtp[16585]: A2FCC61AF3D0: to=<[email protected]>, relay=none, delay=71935, delays=71935/0.02/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Feb 19 12:43:00 centos postfix/smtp[16586]: 383B661AF3D4: to=<[email protected]>, relay=none, delay=71911, delays=71911/0.04/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Feb 19 12:43:36 centos dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=16641, secured, session=<canc6TyC6rUAAAAAAAAAAAAAAAAAAAAB> Feb 19 12:43:36 centos dovecot: imap([email protected]): Logged out in=50 out=527 Feb 19 12:44:36 centos dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=16702, secured, session=<bzlw7TyC7LUAAAAAAAAAAAAAAAAAAAAB> Feb 19 12:44:36 centos dovecot: imap([email protected]): Logged out in=50 out=519 Feb 19 12:48:00 centos postfix/qmgr[3848]: EBDD961E8F94: from=<[email protected]>, size=521, nrcpt=1 (queue active) Feb 19 12:48:00 centos postfix/qmgr[3848]: 3749D61E8F93: from=<[email protected]>, size=536, nrcpt=1 (queue active) Feb 19 12:48:00 centos postfix/qmgr[3848]: 25E7461E8F95: from=<[email protected]>, size=548, nrcpt=2 (queue active) Feb 19 12:48:00 centos postfix/smtp[16985]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused Feb 19 12:48:00 centos postfix/smtp[16986]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused Feb 19 12:48:00 centos postfix/smtp[16985]: EBDD961E8F94: to=<[email protected]>, relay=none, delay=2184, delays=2184/0.02/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Feb 19 12:48:00 centos postfix/smtp[16985]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused Feb 19 12:48:00 centos postfix/smtp[16986]: 3749D61E8F93: to=<[email protected]>, relay=none, delay=2203, delays=2203/0.03/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Feb 19 12:48:00 centos postfix/smtp[16985]: 25E7461E8F95: to=<[email protected]>, relay=none, delay=965, delays=965/0.06/0.01/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Feb 19 12:48:00 centos postfix/smtp[16985]: 25E7461E8F95: to=<[email protected]>, relay=none, delay=965, delays=965/0.06/0.01/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Feb 19 12:48:31 centos dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=17040, secured, session=<Yj5z+zyCCrYAAAAAAAAAAAAAAAAAAAAB> Feb 19 12:48:31 centos dovecot: imap([email protected]): Error: stat(/var/vmail/ad.gil-car.co.il/gc/Maildir/.Sent/tmp) failed: Permission denied (euid=5000(<unknown>) egid=5000(vmail) missing +x perm: /var/vmail/ad.gil-car.co.il/gc/Maildir/.Sent, dir owned by 0:5000 mode=0700) Feb 19 12:48:31 centos dovecot: imap([email protected]): Error: stat(/var/vmail/ad.gil-car.co.il/gc/Maildir/.Sent/tmp) failed: Permission denied (euid=5000(<unknown>) egid=5000(vmail) missing +x perm: /var/vmail/ad.gil-car.co.il/gc/Maildir/.Sent, dir owned by 0:5000 mode=0700) Feb 19 12:48:31 centos dovecot: imap([email protected]): Logged out in=111 out=807 Feb 19 12:48:36 centos dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=17045, secured, session=<A+S++zyCDLYAAAAAAAAAAAAAAAAAAAAB> Feb 19 12:48:36 centos dovecot: imap([email protected]): Error: stat(/var/vmail/ad.gil-car.co.il/gc/Maildir/.Sent/tmp) failed: Permission denied (euid=5000(<unknown>) egid=5000(vmail) missing +x perm: /var/vmail/ad.gil-car.co.il/gc/Maildir/.Sent, dir owned by 0:5000 mode=0700) Feb 19 12:48:36 centos dovecot: imap([email protected]): Error: stat(/var/vmail/ad.gil-car.co.il/gc/Maildir/.Sent/tmp) failed: Permission denied (euid=5000(<unknown>) egid=5000(vmail) missing +x perm: /var/vmail/ad.gil-car.co.il/gc/Maildir/.Sent, dir owned by 0:5000 mode=0700) Feb 19 12:48:36 centos dovecot: imap([email protected]): Error: stat(/var/vmail/ad.gil-car.co.il/gc/Maildir/.Sent/tmp) failed: Permission denied (euid=5000(<unknown>) egid=5000(vmail) missing +x perm: /var/vmail/ad.gil-car.co.il/gc/Maildir/.Sent, dir owned by 0:5000 mode=0700) Feb 19 12:48:36 centos dovecot: imap([email protected]): Logged out in=143 out=918 Feb 19 12:48:41 centos clamd[12321]: SelfCheck: Database status OK. Feb 19 12:49:36 centos dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=17118, secured, session=<KvtR/zyCDrYAAAAAAAAAAAAAAAAAAAAB> Feb 19 12:49:36 centos dovecot: imap([email protected]): Error: stat(/var/vmail/ad.gil-car.co.il/gc/Maildir/.Sent/tmp) failed: Permission denied (euid=5000(<unknown>) egid=5000(vmail) missing +x perm: /var/vmail/ad.gil-car.co.il/gc/Maildir/.Sent, dir owned by 0:5000 mode=0700) Feb 19 12:49:36 centos dovecot: imap([email protected]): Error: stat(/var/vmail/ad.gil-car.co.il/gc/Maildir/.Sent/tmp) failed: Permission denied (euid=5000(<unknown>) egid=5000(vmail) missing +x perm: /var/vmail/ad.gil-car.co.il/gc/Maildir/.Sent, dir owned by 0:5000 mode=0700) Feb 19 12:49:36 centos dovecot: imap([email protected]): Error: stat(/var/vmail/ad.gil-car.co.il/gc/Maildir/.Sent/tmp) failed: Permission denied (euid=5000(<unknown>) egid=5000(vmail) missing +x perm: /var/vmail/ad.gil-car.co.il/gc/Maildir/.Sent, dir owned by 0:5000 mode=0700) Feb 19 12:49:36 centos dovecot: imap([email protected]): Logged out in=143 out=918
[root@centos ~]# chmod +x /var/vmail [root@centos ~]# chmod -R 770 /var/vmail/* Feb 19 14:31:09 centos dovecot: imap([email protected]): Logged out in=143 out=918 Feb 19 14:32:03 centos postfix/qmgr[3752]: E749161AF3C5: from=<[email protected]>, size=426, nrcpt=1 (queue active) Feb 19 14:32:03 centos postfix/smtp[21950]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused Feb 19 14:32:03 centos postfix/smtp[21950]: E749161AF3C5: to=<[email protected]>, relay=none, delay=79589, delays=79589/0.02/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Feb 19 14:32:09 centos dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=21959, secured, session=<nxETbj6CcpYAAAAAAAAAAAAAAAAAAAAB> Feb 19 14:32:09 centos dovecot: imap([email protected]): Error: stat(/var/vmail/ad.gil-car.co.il/gc/Maildir/.Sent/tmp) failed: Permission denied (euid=5000(<unknown>) egid=5000(vmail) missing +x perm: /var/vmail/ad.gil-car.co.il/gc/Maildir/.Sent, dir owned by 0:5000 mode=0700) Feb 19 14:32:09 centos dovecot: imap([email protected]): Error: stat(/var/vmail/ad.gil-car.co.il/gc/Maildir/.Sent/tmp) failed: Permission denied (euid=5000(<unknown>) egid=5000(vmail) missing +x perm: /var/vmail/ad.gil-car.co.il/gc/Maildir/.Sent, dir owned by 0:5000 mode=0700) Feb 19 14:32:09 centos dovecot: imap([email protected]): Error: stat(/var/vmail/ad.gil-car.co.il/gc/Maildir/.Sent/tmp) failed: Permission denied (euid=5000(<unknown>) egid=5000(vmail) missing +x perm: /var/vmail/ad.gil-car.co.il/gc/Maildir/.Sent, dir owned by 0:5000 mode=0700) Feb 19 14:32:09 centos dovecot: imap([email protected]): Logged out in=143 out=918 Feb 19 14:32:45 centos clamd[12361]: SelfCheck: Database status OK. Feb 19 14:33:09 centos dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=22022, secured, session=<YK+mcT6CdJYAAAAAAAAAAAAAAAAAAAAB> Feb 19 14:33:09 centos dovecot: imap([email protected]): Error: stat(/var/vmail/ad.gil-car.co.il/gc/Maildir/.Sent/tmp) failed: Permission denied (euid=5000(<unknown>) egid=5000(vmail) missing +x perm: /var/vmail/ad.gil-car.co.il/gc/Maildir/.Sent, dir owned by 0:5000 mode=0700) Feb 19 14:33:09 centos dovecot: imap([email protected]): Error: stat(/var/vmail/ad.gil-car.co.il/gc/Maildir/.Sent/tmp) failed: Permission denied (euid=5000(<unknown>) egid=5000(vmail) missing +x perm: /var/vmail/ad.gil-car.co.il/gc/Maildir/.Sent, dir owned by 0:5000 mode=0700) Feb 19 14:33:09 centos dovecot: imap([email protected]): Error: stat(/var/vmail/ad.gil-car.co.il/gc/Maildir/.Sent/tmp) failed: Permission denied (euid=5000(<unknown>) egid=5000(vmail) missing +x perm: /var/vmail/ad.gil-car.co.il/gc/Maildir/.Sent, dir owned by 0:5000 mode=0700) Feb 19 14:33:09 centos dovecot: imap([email protected]): Logged out in=143 out=918 Feb 19 14:34:10 centos dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=22085, secured, session=<gvpIdT6CdpYAAAAAAAAAAAAAAAAAAAAB> Feb 19 14:34:10 centos dovecot: imap([email protected]): Error: stat(/var/vmail/ad.gil-car.co.il/gc/Maildir/.Sent/tmp) failed: Permission denied (euid=5000(<unknown>) egid=5000(vmail) missing +x perm: /var/vmail/ad.gil-car.co.il/gc/Maildir/.Sent, dir owned by 0:5000 mode=0700) Feb 19 14:34:10 centos dovecot: imap([email protected]): Error: stat(/var/vmail/ad.gil-car.co.il/gc/Maildir/.Sent/tmp) failed: Permission denied (euid=5000(<unknown>) egid=5000(vmail) missing +x perm: /var/vmail/ad.gil-car.co.il/gc/Maildir/.Sent, dir owned by 0:5000 mode=0700) Feb 19 14:34:10 centos dovecot: imap([email protected]): Error: stat(/var/vmail/ad.gil-car.co.il/gc/Maildir/.Sent/tmp) failed: Permission denied (euid=5000(<unknown>) egid=5000(vmail) missing +x perm: /var/vmail/ad.gil-car.co.il/gc/Maildir/.Sent, dir owned by 0:5000 mode=0700) Feb 19 14:34:10 centos dovecot: imap([email protected]): Logged out in=143 out=918
I wonder why it says euid=5000(<unknown>, is the vmail user missing on your system in /etc/passwd or does it has a different UID than 5000?
And maybe some background to your problem? is this a fresh install or was it working before and if it's a fresh install, which tutorial did you use to install the server and was it a clean and empty system when you started to follow the tutorials?
Ok, that's a wrong UID and GID. Maybe you installed a different program first which used the same username?