1

Topic: status=deferred (temporary failure)

Temporary failed error

Jun  1 19:25:13 mail postfix/pipe[14534]: E7B9D103BFF: to=<postmaster@mydomain.com>, relay=dovecot, delay=967, delays=967/0.07/0/0.23, dsn=4.3.0, status=deferred (temporary failure)

root@mail:~# tail -f /var/log/dovecot/imap.log
Jun  1 17:40:46 mail dovecot: imap-login: Login: user=<support@mydomain.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=5340, secured, session=<xZkYaJZtcph/AAAB>
Jun  1 17:40:46 mail dovecot: imap(support@mydomain.com): Error: chdir(/var/vmail/vmail1/mydomain.com/s/u/p/support-2018.06.01.16.41.57//) failed: Permission denied (euid=2000(<unknown>) egid=2000(<unknown>) missing +x perm: /var/vmail/vmail1, dir owned by 6000:6000 mode=0700)
Jun  1 17:40:46 mail dovecot: imap(support@mydomain.com): Error: chdir(/var/vmail/vmail1/mydomain.com/s/u/p/support-2018.06.01.16.41.57/) failed: Permission denied
Jun  1 17:40:46 mail dovecot: imap(support@mydomain.com): Error: stats: open(/var/run/dovecot/stats-mail) failed: Permission denied
Jun  1 17:40:46 mail dovecot: imap(support@mydomain.com): Error: User initialization failed: Namespace '': stat(/var/vmail/vmail1/mydomain.com/s/u/p/support-2018.06.01.16.41.57//Maildir) failed: Permission denied (euid=2000(<unknown>) egid=2000(<unknown>) missing +x perm: /var/vmail/vmail1, dir owned by 6000:6000 mode=0700)
Jun  1 17:50:27 mail dovecot: imap-login: Login: user=<support@mydomain.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=6151, secured, session=<soX0ipZtJJp/AAAB>
Jun  1 17:50:27 mail dovecot: imap(support@mydomain.com): Error: chdir(/var/vmail/vmail1/mydomain.com/s/u/p/support-2018.06.01.16.41.57//) failed: Permission denied (euid=2000(<unknown>) egid=2000(<unknown>) missing +x perm: /var/vmail/vmail1, dir owned by 6000:6000 mode=0700)
Jun  1 17:50:27 mail dovecot: imap(support@mydomain.com): Error: chdir(/var/vmail/vmail1/mydomain.com/s/u/p/support-2018.06.01.16.41.57/) failed: Permission denied
Jun  1 17:50:27 mail dovecot: imap(support@mydomain.com): Error: stats: open(/var/run/dovecot/stats-mail) failed: Permission denied
Jun  1 17:50:27 mail dovecot: imap(support@mydomain.com): Error: User initialization failed: Namespace '': stat(/var/vmail/vmail1/mydomain.com/s/u/p/support-2018.06.01.16.41.57//Maildir) failed: Permission denied (euid=2000(<unknown>) egid=2000(<unknown>) missing +x perm: /var/vmail/vmail1, dir owned by 6000:6000 mode=0700)


drwxr-xr-x  9 vmail vmail  4096 May 31 12:49 vmail  <== user/group


vmail uid= 6000
vmail gid= 6000

/etc/dovocet/dovecot.conf

# User/group who owns the message files:
mail_uid = 2000
mail_gid = 2000

# Assign uid to virtual users.
first_valid_uid = 2000
last_valid_uid = 2000

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: status=deferred (temporary failure)

tehseensagarpk wrote:

Jun  1 17:40:46 mail dovecot: imap(support@mydomain.com): Error: chdir(/var/vmail/vmail1/mydomain.com/s/u/p/support-2018.06.01.16.41.57/) failed: Permission denied

Directory /var/vmail/vmail1 and all sub-folders must be owned by vmail:vmail, with permission 0700.

P.S. why did you change the uid/gid of "vmail" user/group?

3

Re: status=deferred (temporary failure)

thanks for your response. I just changed 2000 with 6000 and every thing work fine.