Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: users

how to avoid a lookup defer in a router

 

 

exim users RSS feed   Index | Next | Previous | View Threaded


gustavo.baratto at globalrelay

Sep 28, 2007, 1:08 PM

Post #1 of 2 (899 views)
Permalink
how to avoid a lookup defer in a router

Hi guys...

Shouldn't this router just be skipped if mysql server is down?

scan:
driver = accept
local_part_suffix = +*
local_part_suffix_optional
condition = ${if eq {${lookup mysql{SELECT action FROM bwlist WHERE
(id = '$local_part$domain'}{$value}{NOSCAN}}}{SCAN} {yes}{no} }
transport = send_to_spamd
no_verify


The router is just deferring when mysql is down... But the same doesn't
happen in a very similar '${if' statement with a mysql query that feeds
an ACL variable in SMTP time.

Any ideas?






--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


grlists at gmail

Oct 2, 2007, 12:30 PM

Post #2 of 2 (764 views)
Permalink
Re: how to avoid a lookup defer in a router [In reply to]

Gustavo Baratto wrote:
> Hi guys...
>
> Shouldn't this router just be skipped if mysql server is down?
>
> scan:
> driver = accept
> local_part_suffix = +*
> local_part_suffix_optional
> condition = ${if eq {${lookup mysql{SELECT action FROM bwlist WHERE
> (id = '$local_part$domain'}{$value}{NOSCAN}}}{SCAN} {yes}{no} }
> transport = send_to_spamd
> no_verify
>
>
> The router is just deferring when mysql is down... But the same doesn't
> happen in a very similar '${if' statement with a mysql query that feeds
> an ACL variable in SMTP time.
>


Any hints for me here guys?

Cheers :)


--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

exim users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.