LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-17-2007, 03:56 AM   #1
jez_pag
LQ Newbie
 
Registered: Jan 2007
Posts: 8

Rep: Reputation: 0
Smile can't send mail but can receive


pls. help i used sendmail to send email, i open my mailog and it says no route to host, i don't knoe what exactly the problem
 
Old 04-17-2007, 04:02 AM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
That's not much to go on! Either post your log or detail in full all errors recorded in the log.
 
Old 04-17-2007, 06:07 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
nothing to do with programming. moved to Linux - Newbie.
 
Old 04-22-2007, 11:26 PM   #4
jez_pag
LQ Newbie
 
Registered: Jan 2007
Posts: 8

Original Poster
Rep: Reputation: 0
this is my log


Apr 23 00:42:34 my sendmail[24276]: l3MGbdc9024274: to=<jez_pag@yahoo.com>, ctladdr=<root@my.com> (0/0), delay=00:04:30, xdelay=00:04:09, mailer=esmtp, pri=120397, relay=a.mx.mail.yahoo.com. [209.191.118.103], dsn=4.0.0, stat=Deferred: a.mx.mail.yahoo.com.: No route to host

Last edited by jez_pag; 04-23-2007 at 11:20 PM.
 
Old 04-22-2007, 11:28 PM   #5
jez_pag
LQ Newbie
 
Registered: Jan 2007
Posts: 8

Original Poster
Rep: Reputation: 0
i can't send an email but i can receive.
 
Old 04-22-2007, 11:33 PM   #6
jez_pag
LQ Newbie
 
Registered: Jan 2007
Posts: 8

Original Poster
Rep: Reputation: 0
this is my log when i receive mail from yahoo.com

Apr 23 00:49:47 my sendmail[24366]: l3MGnPcK024365: to=root, delay=00:00:01, xdelay=00:00:00, mailer=local, pri=32106, dsn=2.0.0, stat=Sent

Last edited by jez_pag; 04-23-2007 at 11:20 PM.
 
Old 04-22-2007, 11:39 PM   #7
jez_pag
LQ Newbie
 
Registered: Jan 2007
Posts: 8

Original Poster
Rep: Reputation: 0
Apr 23 00:49:47 my sendmail[24365]: l3MGnPcK024365: from=<jez_pag@yahoo.com>, size=1872, class=0, nrcpts=1, msgid=<580049.15600.qm@web58706.mail.re1.yahoo.com>, proto=SMTP, daemon=MTA, relay=web58706.mail.re1.yahoo.com [66.196.100.183]

Last edited by jez_pag; 04-23-2007 at 11:21 PM.
 
Old 04-23-2007, 04:02 PM   #8
Tux-Slack
Member
 
Registered: Nov 2006
Location: Slovenia
Distribution: Slackware 13.37
Posts: 511

Rep: Reputation: 37
you really should read this:
http://www.linuxquestions.org/questi...d.php?t=228382

do you have the MX records set up ok?
do u use smart host?
if not, you should consider using it
 
Old 04-23-2007, 11:26 PM   #9
jez_pag
LQ Newbie
 
Registered: Jan 2007
Posts: 8

Original Poster
Rep: Reputation: 0
yes i have MX records set up ok,

nslookup -q=mx my.com
Server: 202.78.97.41
Address: 202.78.97.41#53

Non-authoritative answer:
my.com mail exchanger = 5 mail.my.com.

Authoritative answers can be found from:
my.com nameserver = ns5.no-ip.com.
my.com nameserver = ns3.no-ip.com.
my.com nameserver = ns2.no-ip.com.
my.com nameserver = ns1.no-ip.com.
my.com nameserver = ns4.no-ip.com.
mail.my.com internet address = 210.4.3.71
ns3.no-ip.com internet address = 63.208.74.226
ns4.no-ip.com internet address = 198.65.102.15
ns5.no-ip.com internet address = 212.100.249.200
ns1.no-ip.com internet address = 216.66.37.13
ns2.no-ip.com internet address = 204.16.252.6

>my smart host
define(`SMART_HOST',`mail.my.com')
 
Old 04-24-2007, 01:42 AM   #10
jez_pag
LQ Newbie
 
Registered: Jan 2007
Posts: 8

Original Poster
Rep: Reputation: 0
Forcing the attempted delivery of 1 selected messages ..
Running /var/spool/mqueue/l3NIn8m4028522 (sequence 1 of 1)
<jez_pag@yahoo.com>... Connecting to f.mx.mail.yahoo.com. via esmtp...
<jez_pag@yahoo.com>... Connecting to d.mx.mail.yahoo.com. via esmtp...
<jez_pag@yahoo.com>... Connecting to g.mx.mail.yahoo.com. via esmtp...
<jez_pag@yahoo.com>... Connecting to c.mx.mail.yahoo.com. via esmtp...
<jez_pag@yahoo.com>... Connecting to b.mx.mail.yahoo.com. via esmtp...
<jez_pag@yahoo.com>... Connecting to a.mx.mail.yahoo.com. via esmtp...
<jez_pag@yahoo.com>... Connecting to e.mx.mail.yahoo.com. via esmtp...
<jez_pag@yahoo.com>... Deferred: e.mx.mail.yahoo.com.: No route to host

telnet yahoo.com 25
Trying 216.109.112.135...
telnet: connect to address 216.109.112.135: No route to host
Trying 66.94.234.13...
telnet: connect to address 66.94.234.13: No route to host
telnet: Unable to connect to remote host: No route to host

Last edited by jez_pag; 04-24-2007 at 02:01 AM.
 
Old 04-24-2007, 02:01 AM   #11
hasitha9
LQ Newbie
 
Registered: Aug 2006
Location: Sri Lanka
Distribution: FC 13
Posts: 5

Rep: Reputation: 0
Quote:
Originally Posted by jez_pag
pls. help i used sendmail to send email, i open my mailog and it says no route to host, i don't knoe what exactly the problem

check in your mail server whether the firewall is runing and is it letting to make connections on port 25 through it. If the firewall in the server isn't configured to accept connections which are coming to port 25 you are getting the message "no route to host" on the client machine which runs the MUA.
 
Old 04-24-2007, 03:36 PM   #12
Tux-Slack
Member
 
Registered: Nov 2006
Location: Slovenia
Distribution: Slackware 13.37
Posts: 511

Rep: Reputation: 37
mail.my.com domain points to your machine external IP?
if this is an induvidual server, as far as i know, "big" mail servers drop connection from unknown addresses
so then u use smart host to define your ISPs mail server and send mail through your ISPs mail server

if i try to telnet to yahoo.com 25 remote host drops the connections in an instance
and if i change my smart host or comment it out i can't send mail to some recipients either
as the "main" mail server think i'm a spammer
 
  


Reply

Tags
sendmail



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
with the linux proxi, backend pop3 mail client can not receive mail and send mail rubin823 Linux - Networking 0 12-21-2006 10:06 PM
send and receive mail using sendmail tanveer Linux - Networking 3 12-07-2005 06:21 AM
can't send or receive mail using Kmail solar1951 Mandriva 2 05-25-2005 02:58 PM
Server does'nt send mail until shutdown and LAN can't send or receive. Wolfy Linux - Networking 0 08-02-2004 07:31 PM
Why can't I receive or send mail unless jobesd Linux - General 0 12-05-2001 10:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:04 AM.

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