[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problems with dial-up and exim



Hi David and Derrick!!!

Thank you very much! as far as I can see by now, your tip for configure exim as a smarthost-client works fine!!

Regards,

Marcel
--
Marcelo Chiapparini
chiappa@centroin.com.br


On 17.06.03. 21:20, David wrote:
On Tue, Jun 17, 2003 at 09:40:18AM -0300, Marcelo Chiapparini wrote:
> Dear Debianners,
>
> I am having a hard time setting exim to work at home, using my
> comercial IP trough a dial-up connection. After connected to  this
IP,
> I cannot send emails from home to any place in the Internet...
>
> In order to start looking for a solution, my /var/log/exim/mainlog
file
> looks like this:
>
>
> 2003-06-16 20:54:13 19S3nh-00009U-00 <= chiappa@centroin.com.br
> H=hyperion [127.0.0.1] P=esmtp S=632
id=20030616235412.GA452@hyperion.
> localhost
> 2003-06-16 20:57:22 19S3nh-00009U-00 centroin.com.br
[200.225.63.219]:
> Connection timed out
> 2003-06-16 20:57:22 19S3nh-00009U-00 == chiappa@centroin.com.br
> T=remote_smtp defer (110): Connection timed out

I'm sure that some more knowledgable people will offer assistance, but
I
noticed one thing..

I assume that this message is destined for some remote address, and
that
you intend to route your mails through your ISP's server..  If this be
the case, then you need to configure your ISP as your smart-host.
Note
that in the first log entry above, that it list the H as hyperion..
your
computer(?). Here is a log entry for a mail send that I made:

------------ begin of log-----------
2003-06-16 19:18:32 19S4BC-0000lI-00 <= dbree@duo-county.com U=dlb
P=local S=1218
### Exim received mail message

2003-06-16 19:18:33 19S4BC-0000lI-00 == xyz@aa.com R=smarthost defer
(-36): host lookup for mail.duo-county.com did not complete (DNS
timeout?)
### I was offline at the time

2003-06-16 19:23:01 Start queue run: pid=2954
2003-06-16 19:23:01 19S4BC-0000lI-00 == xyz@aa.com R=smarthost defer
(-36): host lookup for mail.duo-county.com did not complete (DNS
timeout?)
2003-06-16 19:23:01 End queue run: pid=2954
### Another queue run.. still offline

2003-06-16 19:25:35 Start queue run: pid=2970 -qf
2003-06-16 19:25:43 19S4BC-0000lI-00 => xyz@aa.com R=smarthost
T=remote_smtp H=mail.duo-county.com [66.38.0.203]
2003-06-16 19:25:43 19S4BC-0000lI-00 Completed
### Success!!!
------------ end of log -------------------

Note that it is being sent through the "smarthost" router
(R=smarthost)
and the host (H=mail.duo-county.com)

To get this I have this entry for the smarthost router.
IIRC, this must be placed right after the "end" statement for the
directors...

-----------  in exim.conf -------------
# Send all mail to a smarthost

smarthost:
  driver = domainlist
  transport = remote_smtp
  route_list = "* mail.duo-county.com bydns_a"

# and it ends with an end statement
end

---------------

I hope this helps.


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org




Reply to: