LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-19-2006, 10:36 PM   #1
aiax
LQ Newbie
 
Registered: Mar 2006
Posts: 2

Rep: Reputation: 0
sendmail problems


Hi,

Currently i have some problem on sending email out. I can send mails out to address within the same domain <name>@domain.com. somehow i just cant send mail out like hotmail.com or yahoo.com.

i'm new to linux so i really dunno how to start troublshooting.
any help will be appreciated. thanks...
 
Old 03-20-2006, 02:58 AM   #2
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
A few issues can cause this:
-a firewall is blocking access to port 25 on the remote (ie outside your domain, like yahoo.com's or hotmail.com's) mail server. This firewall will have to be on your system or on your network (yahoo/hotmail servers of course allow incoming traffic on port 25)
-sendmail is configured for not sending mails outside of your domain (transport limitation) or it has been
incorrectly configured.

So, a few questions will need to be answered first:
Are you part of a larger domain with it's own, central mail server? Does your network allow you to send out mails directly, instead of using for instance a central machine to relay the mails?
Did you apply any specific changes to the sendmail configuration? Or are you using the default settings?

You could try:
Code:
telnet mx3.mail.yahoo.com 25
or similar for mx1, mx2 or mx4.
If this connection can't be established, it's most likely a firewall issue. If it can, then you should be able to send out mail (in that case, it's probably a sendmail config issue).
 
Old 03-20-2006, 04:27 PM   #3
asif2k
Member
 
Registered: Mar 2006
Location: Texas
Distribution: Fedora Project
Posts: 79

Rep: Reputation: 15
ajax, timmeke, I might have the same problem. I have been checking my logwatch. I got my first logwatch. Recently, I upgraded my logwatch using RPM package. Now, I am not getting my logwatch emails from the server into my yahoo inbox. Do I need to forward port 25 from my router? or this problem is something else?

thanks
 
Old 03-20-2006, 11:19 PM   #4
aiax
LQ Newbie
 
Registered: Mar 2006
Posts: 2

Original Poster
Rep: Reputation: 0
thanks guys... the problem has been solve.. i just change the default port which is 25 to other port no.

thanks for the advice...
 
Old 03-21-2006, 01:58 AM   #5
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
aiax, your solution suggests that access to port 25 on the remote machine was simply blocked, probably by your firewall. Unblocking it would be a better solution, as port 25 is the standard for e-mail (SMTP) traffic.

asif2k, use the telnet command in my earlier post to see if you can connect to port 25 on a yahoo.com mail server. If you can't, then your firewall may very well also be blocking the traffic.
The problem isn't port 25 on your system. The problem is reaching out to port 25 on a remote machine.
So I wouldn't suggest any port forwarding.
 
Old 03-22-2006, 07:52 PM   #6
asif2k
Member
 
Registered: Mar 2006
Location: Texas
Distribution: Fedora Project
Posts: 79

Rep: Reputation: 15
Quote:
Originally Posted by asif2k
I got my first logwatch in my yahoo inbox. Recently, I upgraded my logwatch using RPM package. Now, I am not getting my logwatch emails from the server into my yahoo inbox.
I fixed this problem. I did not realize that newer version of logwatch.conf is stored in ( /usr/share/logwatch ) directory. All I did is edit my logwatch.conf file.
solution:
Code:
 mailto= example@yahoo.com
thanks

Last edited by asif2k; 03-22-2006 at 07:53 PM.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sendmail problems stouffej Red Hat 4 02-04-2005 10:39 PM
Sendmail Problems to3t3r *BSD 2 11-21-2004 10:50 PM
problems with sendmail baczer Slackware 0 07-23-2004 01:20 PM
problems with sendmail JLDixon Linux - Software 8 03-13-2004 01:57 PM
Sendmail Problems bdu Linux - General 4 02-19-2002 08:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration