Topic: can't send/receive emails from local domain
======== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.8
- Linux/BSD distribution name and version: Debian GNU/Linux 9.4 (stretch)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): OpenLDAP
- 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.
====
Hi,
Roundcube, iredadmin and netdata works, but i try to send one email from user1@proyectoarj.tk to user2@proyectoarj.tk, the email stay in the "sends" file in a roudcube but user2 never receive the email.
My server is a Virtual Machine on Oracle VirtualBox.
Server: debian.proyectoarj.tk IP: 192.168.1.200
steps
show users accounts in the domain:
now i log in the roundcube with user1 and try to send email to user2:
the email stay in the "Sent" file:
now i log in the roundcube with user2 and hes dont have emails
I see some errors in the postfix log:
May 10 12:28:09 debian postfix/qmgr[2046]: 7C84D5FC70: from=<user1@proyectoarj.tk>, size=550, nrcpt=1 (queue active)
May 10 12:28:09 debian amavis[2048]: (02048-04) (!!)TROUBLE in check_mail: check_init2 FAILED: Could not open /etc/resolv.conf: No such file or directory at /usr/sbin/amavisd-new line 17766.
May 10 12:28:09 debian amavis[2048]: (02048-04) (!)PRESERVING EVIDENCE in /var/lib/amavis/tmp/amavis-20180510T122809-02048-HtHIoyJP
May 10 12:28:09 debian postfix/amavis/smtp[3859]: 7C84D5FC70: to=<user2@proyectoarj.tk>, relay=127.0.0.1[127.0.0.1]:10026, delay=2253, delays=2253/0.01/0/0.04, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] d: 451 4.5.0 Error in processing, id=02048-04, check_init2 FAILED: Could not open /etc/resolv.conf: No such file or directory at /usr/sbin/amavisd-new line 17766. (in reply to end of DATA command))
May 10 12:33:09 debian postfix/qmgr[2046]: D5F865FC79: from=<amavis@debian.proyectoarj.tk>, size=725, nrcpt=1 (queue active)
May 10 12:33:09 debian postfix/qmgr[2046]: 34D8B5FC7A: from=<user1@proyectoarj.tk>, size=577, nrcpt=1 (queue active)
May 10 12:33:09 debian amavis[2047]: (02047-04) (!!)TROUBLE in check_mail: check_init2 FAILED: Could not open /etc/resolv.conf: No such file or directory at /usr/sbin/amavisd-new line 17766.
May 10 12:33:09 debian amavis[2047]: (02047-04) (!)PRESERVING EVIDENCE in /var/lib/amavis/tmp/amavis-20180510T123309-02047-VbR_lWbx
May 10 12:33:09 debian amavis[2051]: (02051-05) (!!)TROUBLE in check_mail: check_init2 FAILED: Could not open /etc/resolv.conf: No such file or directory at /usr/sbin/amavisd-new line 17766.
May 10 12:33:09 debian amavis[2051]: (02051-05) (!)PRESERVING EVIDENCE in /var/lib/amavis/tmp/amavis-20180510T123309-02051-wjbNHqm0
May 10 12:33:09 debian postfix/amavis/smtp[3998]: D5F865FC79: to=<amavis@debian.proyectoarj.tk>, relay=127.0.0.1[127.0.0.1]:10024, delay=904, delays=904/0.01/0/0.04, dsn=4.5.0, status=deferred (host 127.0.0.1[127.01] said: 451 4.5.0 Error in processing, id=02047-04, check_init2 FAILED: Could not open /etc/resolv.conf: No such file or directory at /usr/sbin/amavisd-new line 17766. (in reply to end of DATA command))
May 10 12:33:09 debian postfix/amavis/smtp[4000]: 34D8B5FC7A: to=<user2@proyectoarj.tk>, relay=127.0.0.1[127.0.0.1]:10026, delay=468, delays=468/0.02/0/0.05, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] sa 451 4.5.0 Error in processing, id=02051-05, check_init2 FAILED: Could not open /etc/resolv.conf: No such file or directory at /usr/sbin/amavisd-new line 17766. (in reply to end of DATA command))
May 10 12:38:09 debian postfix/qmgr[2046]: DC4F55FC75: from=<netdata@debian.proyectoarj.tk>, size=9247, nrcpt=1 (queue active)
May 10 12:38:09 debian amavis[2050]: (02050-05) (!!)TROUBLE in check_mail: check_init2 FAILED: Could not open /etc/resolv.conf: No such file or directory at /usr/sbin/amavisd-new line 17766.
May 10 12:38:09 debian amavis[2050]: (02050-05) (!)PRESERVING EVIDENCE in /var/lib/amavis/tmp/amavis-20180510T123809-02050-NQ0sSo81
May 10 12:38:09 debian postfix/amavis/smtp[4142]: DC4F55FC75: to=<root@debian.proyectoarj.tk>, relay=127.0.0.1[127.0.0.1]:10024, delay=2305, delays=2305/0.01/0/0.04, dsn=4.5.0, status=deferred (host 127.0.0.1[127.01] said: 451 4.5.0 Error in processing, id=02050-05, check_init2 FAILED: Could not open /etc/resolv.conf: No such file or directory at /usr/sbin/amavisd-new line 17766. (in reply to end of DATA command))
May 10 12:38:26 debian roundcube: <7jse9c12> PHP Error: LDAP: ldap_list failed for dn=domainName=proyectoarj.tk,o=domains,dc=proyectoarj,dc=tk. Bad search filter (POST /mail/?_task=mail&_action=autocomplete)
May 10 12:40:58 debian postfix/submission/smtpd[4270]: connect from debian.proyectoarj.tk[127.0.0.1]
May 10 12:40:58 debian postfix/submission/smtpd[4270]: Anonymous TLS connection established from debian.proyectoarj.tk[127.0.0.1]: TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)
May 10 12:40:58 debian postfix/submission/smtpd[4270]: A56DB5FC7C: client=debian.proyectoarj.tk[127.0.0.1], sasl_method=LOGIN, sasl_username=user1@proyectoarj.tk
May 10 12:40:58 debian postfix/cleanup[4273]: A56DB5FC7C: message-id=<3b478ec21770f72c37b362bef8103445@proyectoarj.tk>
May 10 12:40:58 debian postfix/qmgr[2046]: A56DB5FC7C: from=<user1@proyectoarj.tk>, size=558, nrcpt=1 (queue active)
May 10 12:40:58 debian roundcube: <7jse9c12> User user1@proyectoarj.tk [192.168.1.100]; Message for user2@proyectoarj.tk; 250: 2.0.0 Ok: queued as A56DB5FC7C
May 10 12:40:58 debian postfix/submission/smtpd[4270]: disconnect from debian.proyectoarj.tk[127.0.0.1] ehlo=2 starttls=1 auth=1 mail=1 rcpt=1 data=1 quit=1 commands=8
May 10 12:40:58 debian amavis[2049]: (02049-05) (!!)TROUBLE in check_mail: check_init2 FAILED: Could not open /etc/resolv.conf: No such file or directory at /usr/sbin/amavisd-new line 17766.
May 10 12:40:58 debian amavis[2049]: (02049-05) (!)PRESERVING EVIDENCE in /var/lib/amavis/tmp/amavis-20180510T124058-02049-ylpP3RQk
May 10 12:40:58 debian postfix/amavis/smtp[4274]: A56DB5FC7C: to=<user2@proyectoarj.tk>, relay=127.0.0.1[127.0.0.1]:10026, delay=0.12, delays=0.06/0.01/0/0.05, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] d: 451 4.5.0 Error in processing, id=02049-05, check_init2 FAILED: Could not open /etc/resolv.conf: No such file or directory at /usr/sbin/amavisd-new line 17766. (in reply to end of DATA command))
May 10 12:43:09 debian postfix/qmgr[2046]: 34D8B5FC7A: from=<user1@proyectoarj.tk>, size=577, nrcpt=1 (queue active)
May 10 12:43:09 debian amavis[2048]: (02048-05) (!!)TROUBLE in check_mail: check_init2 FAILED: Could not open /etc/resolv.conf: No such file or directory at /usr/sbin/amavisd-new line 17766.
May 10 12:43:09 debian amavis[2048]: (02048-05) (!)PRESERVING EVIDENCE in /var/lib/amavis/tmp/amavis-20180510T124309-02048-RqFraVzY
May 10 12:43:09 debian postfix/amavis/smtp[4348]: 34D8B5FC7A: to=<user2@proyectoarj.tk>, relay=127.0.0.1[127.0.0.1]:10026, delay=1068, delays=1068/0.02/0/0.05, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] d: 451 4.5.0 Error in processing, id=02048-05, check_init2 FAILED: Could not open /etc/resolv.conf: No such file or directory at /usr/sbin/amavisd-new line 17766. (in reply to end of DATA command))
What can i do?
Thank you very much
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.