Hi,
On my FC1 I'm able to receive & send mails using thunderbird but sending
mail by /bin/mail does not work.
I'm using a MTNL dialup account. I use fetchmail+postfix to receive my
mail at /var/mail/<username> which I read using thunderbird. In
thunderbird I have configured smtp.mtnl.net.in as my outgoing server
which can delivery mails successfully (I have also provided my mtnl
username & password in my thunderbird smtp setup).
When I tried to send mail using "mail -s <testing> <recipient>" style
command, the /var/log/maillog shows this:
<-------->
Mar 5 21:09:02 nova postfix/nqmgr[629]: B812AA3BE:
from=<soumen(a)localhost.localdomain>, size=309, nrcpt=1 (queue active)
Mar 5 21:09:02 nova postfix/nqmgr[629]: 0D49BA3C1:
from=<soumen(a)localhost.localdomain>, size=406, nrcpt=1 (queue active)
Mar 5 21:09:03 nova postfix/smtp[24405]: connect to
smtp.mtnl.net.in[202.159.228.8]: No route to host (port 25)
Mar 5 21:09:03 nova postfix/smtp[24405]: B812AA3BE:
to=<dass_soumen(a)yahoo.com>, relay=none, delay=731, status=deferred
(connect to smtp.mtnl.net.in[202.159.228.8]: No route to host)
Mar 5 21:09:06 nova postfix/smtp[24406]: connect to
smtp.mtnl.net.in[202.159.228.8]: No route to host (port 25)
Mar 5 21:09:06 nova postfix/smtp[24406]: 0D49BA3C1:
to=<dass_soumen(a)yahoo.com>, relay=none, delay=460, status=deferred
(connect to smtp.mtnl.net.in[202.159.228.8]: No route to host)
<-------->
Output of mailq is :
<-------->
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
B812AA3BE 309 Sat Mar 5 20:56:52 soumen(a)localhost.localdomain
(connect to smtp.mtnl.net.in[202.159.228.8]: No route
to host)
dass_soumen(a)yahoo.com
0D49BA3C1 406 Sat Mar 5 21:01:26 soumen(a)localhost.localdomain
(connect to smtp.mtnl.net.in[202.159.228.8]: No route
to host)
dass_soumen(a)yahoo.com
-- 1 Kbytes in 2 Requests.
<-------->
Output of route is:
<-------->
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
203.94.227.17 * 255.255.255.255 UH 0 0 0 ppp0
169.254.0.0 * 255.255.0.0 U 0 0 0 lo
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 203.94.227.17 0.0.0.0 UG 0 0 0 ppp0
<-------->
My impression of the above is that, mail is not able to find the route
using which it should deliver the mail to the smtp server. But route is
showing a default route (I use "defaultroute" option in my ppp options).
How can I investigate this better? I'll be glad to post any other
necessary information.
--
Soumen Dass [Registered Linux User # 272639 - Linux nova
2.4.22-1.2115.nptl i686]
Can't open /usr/fortunes. Lid stuck on cookie jar.
--
Soumen Dass [Registered Linux User # 272639 - Linux nova
2.4.22-1.2115.nptl i686]
UNIX was half a billion (500000000) seconds old on
Tue Nov 5 00:53:20 1985 GMT (measuring since the time(2) epoch).
-- Andy Tannenbaum
--
Soumen Dass [Registered Linux User # 272639 - Linux nova
2.4.22-1.2115.nptl i686]
Each of these cults correspond to one of the two antagonists in the age of
Reformation. In the realm of the Apple Macintosh, as in Catholic Europe,
worshipers peer devoutly into screens filled with "icons." All is sound and
imagery and Appledom. Even words look like decorative filigrees in exotic
typefaces. The greatest icon of all, the inviolable Apple itself, stands in
the dominate position at the upper-left corner of the screen. A central
corporate headquarters decrees the form of all rites and practices.
Infalliable doctrine issues from one executive officer whose selection
occurs
in a sealed boardroom. Should anyone in his curia question his powers, the
offender is excommunicated into outer darkness. The expelled heretic founds
a new company, mutters obscurely of the coming age and the next computer,
then disappears into silence, taking his stockholders with him. The mother
company forbids financial competition as sternly as it stifles ideological
competition; if you want to use computer programs that conform to Apple's
orthodoxy, you must buy a computer made and sold by Apple itself.
-- Edward Mendelson, "The New Republic", February 22, 1988