We currently maintain a local blacklist in a mysql database.  However
when the database went down we stopped receiving mail.  Once the
database was restarted we began receiving mail again.  All log messages
were of this type:

F=<[EMAIL PROTECTED]> temporarily rejected RCPT <[EMAIL PROTECTED]>:
MYSQL connection failed: Can't connect to MySQL server on '127.0.0.1' (111)

Is there a way for exim to continue to accept messages if it cannot
connect to the database?  Something similar to an RBL lookup that has
failed or timed out?

DNS list lookup defer (probably timeout) for xx.xx.xx.xx.
brazil.blackholes.us: assumed not in list

MYSQL query:
condition = ${lookup mysql{select ip_address from blacklist where
ip_address='$sender_host_address'}{yes}{no}}

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

Reply via email to