Re: postfix/smtp Connection timeout

2019-06-04 Thread subscription1

Thanks. That was the problem

Leo

On 4/6/19 10:53 pm, Bill Cole wrote:

On 4 Jun 2019, at 8:23, subscription1 wrote:


telnet on the working server shoews

---

 >>> telnet 203.205.219.57 25
Trying 203.205.219.57...
Connected to 203.205.219.57.
Escape character is '^]'.
220 newxmmxsza20.qq.com MX QQ Mail Server.
^]
telnet>



On the failing server I get

---

 >>> telnet 203.205.219.57 25
Trying 203.205.219.57...

--

I can ping 203.205.219.57 from both servers


This is a symptom of your network provider blocking port 25 outbound. 
That has long been the norm for residential/recreational service and 
in recent years it has expanded to the low-end hosting market 
(including Amazon and OVH,) where it is now common for hosting 
providers to block port 25 outbound by default and either provide an 
authenticated relay service (e.g. Amazon SES) or to unblock the port 
by customer request. Making the issue more complex, some providers 
have implemented port 25 blocking unevenly, so that some of their 
customers or networks are unblocked despite the official practice.





Re: postfix/smtp Connection timeout

2019-06-04 Thread Wietse Venema
subscription1:
> On the failing server I get
> ---
>  >>> telnet 203.205.219.57 25
> Trying 203.205.219.57...

This is no longer a Postfix question. You need to fix your network first.

Wietse


Re: postfix/smtp Connection timeout

2019-06-04 Thread Bill Cole

On 4 Jun 2019, at 8:23, subscription1 wrote:


telnet on the working server shoews

---

 >>> telnet 203.205.219.57 25
Trying 203.205.219.57...
Connected to 203.205.219.57.
Escape character is '^]'.
220 newxmmxsza20.qq.com MX QQ Mail Server.
^]
telnet>



On the failing server I get

---

 >>> telnet 203.205.219.57 25
Trying 203.205.219.57...

--

I can ping 203.205.219.57 from both servers


This is a symptom of your network provider blocking port 25 outbound. 
That has long been the norm for residential/recreational service and in 
recent years it has expanded to the low-end hosting market (including 
Amazon and OVH,) where it is now common for hosting providers to block 
port 25 outbound by default and either provide an authenticated relay 
service (e.g. Amazon SES) or to unblock the port by customer request. 
Making the issue more complex, some providers have implemented port 25 
blocking unevenly, so that some of their customers or networks are 
unblocked despite the official practice.



--
Bill Cole
b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)


Re: postfix/smtp Connection timeout

2019-06-04 Thread subscription1
The two servers are on different machines (different continents, 
actually) and different domains.


I've sent an email to the same (non-existitent) recipient

One the working server I get this

---

Jun  4 14:06:50 mail1 postfix/submission/smtpd[13650]: connect from 
unknown[210.185.104.16]
Jun  4 14:06:55 mail1 postfix/submission/smtpd[13650]: 312BA29EC56: 
client=unknown[210.185.104.16], sasl_method=PLAIN, 
sasl_username=po...@zudiewiener.com
Jun  4 14:06:55 mail1 postfix/cleanup[13654]: 312BA29EC56: 
message-id=
Jun  4 14:06:56 mail1 postfix/qmgr[1668]: 312BA29EC56: 
from=, size=397, nrcpt=1 (queue active)
Jun  4 14:06:56 mail1 postfix/submission/smtpd[13650]: disconnect from 
unknown[210.185.104.16] ehlo=2 starttls=1 auth=1 mail=1 rcpt=1 data=1 
quit=1 commands=8
Jun  4 14:07:04 mail1 postfix/smtp[13655]: 312BA29EC56: 
to=, relay=mx3.qq.com[203.205.219.57]:25, delay=12, 
delays=2.7/0.03/8.3/0.55, dsn=5.0.0, status=bounced (host 
mx3.qq.com[203.205.219.57] said: 550 Mailbox not found. 
http://service.mail.qq.com/cgi-bin/help?subtype=1&=20022&=1000728 
(in reply to RCPT TO command))
Jun  4 14:07:05 mail1 postfix/cleanup[13661]: 6F1F529EC5A: 
message-id=<20190604120705.6f1f529e...@mail1.zudiewiener.com>
Jun  4 14:07:05 mail1 postfix/bounce[13660]: 312BA29EC56: sender 
non-delivery notification: 6F1F529EC5A
Jun  4 14:07:05 mail1 postfix/qmgr[1668]: 6F1F529EC5A: from=<>, 
size=2689, nrcpt=1 (queue active)

Jun  4 14:07:05 mail1 postfix/qmgr[1668]: 312BA29EC56: removed
Jun  4 14:07:05 mail1 postfix/lmtp[13662]: 6F1F529EC5A: 
to=, 
relay=mail1.zudiewiener.com[private/dovecot-lmtp], delay=0.05, 
delays=0.02/0.01/0.01/0.01, dsn=2.0.0, status=sent (250 2.0.0 
 AFPWHOle9lxfNQAAHQghHA Saved)

Jun  4 14:07:05 mail1 postfix/qmgr[1668]: 6F1F529EC5A: removed



On the failed server I get

---

Jun  4 22:07:38 mail postfix/submission/smtpd[14146]: connect from 
unknown[210.185.104.16]
Jun  4 22:07:39 mail postfix/submission/smtpd[14146]: B4C025FA97: 
client=unknown[210.185.104.16], sasl_method=PLAIN, 
sasl_username=ll...@dragonclaw.net
Jun  4 22:07:39 mail postfix/cleanup[14149]: B4C025FA97: 
message-id=<55b8c045-0fb9-bece-dd68-9f793260c...@dragonclaw.net>
Jun  4 22:07:41 mail postfix/qmgr[11467]: B4C025FA97: 
from=, size=395, nrcpt=1 (queue active)
Jun  4 22:07:41 mail postfix/submission/smtpd[14146]: disconnect from 
unknown[210.185.104.16] ehlo=2 starttls=1 auth=1 mail=1 rcpt=1 data=1 
quit=1 commands=8
Jun  4 22:08:12 mail postfix/smtp[14150]: connect to 
mx3.qq.com[203.205.219.57]:25: Connection timed out
Jun  4 22:08:12 mail postfix/smtp[14150]: connect to 
mx3.qq.com[2001:df6:f400::2808]:25: Network is unreachable
Jun  4 22:08:12 mail postfix/smtp[14150]: connect to 
mx2.qq.com[2001:df6:f400::2808]:25: Network is unreachable





The telnet on the working server shoews

---

>>> telnet 203.205.219.57 25
Trying 203.205.219.57...
Connected to 203.205.219.57.
Escape character is '^]'.
220 newxmmxsza20.qq.com MX QQ Mail Server.
^]
telnet>




On the failing server I get

---

>>> telnet 203.205.219.57 25
Trying 203.205.219.57...

--


I can ping 203.205.219.57 from both servers

Thanks

Leo

On 4/6/19 9:19 pm, Wietse Venema wrote:

subscription1:

Jun? 4 17:21:11 mail postfix/smtp[11505]: connect to
mail1.zudiewiener.com[173.212.231.229]:25: Connection timed out

Do the two mail servers run on different machines, each with
a different IP address?

Does 'telnet 173.212.231.229 25' work from both machines,
or does it work only from one machine?

Wietse


Re: postfix/smtp Connection timeout

2019-06-04 Thread Wietse Venema
subscription1:
> Jun? 4 17:21:11 mail postfix/smtp[11505]: connect to 
> mail1.zudiewiener.com[173.212.231.229]:25: Connection timed out

Do the two mail servers run on different machines, each with 
a different IP address?

Does 'telnet 173.212.231.229 25' work from both machines,
or does it work only from one machine?

Wietse


postfix/smtp Connection timeout

2019-06-04 Thread subscription1

Hi,

I have two mail server configured the same way. A diff of the output of

postconf -n

shows only (expected) differences for



inet_interfaces

mydomain

myhostname

smtpd_banner

smtpd_tls_cert_file

smtpd_tls_key_file



I can send emails from my client from one without fail, while I get 
connection timeout errors for the other




Jun  4 17:20:39 mail postfix/submission/smtpd[11500]: connect from 
unknown[210.185.104.16]
Jun  4 17:20:40 mail postfix/submission/smtpd[11500]: 161365FA82: 
client=unknown[210.185.104.16], sasl_method=PLAIN, 
sasl_username=ll...@dragonclaw.net
Jun  4 17:20:40 mail postfix/cleanup[11504]: 161365FA82: 
message-id=<6accc68a-c0b4-033a-f633-2cc22ef5e...@dragonclaw.net>
Jun  4 17:20:41 mail postfix/qmgr[11467]: 161365FA82: 
from=, size=404, nrcpt=1 (queue active)
Jun  4 17:20:41 mail postfix/submission/smtpd[11500]: disconnect from 
unknown[210.185.104.16] ehlo=2 starttls=1 auth=1 mail=1 rcpt=1 data=1 
quit=1 commands=8
Jun  4 17:21:11 mail postfix/smtp[11505]: connect to 
mail1.zudiewiener.com[173.212.231.229]:25: Connection timed out
Jun  4 17:21:41 mail postfix/smtp[11505]: connect to 
mail1.no-ip.com[8.23.224.50]:25: Connection timed out
Jun  4 17:22:11 mail postfix/smtp[11505]: connect to 
mail2.no-ip.com[69.65.5.119]:25: Connection timed out


-

Thanks for any help to resolve this.

Leo