This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Postfix Connection timed out port 25
#1
Postfix Connection timed out port 25
Hi Guys,

I'm Brazilian and I am facing a strange issue.
I cannot send email to some mailservers and show me the bellow error:
---------------------------------------------------------------------------------------------------
[root@142358 postfix]# postqueue -p
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
70F4E108C4F86     5988 Tue Jul 12 15:27:11  dulcevilela@carvalhovilela.com.br
 (connect to mx.terraempresas.com.br[208.84.244.133]:25: Connection timed out)
                                         certidao@5protesto.com.br

6F256108D1D20     3951 Tue Jul 12 13:40:15  contato@virtualizeja.com.br
           (connect to mx3.bol.com.br[200.147.36.13]:25: Connection timed out)
                                         claudinei.canei@bol.com.br
---------------------------------------------------------------------------------------------------

I can send and receive emails, but I cannot send to few mailservers as above message.
In my master.cf file I have:

submission      inet    n       -       n       -       -       smtpd
26      inet    n       -       n       -       -       smtpd
25      inet    n       -       n       -       -       smtpd
465      inet    n       -       n       -       -       smtpd

Also, port 25 is open in my firewall, and I haven't my IP's black listed.
I have DMARC, SPF, rDNS, TLS and NON-Open relay done without issue.

And here is a small mail log:
[root@142358 /]# tail -f /var/log/maillog:
Jul 13 12:45:19 142358 postfix/smtp[4249]: connect to mx3.bol.com.br[200.147.36.13]:25: Connection timed out
Jul 13 12:45:19 142358 postfix/smtp[4249]: 68EE5108C4F86: to=<claudinei.canei@bol.com.br>, relay=none, delay=83104, delays=83074/0/30/0, dsn=4.4.1, status=deferred (connect to mx3.bol.com.br[200.147.36.13]:25: Connection timed out)
Jul 13 12:45:19 142358 postfix/smtp[4250]: connect to mx.terraempresas.com.br[208.84.244.133]:25: Connection timed out
Jul 13 12:45:19 142358 postfix/smtp[4250]: 6A73A108D1E10: to=<certidao@5protesto.com.br>, relay=none, delay=76688, delays=76658/0/30/0, dsn=4.4.1, status=deferred (connect to mx.terraempresas.com.br[208.84.244.133]:25: Connection timed out)
Jul 13 12:45:34 142358 postfix/smtpd[4204]: connect from mx32.unodata.com.br[192.175.104.104]
Jul 13 12:45:34 142358 postfix/smtpd[4204]: NOQUEUE: reject: RCPT from mx32.unodata.com.br[192.175.104.104]: 450 4.1.1 <antoniodecarvalho@carvalhovilela.com.br>: Recipient address rejected: User unknown in virtual mailbox table; from=<alvessilva@marcelinofreitas.com.br> to=<antoniodecarvalho@carvalhovilela.com.br> proto=ESMTP helo=<mx32.unodata.com.br>
Jul 13 12:45:34 142358 postfix/smtpd[4204]: disconnect from mx32.unodata.com.br[192.175.104.104]


Any idea about how to fix? It is like 'other side' has port 25 blocked, and I imagine that, because here in Brazil is not allow to send email using port 25, but, how to change?

Thanks!
Reply
Thanks given by:
#2
RE: Postfix Connection timed out port 25
Revert back the modifications you made to install TLS as you broke postfix when you did it.

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by:
#3
RE: Postfix Connection timed out port 25
(07-14-2016, 06:40 AM)Me.B Wrote: Revert back the modifications you made to install TLS as you broke postfix when you did it.

M B

I'm facing this problem before to install TLS, in my mind it it isn't the problem.

Are you sure that I need to revert? Will not work, because I can send/receive emails, but some mail server does not allow connection at port 25.
Reply
Thanks given by:
#4
RE: Postfix Connection timed out port 25
So you installed TLS and modded a broken postfix?

Restore the default installed configs. If postfix don't work don't stock pile the modifications that won't fix it.

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by:
#5
RE: Postfix Connection timed out port 25
(07-14-2016, 06:58 AM)Me.B Wrote: So you installed TLS and modded a broken postfix?

Restore the default installed configs. If postfix don't work don't stock pile the modifications that won't fix it.

M B

Ok, can you tell me where I find the 'default config' of Postfix?
Reply
Thanks given by:
#6
RE: Postfix Connection timed out port 25
One more comment...

It isn't a TLS / postfix issue, look the log:

[root@142358 sysconfig]# postqueue -p
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
89CDE108C8710     6488 Thu Jul 14 15:33:52  dulcevilela@carvalhovilela.com.br
            (connect to mx.uol.com.br[200.147.36.15]:25: Connection timed out)
                                         ricardohilkner@uol.com.br

The other server does not accept email (IN) on port 25.

The port is closed/blocked. When I try a telnet I have the same answer:

[root@142358 sysconfig]# telnet mx.uol.com.br 25
Trying 200.147.36.15...
telnet: connect to address 200.147.36.15: Connection timed out
[root@142358 sysconfig]#

Any idea?

Thanks!
Reply
Thanks given by:
#7
RE: Postfix Connection timed out port 25
(07-15-2016, 05:59 AM)ccanei Wrote: One more comment...

It isn't a TLS / postfix issue, look the log:

[root@142358 sysconfig]# postqueue -p
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
89CDE108C8710     6488 Thu Jul 14 15:33:52  dulcevilela@carvalhovilela.com.br
            (connect to mx.uol.com.br[200.147.36.15]:25: Connection timed out)
                                         ricardohilkner@uol.com.br

The other server does not accept email (IN) on port 25.

The port is closed/blocked. When I try a telnet I have the same answer:

[root@142358 sysconfig]# telnet mx.uol.com.br 25
Trying 200.147.36.15...
telnet: connect to address 200.147.36.15: Connection timed out
[root@142358 sysconfig]#

Any idea?

Thanks!

Just a comment before to close.

Some Brazilian Mail Server does not allow connection at port 25 from IP's of my host / ISP.
As my host/ISP can't change it, I have 2 choices:
1- Contact each company/mailserver that is blocking my connections and ask to allow;
2- Change my current Host/ISP.

I choose to change my Host, and I am migrating to Interserver Wink

It's done!
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
user: 'postfix' host: 'localhost' (Got an error reading communication packets) cezars 0 2 ,778 02-01-2022, 08:58 PM
Last Post: cezars
Postfix mail.log to database stikekar 2 8 ,225 03-02-2019, 01:22 AM
Last Post: TGates
Using ssl certificate for Postfix and Dovecot in multiple domains. davi-dns 9 36 ,213 12-03-2018, 05:13 PM
Last Post: fearworks

Forum Jump:


Users browsing this thread: 1 Guest(s)