Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Servers > sendmail not able to send mails to outer domain

Forgot Password?
 Servers   Anything server related, Apache, MySQL, Samba, server security, sendmail, exim, etc

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 2 Weeks Ago   #1 (permalink)
Just Joined!
 
Join Date: Oct 2009
Posts: 23
sendmail not able to send mails to outer domain

Hi

I am trying to configure a mail server for my company since, last week. And now, this thing is driving me nuts.
I hav tried with Postfix and Sendmail, but the error is similar for both, as both are not helpful to send mail to outer domain, like yahoo or gmail.

i hav read zillions of forums and articles of doing that. Now my manager is ultimately asking to replace the OS, as I am using centOS, and not willing to replace it for this mare issue.

Can anybody suggest wat to do, or replacing the OS is the ultimate solution...???

i hav installed DNS server as well, but don know if MX records are set, as i made an entry of MX record to named file, it gives error, by rejecting the change made. Do it really effects the configuration???

I am Newbie to the Linux world, and tried and installed all the required
applications on my own,by using GOOGLE the gr8. But this thing is really messy, as it shows no sign of mercy


Any kinda help wud b truely appreciated, n plz don mind if i wrote anything annoying in anyways,as i am highly irritated over it..

thanks
oracletest is offline  


Reply With Quote
Old 2 Weeks Ago   #2 (permalink)
Linux Enthusiast
 
Kieren's Avatar
 
Join Date: Aug 2007
Location: England
Posts: 730
If this problem is the same as what I've had it's due to your ISP blocking out going connections on port 25 to stop hackers turning peoples computers into spam bots

You can check if your ISP has blocked port 25 by simply trying to connect to an external mail account (such as Hotmail) with:

Code:
telnet mx1.hotmail.com 25
__________________
Linux User #453176
Kieren is offline   Reply With Quote
Old 1 Week Ago   #3 (permalink)
Just Joined!
 
Join Date: Oct 2009
Posts: 23
hey

well i checked with my ISP, they are now having all ports open for me on my network.
then i tried to telnet hotmail and yahoomail servers, but no response.
But the thing is why hotmail or yahoomail servers will reply to telnet from me, isnt it a security hazard?

N how can i check otherwise, if my port is blocked or not?
oracletest is offline   Reply With Quote
Old 1 Week Ago   #4 (permalink)
Just Joined!
 
Join Date: May 2009
Posts: 99
The telnet check is good for anything not encryted
and if the protocol is cleartext.

SMTP (port 25) is one of this protocols.
Say "helo localhost"

Another example would be HTTP
Code:
telnet http://www.linuxforums.org 80
Say "GET /index.html"
So, if you dont get a connection with telnet, your mailservers wont also.

Do you get a "connection refused", or a "connection timeout"?
Irithori is online now   Reply With Quote
Old 1 Week Ago   #5 (permalink)
Just Joined!
 
Join Date: Oct 2009
Posts: 23
yes i got a connection timed out error..
heres the error on window

# telnet mx1.hotmail.com 25
Trying 65.55.37.88...
telnet: connect to address 65.55.37.88: Connection timed out
Trying 65.55.37.104...
telnet: connect to address 65.55.37.104: Connection timed out
Trying 65.55.37.120...
oracletest is offline   Reply With Quote
Old 1 Week Ago   #6 (permalink)
Just Joined!
 
Join Date: May 2009
Posts: 99
just tried.
This is, what should happen:
Code:
telnet mx1.hotmail.com 25
Trying 65.55.92.152...
Connected to mx1.hotmail.com.
Escape character is '^]'.
220 snt0-mc2-f46.Snt0.hotmail.com Sending unsolicited commercial or bulk e-mail to Microsoft's computer network is prohibited. Other restrictions are found at http://privacy.msn.com/Anti-spam/. Violations will result in use of equipment located in California and other states. Wed, 11 Nov 2009 01:16:55 -0800 
quit
221 snt0-mc2-f46.Snt0.hotmail.com Service closing transmission channel
Connection closed by foreign host.
Irithori is online now   Reply With Quote
Old 1 Week Ago   #7 (permalink)
Just Joined!
 
Join Date: Oct 2009
Posts: 23
this is wat i getting

# telnet mx1.hotmail.com 25
Trying 65.55.92.184...
telnet: connect to address 65.55.92.184: Connection timed out
Trying 65.54.188.72...

i checked again with my ISP, they say, none of ports are bolcked.
then wat cud be done in this case??
oracletest is offline   Reply With Quote
Old 1 Week Ago   #8 (permalink)
Linux Enthusiast
 
Kieren's Avatar
 
Join Date: Aug 2007
Location: England
Posts: 730
Could it be a firewall on your end?
__________________
Linux User #453176
Kieren is offline   Reply With Quote
Old 1 Week Ago   #9 (permalink)
Just Joined!
 
Join Date: Oct 2009
Posts: 23
I hav disabled the firewall as well.

Tell me one more thing, is it required to configure a DNS server to send mails to outer domain??
oracletest is offline   Reply With Quote
Old 1 Week Ago   #10 (permalink)
Just Joined!
 
Join Date: May 2009
Posts: 99
yes.
If a mailserver has no MX, than this can be used by the receiving mailserver as a factor to rise the SPAM probability of your mailserver-
Irithori is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 03:37 PM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2