[Pkg-exim4-users] Re: Can not send mail through smarthost

PRAN Boonrasri pran@controlthai.com
Tue, 19 Apr 2005 22:36:37 +0700


This is a multi-part message in MIME format.
--------------080405090306070601090602
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hello..

You wrote
......

Please stop exim,

/etc/init.d/exim4 stop

clean up the hints-db
rm /var/spool/exim4/db/*

and retry your test.
.....
.....
then I try

boonrapr:/home/pran# /etc/init.d/exim4 start
Starting MTA: exim4.
boonrapr:/home/pran# exit
pran@boonrapr:~$ echo "Test mail" | mail -s "Test Message from PRAN" support@controlthai.com
pran@boonrapr:~$
 
I got different error message 'no route to host'
What should I do to configure the router/transport section??? One more thing I have to mention on my remote_smtp is, it does not accept connection on port 25, it use port 2525 instead. Where should I reconfigure the port to 2525.

Here is the error message

2005-04-19 22:22:39 exim 4.50 daemon started: pid=19734, -q30m, listening for SMTP on port 25 (IPv6 and IPv4)
2005-04-19 22:22:40 Start queue run: pid=19735
2005-04-19 22:22:40 1DNC0E-0001gh-Dg Message is frozen
2005-04-19 22:22:40 1DNQkU-0001ET-6T Message is frozen
2005-04-19 22:22:40 1DNBy7-0001gS-DM Message is frozen
2005-04-19 22:22:40 1DNE0n-0001l7-Ka Message is frozen
2005-04-19 22:22:40 1DNmwd-0001G2-8F Message is frozen
2005-04-19 22:22:40 End queue run: pid=19735
2005-04-19 22:23:43 1DNuZj-00058R-QH <= pran@controlthai.com U=pran P=local S=376
2005-04-19 22:23:44 1DNuZj-00058R-QH mail6.thaiwebpro.com [216.157.145.26]: No route to host
2005-04-19 22:23:44 1DNuZj-00058R-QH == support@controlthai.com R=smart_route T=remote_smtp defer (113): No route to host

Thanks,

PRAN




--------------080405090306070601090602
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<div class="moz-text-plain" wrap="true" graphical-quote="true"
 style="font-family: -moz-fixed; font-size: 12px;" lang="x-western">
<pre wrap="">Hello..

You wrote
......

Please stop exim,

/etc/init.d/exim4 stop

clean up the hints-db
rm <i class="moz-txt-slash"><span class="moz-txt-tag">/</span>var/spool/exim4/db<span
 class="moz-txt-tag">/</span></i>*

and retry your test.
.....
.....
then I try

boonrapr:/home/pran# /etc/init.d/exim4 start
Starting MTA: exim4.
boonrapr:/home/pran# exit
pran@boonrapr:~$ echo "Test mail" | mail -s "Test Message from PRAN" <a class="moz-txt-link-abbreviated" href="mailto:support@controlthai.com">support@controlthai.com</a>
pran@boonrapr:~$
&nbsp;
I got different error message 'no route to host'
What should I do to configure the router/transport section??? One more thing I have to mention on my remote_smtp is, it does not accept connection on port 25, it use port 2525 instead. Where should I reconfigure the port to 2525.

Here is the error message

2005-04-19 22:22:39 exim 4.50 daemon started: pid=19734, -q30m, listening for SMTP on port 25 (IPv6 and IPv4)
2005-04-19 22:22:40 Start queue run: pid=19735
2005-04-19 22:22:40 1DNC0E-0001gh-Dg Message is frozen
2005-04-19 22:22:40 1DNQkU-0001ET-6T Message is frozen
2005-04-19 22:22:40 1DNBy7-0001gS-DM Message is frozen
2005-04-19 22:22:40 1DNE0n-0001l7-Ka Message is frozen
2005-04-19 22:22:40 1DNmwd-0001G2-8F Message is frozen
2005-04-19 22:22:40 End queue run: pid=19735
2005-04-19 22:23:43 1DNuZj-00058R-QH &lt;= <a class="moz-txt-link-abbreviated" href="mailto:pran@controlthai.com">pran@controlthai.com</a> U=pran P=local S=376
2005-04-19 22:23:44 1DNuZj-00058R-QH mail6.thaiwebpro.com [216.157.145.26]: No route to host
2005-04-19 22:23:44 1DNuZj-00058R-QH == <a class="moz-txt-link-abbreviated" href="mailto:support@controlthai.com">support@controlthai.com</a> R=smart_route T=remote_smtp defer (113): No route to host

Thanks,

PRAN


</pre>
</div>
</body>
</html>

--------------080405090306070601090602--