Topic: iRedMail sends email but does not receive
============ Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.8
- Linux/BSD distribution name and version: Ubuntu 16.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
I can send e-mails with the newly installed iRedMail, but I can't receive them. I think there is a problem with Dovecot, see logs for more info.
Sample of /var/log/mail.log:
Apr 29 20:58:28 mail postfix/amavis/smtp[8363]: 47627181B57: to=<me@example.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.27, delays=0.14/0/0/0.13, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 6C2DF181B5E)
Apr 29 20:58:28 mail postfix/qmgr[2444]: 47627181B57: removed
Apr 29 20:58:28 mail postfix/pipe[8508]: 6C2DF181B5E: to=<me@example.com>, relay=dovecot, delay=0.04, delays=0.01/0.01/0/0.02, dsn=4.3.0, status=deferred (temporary failure)
/var/log/dovecot/dovecot.log:
Apr 29 20:58:28 mail dovecot: lda: Fatal: Internal error occurred. Refer to server log for more information.
(and a lot more of the same error)
/var/log/dovecot/lda.log:
Apr 29 20:58:28 mail dovecot: lda(me@example.com): Error: userdb lookup: connect(/var/run/dovecot/auth-userdb) failed: Permission denied (euid=2000(vmail) egid=2000(vmail) UNIX perms appear ok (ACL/MAC wrong?))
Could anyone help me solve this? If you need more info please let me know!
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.