[Exim] Continuing question

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Eric Balsa
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [Exim] Continuing question
All --

Why is the case when the connection to mysql is unavailable in
+local_domains the mail is immediately denied? I would think it should (or
at least should have the option to) follow the failed case of the string
expansion?

Does this make sense?

--Eric

check domains = +local_domains
11334 search_open: mysql "NULL"
11334 search_find: file="NULL"
11334 key="SELECT DISTINCT domainName FROM domain WHERE
domainName='sysdump.com' AND active='Y'" partial=-1 affix=NULL starflags=0
11334 LRU list:
11334 internal_search_find: file="NULL"
11334 type=mysql key="SELECT DISTINCT domainName FROM domain WHERE
domainName='sysdump.com' AND active='Y'"
11334 database lookup required for SELECT DISTINCT domainName FROM domain
WHERE domainName='sysdump.com' AND active='Y'
11334 MYSQL query: SELECT DISTINCT domainName FROM domain WHERE
domainName='sysdump.com' AND active='Y'
11334 MYSQL new connection: host=localhost port=0 socket=NULL
database=account user=root
11334 MYSQL connection failed: Can't connect to local MySQL server through
socket '/var/lib/mysql/mysql.sock' (2)
11334 lookup deferred: MYSQL connection failed: Can't connect to local MySQL
server through socket '/var/lib/mysql/mysql.sock' (2)
11334 LOG: MAIN PANIC
11334 failed to expand "@ : ${lookup mysql {SELECT DISTINCT domainName
FROM domain WHERE domainName='$domain'} {$value}{${run {/scripts/monitor.pl}
{fail}{\*}}} }" while checking a list: lookup of "SELECT DISTINCT domainName
FROM domain WHERE domainName='sysdump.com' AND active='Y'" gave DEFER: MYSQL
connection failed: Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2)
11334 sysdump.com in "+local_domains"? lookup deferred for +local_domains
11334 deny: condition test deferred
11837 SMTP>> 451 Temporary local problem - please try later