Re: [exim] problem with sending mail though alternative gate…

Pàgina inicial
Delete this message
Reply to this message
Autor: Phil Pennock
Data:  
A: Gregory Machin
CC: exim-users
Assumpte: Re: [exim] problem with sending mail though alternative gateway
On 2008-01-09 at 14:54 +0200, Gregory Machin wrote:
> Hi in my reading though the faq i came across Q0304 with is about using
> an alternative server as a gateway for out going mail..
> I have 2 adsl line so I thought I'd redirect the out going mail to the
> second line through my firewall ...
> send_to_gateway:
> driver = manualroute
> domains = !+local_domains
> transport = remote_smtp
> ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
> route_list = * 192.168.1.197


route_data = 192.168.1.197

> So I followed the example in the faq but I'm not winning
> the mail doesnt go out giving the following error
> "
> 2008-01-09 14:34:43 [3082] 1JCa8p-0000nf-60 == clubbing80s@???
> R=send_to_gateway T=remote_smtp defer (-53): retry time not reached for
> any host
> "
> yet I can send mail from my latop if I use 192.168.1.197 as my gateway
> ... what have I missed ?


Your second box wasn't accepting the mail (temporary error; nothing
listening on port 25 or SMTP 4xx errors) when you first tried and Exim
cached the failure.

"exinext 192.168.1.197" to confirm, or "exim -d+hints_lookup whatever"

"exim -qf" to force flush the queue, ignoring previous retry times.
First successful delivery should clear the "host is bad" state.

Or:
# cd `exim -bP spool_directory`/db
# pwd
# rm -f retry*

-Phil