Avatar of jrm213jrm213
jrm213jrm213Flag for United States of America

asked on 

webserver no longer sending email to outside sources like gmail or hotmail

We previously hosted our own email and have switched to a new hosted email system. When we were on our own email system our webserver was able to send mail without problem to wherever it needed. Since we switched we get the following in our mail log.

now we changed the smtp settings in php.ini and opened ports in the firewall to allow access to our hosted email server.

When I try to telnet to one of the ip's below on port 25 from the webserver, it times out.
When I try to telnet to one of the ip's below from my home on port 25 it connects.

I don't manage the servers, I manage the websites (which are no longer sending any type of email unless it is to one of our internal domains).

Is this more to do with the firewall? What needs to happen to allow these connections to go through? And why is the webserver trying to connect gmail/hotmail/yahoo etc if we have set up the smtp settings to use our hosted provider...



May 17 01:38:06 i007 postfix/error[3886]: CC0234C236: to=<xxx@gmail.com>, relay=none, delay=296083, delays=295933/150/0/0.01, dsn=4.4.1, status=deferred $
May 17 01:38:06 i007 postfix/smtp[3359]: connect to m.mx.mail.yahoo.com[66.94.238.147]:25: Connection timed out
May 17 01:38:06 i007 postfix/smtp[3366]: connect to mailin-03.mx.aol.com[64.12.90.33]:25: Connection timed out

Open in new window

Email ServersLinux NetworkingApache Web Server

Avatar of undefined
Last Comment
jrm213jrm213
SOLUTION
Avatar of dennisbbb
dennisbbb

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of jrm213jrm213
jrm213jrm213
Flag of United States of America image

ASKER


Hi Dennis,

Thanks for the quick reply. So port 25 outgoing needs to be open for any host is that correct, but it can deny all incoming on 25.

SOLUTION
Avatar of rex007
rex007

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
SOLUTION
Avatar of crazedsanity
crazedsanity
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
ASKER CERTIFIED SOLUTION
Avatar of jrm213jrm213
jrm213jrm213
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of jrm213jrm213
jrm213jrm213
Flag of United States of America image

ASKER

We ended up using a workaround, but I think it was a firewall issue, though I have no way to confirm that.
Email Servers
Email Servers

Within Internet message handling services (MHS), a message transfer agent or mail transfer agent (MTA) or mail relay is software that transfers electronic mail messages from one computer to another using a client–server application architecture. A MTA implements both the client (sending) and server (receiving) portions of the Simple Mail Transfer Protocol (SMTP). The terms mail server, mail exchanger, and MX host may also refer to a computer performing the MTA function. The Domain Name System (DNS) associates a mail server to a domain with mail exchanger (MX) resource records containing the domain name of a host providing MTA services.

27K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo