1

Topic: can not send/receive email from some domains

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.4
- Linux/BSD distribution name and version: Debian 8.3
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? no
- Related log if you're reporting an issue:
====
Hello, my server mail can not send and receive email from some domains. Pls see the mail log details below

Feb 23 20:48:35 srv1 postfix/anvil[2247]: statistics: max connection count 1 for (smtp:50.77.145.78) at Feb 23 20:45:12
Feb 23 20:48:35 srv1 postfix/anvil[2247]: statistics: max cache size 1 at Feb 23 20:45:12
Feb 23 20:49:07 srv1 postfix/smtpd[2825]: connect from unknown[185.130.5.160]
Feb 23 20:49:11 srv1 postfix/smtpd[2825]: warning: unknown[185.130.5.160]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Feb 23 20:49:11 srv1 postfix/smtpd[2825]: disconnect from unknown[185.130.5.160]
Feb 23 20:49:37 srv1 postfix/smtpd[2825]: connect from snt004-omc3s28.hotmail.com[65.55.90.167]
Feb 23 20:52:01 srv1 postfix/smtpd[2852]: connect from blu004-omc2s32.hotmail.com[65.55.111.107]
Feb 23 20:54:38 srv1 postfix/smtpd[2825]: SSL_accept error from snt004-omc3s28.hotmail.com[65.55.90.167]: Connection timed out
Feb 23 20:54:38 srv1 postfix/smtpd[2825]: lost connection after STARTTLS from snt004-omc3s28.hotmail.com[65.55.90.167]
Feb 23 20:54:38 srv1 postfix/smtpd[2825]: disconnect from snt004-omc3s28.hotmail.com[65.55.90.167]
Feb 23 20:56:47 srv1 postfix/smtpd[2868]: connect from nm50-vm4.bullet.mail.bf1.yahoo.com[216.109.115.223]
Feb 23 20:57:02 srv1 postfix/smtpd[2852]: SSL_accept error from blu004-omc2s32.hotmail.com[65.55.111.107]: Connection timed out
Feb 23 20:57:02 srv1 postfix/smtpd[2852]: lost connection after STARTTLS from blu004-omc2s32.hotmail.com[65.55.111.107]
Feb 23 20:57:02 srv1 postfix/smtpd[2852]: disconnect from blu004-omc2s32.hotmail.com[65.55.111.107]
Feb 23 20:57:44 srv1 postfix/smtpd[2852]: connect from nm9-vm0.bullet.mail.bf1.yahoo.com[98.139.213.154]
Feb 23 20:59:07 srv1 postfix/anvil[2827]: statistics: max connection rate 1/60s for (smtp:185.130.5.160) at Feb 23 20:49:07
Feb 23 20:59:07 srv1 postfix/anvil[2827]: statistics: max connection count 1 for (smtp:185.130.5.160) at Feb 23 20:49:07
Feb 23 20:59:07 srv1 postfix/anvil[2827]: statistics: max cache size 3 at Feb 23 20:50:08
Feb 23 21:01:48 srv1 postfix/smtpd[2868]: SSL_accept error from nm50-vm4.bullet.mail.bf1.yahoo.com[216.109.115.223]: Connection timed out
Feb 23 21:01:48 srv1 postfix/smtpd[2868]: lost connection after STARTTLS from nm50-vm4.bullet.mail.bf1.yahoo.com[216.109.115.223]
Feb 23 21:01:48 srv1 postfix/smtpd[2868]: disconnect from nm50-vm4.bullet.mail.bf1.yahoo.com[216.109.115.223]
Feb 23 21:02:45 srv1 postfix/smtpd[2852]: SSL_accept error from nm9-vm0.bullet.mail.bf1.yahoo.com[98.139.213.154]: Connection timed out
Feb 23 21:02:45 srv1 postfix/smtpd[2852]: lost connection after STARTTLS from nm9-vm0.bullet.mail.bf1.yahoo.com[98.139.213.154]
Feb 23 21:02:45 srv1 postfix/smtpd[2852]: disconnect from nm9-vm0.bullet.mail.bf1.yahoo.com[98.139.213.154]
Feb 23 21:04:37 srv1 postfix/smtpd[2945]: connect from snt004-omc3s28.hotmail.com[65.55.90.167]
Feb 23 21:22:14 srv1 postfix/smtpd[3117]: SSL_accept error from o1678962x133.outbound-mail.sendgrid.net[167.89.62.133]: lost connection
Feb 23 21:22:14 srv1 postfix/smtpd[3117]: lost connection after STARTTLS from o1678962x133.outbound-mail.sendgrid.net[167.89.62.133]
Feb 23 21:22:14 srv1 postfix/smtpd[3117]: disconnect from o1678962x133.outbound-mail.sendgrid.net[167.89.62.133]
.....

----

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

2

Re: can not send/receive email from some domains

Did you change any Postfix settings?

3

Re: can not send/receive email from some domains

No, i did not change any Postfix setting. But why i can send/receive email from google.com ?

4

Re: can not send/receive email from some domains

Please comment out "smtp_tls_security_level =" in /etc/postfix/main.cf, reload/restart postfix service and try again.

5

Re: can not send/receive email from some domains

nothing change. still not send/receive email from/to some domains. Please see log detail

Feb 24 16:19:30 srv1 postfix/smtpd[7319]: setting up TLS connection from blu004-omc2s32.hotmail.com[65.55.111.107]
Feb 24 16:19:30 srv1 postfix/smtpd[7319]: blu004-omc2s32.hotmail.com[65.55.111.107]: TLS cipher list "aNULL:-aNULL:ALL:+RC4:@STRENGTH"
Feb 24 16:19:30 srv1 postfix/smtpd[7319]: SSL_accept:before/accept initialization
Feb 24 16:19:30 srv1 postfix/smtpd[7319]: SSL_accept:unknown state
Feb 24 16:19:30 srv1 postfix/smtpd[7319]: SSL_accept:unknown state
Feb 24 16:19:30 srv1 postfix/smtpd[7319]: SSL_accept:unknown state
Feb 24 16:19:30 srv1 postfix/smtpd[7319]: SSL_accept:unknown state
Feb 24 16:19:30 srv1 postfix/smtpd[7319]: SSL_accept:unknown state
Feb 24 16:19:30 srv1 postfix/smtpd[7319]: SSL_accept:unknown state
Feb 24 16:21:47 srv1 postfix/smtpd[7349]: initializing the server-side TLS engine
Feb 24 16:21:57 srv1 postfix/smtpd[7352]: connect from blu004-omc3s30.hotmail.com[65.55.116.105]
Feb 24 16:21:58 srv1 postfix/smtpd[7352]: setting up TLS connection from blu004-omc3s30.hotmail.com[65.55.116.105]
Feb 24 16:21:58 srv1 postfix/smtpd[7352]: blu004-omc3s30.hotmail.com[65.55.116.105]: TLS cipher list "aNULL:-aNULL:ALL:+RC4:@STRENGTH"
Feb 24 16:21:58 srv1 postfix/smtpd[7352]: SSL_accept:before/accept initialization
Feb 24 16:21:58 srv1 postfix/smtpd[7352]: SSL_accept:unknown state
Feb 24 16:21:58 srv1 postfix/smtpd[7352]: SSL_accept:unknown state
Feb 24 16:21:58 srv1 postfix/smtpd[7352]: SSL_accept:unknown state
Feb 24 16:21:58 srv1 postfix/smtpd[7352]: SSL_accept:unknown state
Feb 24 16:21:58 srv1 postfix/smtpd[7352]: SSL_accept:unknown state
Feb 24 16:21:58 srv1 postfix/smtpd[7352]: SSL_accept:unknown state
Feb 24 16:23:19 srv1 postfix/smtpd[7358]: initializing the server-side TLS engine
Feb 24 16:23:20 srv1 postfix/smtpd[7358]: connect from mail93126.dotvndns.vn[112.213.93.126]
Feb 24 16:23:20 srv1 postfix/smtpd[7358]: setting up TLS connection from mail93126.dotvndns.vn[112.213.93.126]
Feb 24 16:23:20 srv1 postfix/smtpd[7358]: mail93126.dotvndns.vn[112.213.93.126]: TLS cipher list "aNULL:-aNULL:ALL:+RC4:@STRENGTH"
Feb 24 16:23:20 srv1 postfix/smtpd[7358]: SSL_accept:before/accept initialization
Feb 24 16:23:20 srv1 postfix/smtpd[7358]: SSL_accept:unknown state
Feb 24 16:23:20 srv1 postfix/smtpd[7358]: SSL_accept:unknown state
Feb 24 16:23:20 srv1 postfix/smtpd[7358]: SSL_accept:unknown state
Feb 24 16:23:20 srv1 postfix/smtpd[7358]: SSL_accept:unknown state
Feb 24 16:23:20 srv1 postfix/smtpd[7358]: SSL_accept:unknown state
Feb 24 16:23:20 srv1 postfix/smtpd[7358]: SSL_accept:unknown state
Feb 24 16:23:47 srv1 postfix/smtpd[7349]: SSL_accept:failed in unknown state
Feb 24 16:23:47 srv1 postfix/smtpd[7349]: SSL_accept error from mx5.hn.vincomjsc.com[103.238.211.154]: lost connection
Feb 24 16:23:47 srv1 postfix/smtpd[7349]: lost connection after STARTTLS from mx5.hn.vincomjsc.com[103.238.211.154]
Feb 24 16:23:47 srv1 postfix/smtpd[7349]: disconnect from mx5.hn.vincomjsc.com[103.238.211.154]
Feb 24 16:24:11 srv1 postfix/smtpd[7349]: connect from blu004-omc3s14.hotmail.com[65.55.116.89]
Feb 24 16:24:12 srv1 postfix/smtpd[7349]: setting up TLS connection from blu004-omc3s14.hotmail.com[65.55.116.89]
Feb 24 16:24:12 srv1 postfix/smtpd[7349]: blu004-omc3s14.hotmail.com[65.55.116.89]: TLS cipher list "aNULL:-aNULL:ALL:+RC4:@STRENGTH"
Feb 24 16:24:12 srv1 postfix/smtpd[7349]: SSL_accept:before/accept initialization
Feb 24 16:24:12 srv1 postfix/smtpd[7349]: SSL_accept:unknown state
Feb 24 16:24:12 srv1 postfix/smtpd[7349]: SSL_accept:unknown state
Feb 24 16:24:12 srv1 postfix/smtpd[7349]: SSL_accept:unknown state
Feb 24 16:24:12 srv1 postfix/smtpd[7349]: SSL_accept:unknown state
Feb 24 16:24:12 srv1 postfix/smtpd[7349]: SSL_accept:unknown state
Feb 24 16:24:12 srv1 postfix/smtpd[7349]: SSL_accept:unknown state
Feb 24 16:24:31 srv1 postfix/smtpd[7319]: SSL_accept error from blu004-omc2s32.hotmail.com[65.55.111.107]: Connection timed out
Feb 24 16:24:31 srv1 postfix/smtpd[7319]: lost connection after STARTTLS from blu004-omc2s32.hotmail.com[65.55.111.107]
Feb 24 16:24:31 srv1 postfix/smtpd[7319]: disconnect from blu004-omc2s32.hotmail.com[65.55.111.107]
......

6

Re: can not send/receive email from some domains

*) Does it work if you set 'smtp_tls_security_level=none' in /etc/postfix/main.cf?
*) Seems sender server is trying to connect over TLS for secure connection, with 'smtp_tls_security_level=none', all sender servers should try without TLS instead.