Problem sending mail

Hello. well i was doing a new install in a new server with new ip but after all of this now i cant send mail. i get this
Jan 25 09:42:11 sp5010b postfix/smtp[27293]: connect to ALT1.ASPMX.L.GOOGLE.com[173.194.65.27]:25: Connection timed out
Jan 25 09:42:11 sp5010b postfix/smtp[27296]: connect to ALT2.aspmx.l.google.com[173.194.70.27]:25: Connection timed out
Jan 25 09:42:11 sp5010b postfix/smtp[27300]: connect to mail.messaging.microsoft.com[207.46.163.30]:25: Connection timed out
Jan 25 09:42:11 sp5010b postfix/smtp[27300]: 066E32691AD: to=Carl.Ratigan2@kraftfoods.com, relay=none, delay=455, delays=395/0.05/60/0, dsn=4.4.1, status=deferred (connect to mail.messaging.microsoft.com[207.46.163.30]:25: Connection timed out)
Jan 25 09:42:32 sp5010b postfix/smtp[27297]: connect to inmobiliaria.co.cr.s10b1.psmtp.com[74.125.244.13]:25: Connection timed out
Jan 25 09:42:41 sp5010b postfix/smtp[27287]: connect to mx2.supremebox.com[209.25.170.16]:25: Connection timed out
Jan 25 09:42:41 sp5010b postfix/smtp[27289]: connect to mx1.supremebox.com[209.25.170.16]:25: Connection timed out
Jan 25 09:42:41 sp5010b postfix/smtp[27299]: connect to mx1.supremebox.com[66.40.66.242]:25: Connection timed out
Jan 25 09:42:41 sp5010b postfix/smtp[27303]: connect to mx.grupovigocr.com[66.96.142.51]:25: Connection timed out
Jan 25 09:42:41 sp5010b postfix/smtp[27303]: D5DE92691A9: to=carlos.soto@grupovigocr.com, relay=none, delay=490, delays=400/0.05/90/0, dsn=4.4.1, status=deferred (connect to mx.grupovigocr.com[66.96.142.51]:25: Connection timed out)
Jan 25 09:42:41 sp5010b postfix/smtp[27301]: connect to alt1.aspmx.l.google.com[173.194.65.27]:25: Connection timed out
Jan 25 09:42:41 sp5010b postfix/smtp[27293]: connect to ALT2.ASPMX.L.GOOGLE.com[173.194.70.27]:25: Connection timed out
Jan 25 09:42:41 sp5010b postfix/smtp[27296]: connect to ALT1.aspmx.l.google.com[173.194.65.27]:25: Connection timed out
Jan 25 09:43:02 sp5010b postfix/smtp[27297]: connect to inmobiliaria.co.cr.s10b2.psmtp.com[74.125.244.14]:25: Connection timed out
Jan 25 09:43:02 sp5010b postfix/smtp[27297]: 6BEC926919E: to=mercadeo@inmobiliaria.co.cr, relay=none, delay=525, delays=414/0.04/111/0, dsn=4.4.1, status=deferred (connect to inmobiliaria.co.cr.s10b2.psmtp.com[74.125.244.14]:25: Connection timed out)
Jan 25 09:43:11 sp5010b postfix/smtp[27287]: connect to mx2.supremebox.com[66.40.66.242]:25: Connection timed out
Jan 25 09:43:11 sp5010b postfix/smtp[27287]: 35218269188: to=acerdas@performiacr.com, relay=none, delay=560, delays=440/0/120/0, dsn=4.4.1, status=deferred (connect to mx2.supremebox.com[66.40.66.242]:25: Connection timed out)
Jan 25 09:43:11 sp5010b postfix/smtp[27289]: connect to mx1.supremebox.com[66.40.66.242]:25: Connection timed out
Jan 25 09:43:11 sp5010b postfix/smtp[27289]: 3EE79269189: to=iramirez@performiacr.com, relay=none, delay=559, delays=439/0.01/120/0, dsn=4.4.1, status=deferred (connect to mx1.supremebox.com[66.40.66.242]:25: Connection timed out)
Jan 25 09:43:11 sp5010b postfix/smtp[27299]: connect to mx1.supremebox.com[209.25.170.16]:25: Connection timed out
Jan 25 09:43:11 sp5010b postfix/smtp[27299]: 5B22526918C: to=evecubero@performiacr.com, relay=none, delay=556, delays=436/0.04/120/0, dsn=4.4.1, status=deferred (connect to mx1.supremebox.com[209.25.170.16]:25: Connection timed out)
Jan 25 09:43:11 sp5010b postfix/smtp[27301]: connect to aspmx2.googlemail.com[173.194.65.27]:25: Connection timed out
Jan 25 09:43:11 sp5010b postfix/smtp[27301]: 7FD52269190: to=info@mimercadeoeficaz.com, relay=none, delay=551, delays=431/0.05/120/0, dsn=4.4.1, status=deferred (connect to aspmx2.googlemail.com[173.194.65.27]:25: Connection timed out)
Jan 25 09:43:11 sp5010b postfix/smtp[27293]: connect to ASPMX2.GOOGLEMAIL.com[173.194.65.27]:25: Connection timed out
Jan 25 09:43:11 sp5010b postfix/smtp[27296]: connect to ASPMX3.GOOGLEMAIL.com[173.194.70.27]:25: Connection timed out
Jan 25 09:43:41 sp5010b postfix/smtp[27293]: connect to ASPMX3.GOOGLEMAIL.com[173.194.70.27]:25: Connection timed out
Jan 25 09:43:41 sp5010b postfix/smtp[27296]: connect to ASPMX4.GOOGLEMAIL.com[173.194.69.27]:25: Connection timed out
Jan 25 09:43:41 sp5010b postfix/smtp[27296]: 6D36426918E: to=allan@enviosmasivoscostarica.com, relay=none, delay=583, delays=433/0.03/150/0, dsn=4.4.1, status=deferred (connect to ASPMX4.GOOGLEMAIL.com[173.194.69.27]:25: Connection timed out)
Jan 25 09:43:41 sp5010b postfix/smtp[27293]: B1D34269184: to=info@mercadeodbm.com, relay=none, delay=614, delays=463/0.02/150/0, dsn=4.4.1, status=deferred (connect to ASPMX3.GOOGLEMAIL.com[173.194.70.27]:25: Connection timed out)

every one in queue is listed as deferred. im not im a nat or blacklisted (i already check it). and this is the far that my knoledge let me to see errors.

ah also i can ping to all those ips from putty, and linux firewall is setup to let smtp pass. sorry for my bad english im in a hurry and cant verify every word

Howdy,

Well, it looks like you’re dealing with a firewall issue of some sort… either there’s a firewall setting within your own server/LAN that’s blocking port 25, or maybe your ISP is blocking that port.

If you’re sure that the issue isn’t on your end, then you may need to contact your ISP to see if they’re blocking port 25.

-Eric

well i have another server in same place, with same isp, with same method installation but is the same. i will contact they then but im sure that will say something like (theres no NAT u are directly conected to the itnernet). Theres another test that i can do?

Well, it doesn’t matter if there’s NAT or not… some ISP’s or datacenters block outgoing port 25.

However, if it’s not your ISP, it could be your own server.

Just to verify though – do you see this issue with all mail servers? Or just this one?

One thing you could do is double-check your firewall rules… what is the output of this command:

iptables -L -n

yeah, port 25 is close. first time in years… sorry for this bad request in forum