Advertisement
Guest User

headers_remove :: when_working

a guest
Jan 29th, 2015
317
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 91.78 KB | None | 0 0
  1. Test Parameters
  2. ===============
  3. headers_remove = ${if or{{<{$spam_score_int}{20}} \
  4. {eq{0}{0}} \
  5. {<{$spam_score_int}{1}} \
  6. } {X-Spam-Score::X-Spam-Report} }
  7.  
  8.  
  9. Result
  10. ======
  11. Script started on Thu Jan 29 16:00:23 2015
  12. root@bMail:/root/eximDiags # exim -bd -d+all
  13.  
  14. 16:00:30 65885 Exim version 4.85 (FreeBSD 10.1) uid=0 gid=0 pid=65885 D=fffdffff
  15. Probably Berkeley DB version 1.8x (native mode)
  16. Support for: crypteq iconv() use_setclassresources Perl Expand_dlfunc OpenSSL Content_Scanning DKIM Old_Demime PRDR OCSP Experimental_SPF
  17. Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmjz dbmnz dnsdb dsearch mysql
  18. Authenticators: cram_md5 plaintext spa
  19. Routers: accept dnslookup ipliteral manualroute queryprogram redirect
  20. Transports: appendfile/maildir autoreply lmtp pipe smtp
  21. Fixed never_users: 0
  22. Size of off_t: 8
  23. Compiler: CLang [3.4.1 (tags/RELEASE_34/dot1-final 208032)]
  24. Library version: OpenSSL: Compile: OpenSSL 1.0.1k-freebsd 8 Jan 2015
  25. Runtime: OpenSSL 1.0.1k-freebsd 8 Jan 2015
  26. : built on: date not available
  27. Library version: PCRE: Compile: 8.35
  28. Runtime: 8.35 2014-04-04
  29. 16:00:30 65885 Total 12 lookups
  30. Library version: MySQL: Compile: 5.6.22 [Source distribution]
  31. Runtime: 5.6.22
  32. WHITELIST_D_MACROS unset
  33. TRUSTED_CONFIG_LIST unset
  34. 16:00:30 65885 changed uid/gid: forcing real = effective
  35. 16:00:30 65885 uid=0 gid=0 pid=65885
  36. 16:00:30 65885 auxiliary group list: 0
  37. 16:00:30 65885 seeking password data for user "mailnull": using cached result
  38. 16:00:30 65885 getpwnam() succeeded uid=26 gid=26
  39. 16:00:30 65885 seeking password data for user "www": cache not available
  40. 16:00:30 65885 getpwnam() succeeded uid=80 gid=80
  41. 16:00:30 65885 seeking password data for user "mailnull": cache not available
  42. 16:00:30 65885 getpwnam() succeeded uid=26 gid=26
  43. 16:00:30 65885 seeking password data for user "root": cache not available
  44. 16:00:30 65885 getpwnam() succeeded uid=0 gid=0
  45. 16:00:30 65886 changed uid/gid: calling tls_validate_require_cipher
  46. 16:00:30 65886 uid=26 gid=6 pid=65886
  47. 16:00:30 65886 auxiliary group list: 6
  48. 16:00:30 65885 tls_validate_require_cipher child 65886 ended: status=0x0
  49. 16:00:30 65885 configuration file is /usr/local/etc/exim/configure
  50. 16:00:30 65885 log selectors = 00000ffc 002b2001
  51. 16:00:30 65885 cwd=/RWs/root/eximDiags 3 args: exim -bd -d+all
  52. 16:00:30 65885 trusted user
  53. 16:00:30 65885 admin user
  54. 16:00:30 65885 seeking password data for user "mailnull": cache not available
  55. 16:00:30 65885 getpwnam() succeeded uid=26 gid=26
  56. 16:00:30 65885 seeking password data for user "mailnull": using cached result
  57. 16:00:30 65885 getpwnam() succeeded uid=26 gid=26
  58. 16:00:30 65885 originator: uid=0 gid=0 login=root name=Charlie Root
  59. 16:00:30 65885 listening on all interfaces (IPv4) port 25
  60. 16:00:30 65885 listening on all interfaces (IPv4) port 465
  61. 16:00:30 65885 pid written to /var/run/exim.pid
  62. 16:00:30 65885 changed uid/gid: running as a daemon
  63. 16:00:30 65885 uid=26 gid=6 pid=65885
  64. 16:00:30 65885 auxiliary group list: 6
  65. 16:00:30 65885 LOG: MAIN
  66. 16:00:30 65885 exim 4.85 daemon started: pid=65885, no queue runs, listening for SMTP on port 25 (IPv4) and for SMTPS on port 465 (IPv4)
  67. 16:00:30 65885 set_process_info: 65885 daemon: no queue runs, listening for SMTP on port 25 (IPv4) and for SMTPS on port 465 (IPv4)
  68. 16:00:30 65885 daemon running with uid=26 gid=6 euid=26 egid=6
  69. 16:00:30 65885 Listening...
  70. 16:00:42 65885 Connection request from 172.16.0.245 port 59895
  71. 16:00:42 65885 interface address=172.16.0.245 port=25
  72. 16:00:42 65885 search_tidyup called
  73. 16:00:42 65885 1 SMTP accept process running
  74. 16:00:42 65885 Listening...
  75. 16:00:42 65890 host in rfc1413_hosts? yes (matched "*")
  76. 16:00:42 65890 doing ident callback
  77. 16:00:42 65890 ident connection to 172.16.0.245 failed: Connection refused
  78. 16:00:42 65890 sender_fullhost = [172.16.0.245]
  79. 16:00:42 65890 sender_rcvhost = [172.16.0.245]
  80. 16:00:42 65890 Process 65890 is handling incoming connection from [172.16.0.245]
  81. 16:00:42 65890 checking for IP options
  82. 16:00:42 65890 no IP options found
  83. 16:00:42 65890 host in host_lookup? no (option unset)
  84. 16:00:42 65890 set_process_info: 65890 handling incoming connection from [172.16.0.245]
  85. 16:00:42 65890 host in host_reject_connection? no (option unset)
  86. 16:00:42 65890 host in sender_unqualified_hosts? no (option unset)
  87. 16:00:42 65890 host in recipient_unqualified_hosts? no (option unset)
  88. 16:00:42 65890 host in helo_verify_hosts? no (option unset)
  89. 16:00:42 65890 host in helo_try_verify_hosts? no (option unset)
  90. 16:00:42 65890 host in helo_accept_junk_hosts? no (option unset)
  91. 16:00:42 65890 expanding: $smtp_active_hostname ESMTP Exim $version_number $tod_full
  92. 16:00:42 65890 result: mailsrv.localdomain.lan ESMTP Exim 4.85 Thu, 29 Jan 2015 16:00:42 +0000
  93. 16:00:42 65890 SMTP>> 220 mailsrv.localdomain.lan ESMTP Exim 4.85 Thu, 29 Jan 2015 16:00:42 +0000
  94. 16:00:42 65890 Process 65890 is ready for new message
  95. 16:00:42 65890 smtp_setup_msg entered
  96. 16:00:47 65890 SMTP<< ehlo mailer
  97. 16:00:47 65890 mailer in helo_lookup_domains? no (end of list)
  98. 16:00:47 65890 sender_fullhost = (mailer) [172.16.0.245]
  99. 16:00:47 65890 sender_rcvhost = [172.16.0.245] (helo=mailer)
  100. 16:00:47 65890 set_process_info: 65890 handling incoming connection from (mailer) [172.16.0.245]
  101. 16:00:47 65890 using ACL "acl_check_helo"
  102. 16:00:47 65890 processing "accept"
  103. 16:00:47 65890 check hosts = :
  104. 16:00:47 65890 host in ":"? no (end of list)
  105. 16:00:47 65890 accept: condition test failed in ACL "acl_check_helo"
  106. 16:00:47 65890 processing "accept"
  107. 16:00:47 65890 check hosts = +relay_from_hosts
  108. 16:00:47 65890 gethostbyname looked up these IP addresses:
  109. 16:00:47 65890 name=localhost address=127.0.0.1
  110. 16:00:47 65890 host in "localhost : 172.16.0.245"? yes (matched "172.16.0.245")
  111. 16:00:47 65890 host in "+relay_from_hosts"? yes (matched "+relay_from_hosts")
  112. 16:00:47 65890 accept: condition test succeeded in ACL "acl_check_helo"
  113. 16:00:47 65890 end of ACL "acl_check_helo": ACCEPT
  114. 16:00:47 65890 host in pipelining_advertise_hosts? yes (matched "*")
  115. 16:00:47 65890 host in auth_advertise_hosts? yes (matched "*")
  116. 16:00:47 65890 expanding: $tls_cipher
  117. 16:00:47 65890 result:
  118. 16:00:47 65890 expanding:
  119. 16:00:47 65890 result:
  120. 16:00:47 65890 expanding: $sender_host_address
  121. 16:00:47 65890 result: 172.16.0.245
  122. 16:00:47 65890 expanding: @[]
  123. 16:00:47 65890 result: @[]
  124. 16:00:47 65890 Actual local interface address is 172.16.0.245 (re0)
  125. 16:00:47 65890 172.16.0.245 in "@[]"? yes (matched "@[]")
  126. 16:00:47 65890 condition: or{{!eq{$tls_cipher}{}}{match_ip {$sender_host_address}{@[]}}}
  127. 16:00:47 65890 result: true
  128. 16:00:47 65890 expanding: *
  129. 16:00:47 65890 result: *
  130. 16:00:47 65890 expanding:
  131. 16:00:47 65890 result:
  132. 16:00:47 65890 skipping: result is not used
  133. 16:00:47 65890 expanding: ${if or{{!eq{$tls_cipher}{}}{match_ip {$sender_host_address}{@[]}}}{*}{}}
  134. 16:00:47 65890 result: *
  135. 16:00:47 65890 expanding: $tls_cipher
  136. 16:00:47 65890 result:
  137. 16:00:47 65890 expanding:
  138. 16:00:47 65890 result:
  139. 16:00:47 65890 expanding: $sender_host_address
  140. 16:00:47 65890 result: 172.16.0.245
  141. 16:00:47 65890 expanding: @[]
  142. 16:00:47 65890 result: @[]
  143. 16:00:47 65890 172.16.0.245 in "@[]"? yes (matched "@[]")
  144. 16:00:47 65890 condition: or{{!eq{$tls_cipher}{}}{match_ip {$sender_host_address}{@[]}}}
  145. 16:00:47 65890 result: true
  146. 16:00:47 65890 expanding: *
  147. 16:00:47 65890 result: *
  148. 16:00:47 65890 expanding:
  149. 16:00:47 65890 result:
  150. 16:00:47 65890 skipping: result is not used
  151. 16:00:47 65890 expanding: ${if or{{!eq{$tls_cipher}{}}{match_ip {$sender_host_address}{@[]}}}{*}{}}
  152. 16:00:47 65890 result: *
  153. 16:00:47 65890 host in tls_advertise_hosts? yes (matched "*")
  154. 16:00:47 65890 SMTP>> 250-mailsrv.localdomain.lan Hello mailer [172.16.0.245]
  155. 16:00:47 65890 250-SIZE 52428800
  156. 16:00:47 65890 250-8BITMIME
  157. 16:00:47 65890 250-PIPELINING
  158. 16:00:47 65890 250-AUTH PLAIN LOGIN
  159. 16:00:47 65890 250-STARTTLS
  160. 16:00:47 65890 250 HELP
  161. 16:00:59 65890 SMTP<< mail from:<nobody@nowhere.com>
  162. 16:00:59 65890 SMTP>> 250 OK
  163. 16:01:09 65890 SMTP<< rcpt to:<postmaster@localdomain.lan>
  164. 16:01:09 65890 using ACL "acl_check_rcpt"
  165. 16:01:09 65890 processing "accept"
  166. 16:01:09 65890 check authenticated = *
  167. 16:01:09 65890 accept: condition test failed in ACL "acl_check_rcpt"
  168. 16:01:09 65890 processing "accept"
  169. 16:01:09 65890 check hosts = :
  170. 16:01:09 65890 host in ":"? no (end of list)
  171. 16:01:09 65890 accept: condition test failed in ACL "acl_check_rcpt"
  172. 16:01:09 65890 processing "deny"
  173. 16:01:09 65890 message: DNSBL listed at $dnslist_domain\n$dnslist_text
  174. 16:01:09 65890 check dnslists = zen.spamhaus.org:bl.spamcop.net
  175. 16:01:09 65890 DNS list check: zen.spamhaus.org
  176. 16:01:09 65890 new DNS lookup for 245.0.16.172.zen.spamhaus.org
  177. ;; res_nquerydomain(245.0.16.172.zen.spamhaus.org, <Nil>, 1, 1)
  178. ;; res_query(245.0.16.172.zen.spamhaus.org, 1, 1)
  179. ;; res_nmkquery(QUERY, 245.0.16.172.zen.spamhaus.org, IN, A)
  180. ;; res_send()
  181. ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 63471
  182. ;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
  183. ;; 245.0.16.172.zen.spamhaus.org, type = A, class = IN
  184. ;; Querying server (# 1) address = 8.8.8.8
  185. ;; new DG socket
  186. ;; got answer:
  187. ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 63471
  188. ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
  189. ;; 245.0.16.172.zen.spamhaus.org, type = A, class = IN
  190. zen.spamhaus.org. 9S IN SOA need.to.know.only. hostmaster.spamhaus.org. (
  191. 1501291600 ; serial
  192. 1H ; refresh
  193. 10M ; retry
  194. 5D ; expiry
  195. 10S ) ; minimum
  196.  
  197. ;; rcode = (NXDOMAIN), counts = an:0 ns:1 ar:0
  198. 16:01:09 65890 DNS lookup of 245.0.16.172.zen.spamhaus.org (A) gave HOST_NOT_FOUND
  199. 16:01:09 65890 returning DNS_NOMATCH
  200. 16:01:09 65890 DNS lookup for 245.0.16.172.zen.spamhaus.org failed
  201. 16:01:09 65890 => that means 172.16.0.245 is not listed at zen.spamhaus.org
  202. 16:01:09 65890 DNS list check: bl.spamcop.net
  203. 16:01:09 65890 new DNS lookup for 245.0.16.172.bl.spamcop.net
  204. ;; res_nquerydomain(245.0.16.172.bl.spamcop.net, <Nil>, 1, 1)
  205. ;; res_query(245.0.16.172.bl.spamcop.net, 1, 1)
  206. ;; res_nmkquery(QUERY, 245.0.16.172.bl.spamcop.net, IN, A)
  207. ;; res_send()
  208. ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6283
  209. ;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
  210. ;; 245.0.16.172.bl.spamcop.net, type = A, class = IN
  211. ;; Querying server (# 1) address = 8.8.8.8
  212. ;; new DG socket
  213. ;; got answer:
  214. ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 6283
  215. ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
  216. ;; 245.0.16.172.bl.spamcop.net, type = A, class = IN
  217. bl.spamcop.net. 0S IN SOA bl.spamcop.net. hostmaster.admin.spamcop.net. (
  218. 1422547173 ; serial
  219. 1H ; refresh
  220. 30M ; retry
  221. 1H ; expiry
  222. 0S ) ; minimum
  223.  
  224. ;; rcode = (NXDOMAIN), counts = an:0 ns:1 ar:0
  225. 16:01:09 65890 DNS lookup of 245.0.16.172.bl.spamcop.net (A) gave HOST_NOT_FOUND
  226. 16:01:09 65890 returning DNS_NOMATCH
  227. 16:01:09 65890 DNS lookup for 245.0.16.172.bl.spamcop.net failed
  228. 16:01:09 65890 => that means 172.16.0.245 is not listed at bl.spamcop.net
  229. 16:01:09 65890 deny: condition test failed in ACL "acl_check_rcpt"
  230. 16:01:09 65890 processing "deny"
  231. 16:01:09 65890 check local_parts = ^.*[@%!/|] : ^\\.
  232. 16:01:09 65890 expanding: ^.*[@%!/|] : ^\\.
  233. 16:01:09 65890 result: ^.*[@%!/|] : ^\.
  234. 16:01:09 65890 postmaster in "^.*[@%!/|] : ^\."? no (end of list)
  235. 16:01:09 65890 deny: condition test failed in ACL "acl_check_rcpt"
  236. 16:01:09 65890 processing "accept"
  237. 16:01:09 65890 check local_parts = postmaster
  238. 16:01:09 65890 postmaster in "postmaster"? yes (matched "postmaster")
  239. 16:01:09 65890 check domains = +local_domains
  240. 16:01:09 65890 expanding: $domain
  241. 16:01:09 65890 result: localdomain.lan
  242. 16:01:09 65890 expanding: SELECT DISTINCT domain FROM domains WHERE type = 'local' AND enabled = '1' AND domain = '${quote_mysql:$domain}'
  243. 16:01:09 65890 result: SELECT DISTINCT domain FROM domains WHERE type = 'local' AND enabled = '1' AND domain = 'localdomain.lan'
  244. 16:01:09 65890 search_open: mysql "NULL"
  245. 16:01:09 65890 search_find: file="NULL"
  246. 16:01:09 65890 key="SELECT DISTINCT domain FROM domains WHERE type = 'local' AND enabled = '1' AND domain = 'localdomain.lan'" partial=-1 affix=NULL starflags=0
  247. 16:01:09 65890 LRU list:
  248. 16:01:09 65890 internal_search_find: file="NULL"
  249. 16:01:09 65890 type=mysql key="SELECT DISTINCT domain FROM domains WHERE type = 'local' AND enabled = '1' AND domain = 'localdomain.lan'"
  250. 16:01:09 65890 database lookup required for SELECT DISTINCT domain FROM domains WHERE type = 'local' AND enabled = '1' AND domain = 'localdomain.lan'
  251. 16:01:09 65890 MySQL query: SELECT DISTINCT domain FROM domains WHERE type = 'local' AND enabled = '1' AND domain = 'localdomain.lan'
  252. 16:01:09 65890 MYSQL new connection: host=localhost port=0 socket=/tmp/mysql.sock database=vexiBack user=vexBack
  253. 16:01:09 65890 lookup yielded: localdomain.lan
  254. 16:01:09 65890 expanding: $domain
  255. 16:01:09 65890 result: localdomain.lan
  256. 16:01:09 65890 expanding: SELECT DISTINCT alias FROM domainalias WHERE alias = '${quote_mysql:$domain}'
  257. 16:01:09 65890 result: SELECT DISTINCT alias FROM domainalias WHERE alias = 'localdomain.lan'
  258. 16:01:09 65890 search_open: mysql "NULL"
  259. 16:01:09 65890 cached open
  260. 16:01:09 65890 search_find: file="NULL"
  261. 16:01:09 65890 key="SELECT DISTINCT alias FROM domainalias WHERE alias = 'localdomain.lan'" partial=-1 affix=NULL starflags=0
  262. 16:01:09 65890 LRU list:
  263. 16:01:09 65890 internal_search_find: file="NULL"
  264. 16:01:09 65890 type=mysql key="SELECT DISTINCT alias FROM domainalias WHERE alias = 'localdomain.lan'"
  265. 16:01:09 65890 database lookup required for SELECT DISTINCT alias FROM domainalias WHERE alias = 'localdomain.lan'
  266. 16:01:09 65890 MySQL query: SELECT DISTINCT alias FROM domainalias WHERE alias = 'localdomain.lan'
  267. 16:01:09 65890 MYSQL using cached connection for localhost:(/tmp/mysql.sock)/vexiBack/vexBack
  268. 16:01:09 65890 MYSQL: no data found
  269. 16:01:09 65890 lookup failed
  270. 16:01:09 65890 expanding: @ : ${lookup mysql{SELECT DISTINCT domain FROM domains WHERE type = 'local' AND enabled = '1' AND domain = '${quote_mysql:$domain}'}} : ${lookup mysql{SELECT DISTINCT alias FROM domainalias WHERE alias = '${quote_mysql:$domain}'}}
  271. 16:01:09 65890 result: @ : localdomain.lan :
  272. 16:01:09 65890 localdomain.lan in "@ : localdomain.lan : "? yes (matched "localdomain.lan")
  273. 16:01:09 65890 localdomain.lan in "+local_domains"? yes (matched "+local_domains")
  274. 16:01:09 65890 accept: condition test succeeded in ACL "acl_check_rcpt"
  275. 16:01:09 65890 end of ACL "acl_check_rcpt": ACCEPT
  276. 16:01:09 65890 SMTP>> 250 Accepted
  277. 16:01:12 65890 SMTP<< data
  278. 16:01:12 65890 SMTP>> 354 Enter message, ending with "." on a line by itself
  279. 16:01:12 65890 search_tidyup called
  280. 16:01:12 65890 close MYSQL connection: localhost:(/tmp/mysql.sock)/vexiBack/vexBack
  281. PDKIM >> Hashed body data, canonicalized >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  282. 16:01:22 65890 host in ignore_fromline_hosts? no (option unset)
  283. 16:01:22 65890 >>Headers received:
  284. 16:01:22 65890 Subject: test with smaller headers_remove
  285. 16:01:22 65890
  286. 16:01:22 65890 search_tidyup called
  287. 16:01:22 65890 >>Headers after rewriting and local additions:
  288. 16:01:22 65890 Subject: test with smaller headers_remove
  289. 16:01:22 65890
  290. 16:01:35 65890 Data file written for message 1YGrWq-000H8k-QY
  291. 16:01:35 65890 expanding: ${tod_full}
  292. 16:01:35 65890 result: Thu, 29 Jan 2015 16:01:35 +0000
  293. 16:01:35 65890 condition: def:sender_rcvhost
  294. 16:01:35 65890 result: true
  295. 16:01:35 65890 expanding: from $sender_rcvhost
  296. 16:01:35 65890
  297. 16:01:35 65890 result: from [172.16.0.245] (helo=mailer)
  298. 16:01:35 65890
  299. 16:01:35 65890 condition: def:sender_ident
  300. 16:01:35 65890 result: false
  301. 16:01:35 65890 expanding: $sender_ident
  302. 16:01:35 65890 result:
  303. 16:01:35 65890 skipping: result is not used
  304. 16:01:35 65890 expanding: from ${quote_local_part:$sender_ident}
  305. 16:01:35 65890 result: from
  306. 16:01:35 65890 skipping: result is not used
  307. 16:01:35 65890 condition: def:sender_helo_name
  308. 16:01:35 65890 result: false
  309. 16:01:35 65890 expanding: (helo=$sender_helo_name)
  310. 16:01:35 65890
  311. 16:01:35 65890 result: (helo=)
  312. 16:01:35 65890
  313. 16:01:35 65890 skipping: result is not used
  314. 16:01:35 65890 expanding: ${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
  315. 16:01:35 65890 }}
  316. 16:01:35 65890 result:
  317. 16:01:35 65890 skipping: result is not used
  318. 16:01:35 65890 condition: def:received_protocol
  319. 16:01:35 65890 result: true
  320. 16:01:35 65890 expanding: with $received_protocol
  321. 16:01:35 65890 result: with esmtp
  322. 16:01:35 65890 condition: def:tls_cipher
  323. 16:01:35 65890 result: false
  324. 16:01:35 65890 expanding: ($tls_cipher)
  325. 16:01:35 65890
  326. 16:01:35 65890 result: ()
  327. 16:01:35 65890
  328. 16:01:35 65890 skipping: result is not used
  329. 16:01:35 65890 condition: def:sender_address
  330. 16:01:35 65890 result: true
  331. 16:01:35 65890 expanding: (envelope-from <$sender_address>)
  332. 16:01:35 65890
  333. 16:01:35 65890 result: (envelope-from <nobody@nowhere.com>)
  334. 16:01:35 65890
  335. 16:01:35 65890 condition: def:received_for
  336. 16:01:35 65890 result: true
  337. 16:01:35 65890 expanding:
  338. 16:01:35 65890 for $received_for
  339. 16:01:35 65890 result:
  340. 16:01:35 65890 for postmaster@localdomain.lan
  341. 16:01:35 65890 expanding: Received: ${if def:sender_rcvhost {from $sender_rcvhost
  342. 16:01:35 65890 }{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
  343. 16:01:35 65890 }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol}} ${if def:tls_cipher {($tls_cipher)
  344. 16:01:35 65890 }}(Exim $version_number (FreeBSD))
  345. 16:01:35 65890 ${if def:sender_address {(envelope-from <$sender_address>)
  346. 16:01:35 65890 }}id $message_exim_id${if def:received_for {
  347. 16:01:35 65890 for $received_for}}
  348. 16:01:35 65890 result: Received: from [172.16.0.245] (helo=mailer)
  349. 16:01:35 65890 by mailsrv.localdomain.lan with esmtp (Exim 4.85 (FreeBSD))
  350. 16:01:35 65890 (envelope-from <nobody@nowhere.com>)
  351. 16:01:35 65890 id 1YGrWq-000H8k-QY
  352. 16:01:35 65890 for postmaster@localdomain.lan
  353. 16:01:35 65890 >>Generated Received: header line
  354. 16:01:35 65890 P Received: from [172.16.0.245] (helo=mailer)
  355. 16:01:35 65890 by mailsrv.localdomain.lan with esmtp (Exim 4.85 (FreeBSD))
  356. 16:01:35 65890 (envelope-from <nobody@nowhere.com>)
  357. 16:01:35 65890 id 1YGrWq-000H8k-QY
  358. 16:01:35 65890 for postmaster@localdomain.lan; Thu, 29 Jan 2015 16:01:35 +0000
  359. PDKIM <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
  360. 16:01:35 65890 using ACL "acl_check_data"
  361. 16:01:35 65890 processing "accept"
  362. 16:01:35 65890 accept: condition test succeeded in ACL "acl_check_data"
  363. 16:01:35 65890 end of ACL "acl_check_data": ACCEPT
  364. 16:01:35 65890 calling local_scan(); timeout=300
  365. 16:01:35 65890 expanding: $sender_host_address
  366. 16:01:35 65890 result: 172.16.0.245
  367. 16:01:35 65890 expanding: 127.0.0.1
  368. 16:01:35 65890 result: 127.0.0.1
  369. 16:01:35 65890 expanding: $h_X-SA-Do-Not-Run:
  370. 16:01:35 65890 result:
  371. 16:01:35 65890 expanding: Yes
  372. 16:01:35 65890 result: Yes
  373. 16:01:35 65890 condition: and {{def:sender_host_address} {!eq {$sender_host_address}{127.0.0.1}} {!eq {$h_X-SA-Do-Not-Run:}{Yes}} }
  374. 16:01:35 65890 result: true
  375. 16:01:35 65890 expanding: 1
  376. 16:01:35 65890 result: 1
  377. 16:01:35 65890 expanding: 0
  378. 16:01:35 65890 result: 0
  379. 16:01:35 65890 skipping: result is not used
  380. 16:01:35 65890 expanding: ${if and {{def:sender_host_address} {!eq {$sender_host_address}{127.0.0.1}} {!eq {$h_X-SA-Do-Not-Run:}{Yes}} } {1}{0}}
  381. 16:01:35 65890 result: 1
  382. 16:01:35 65890 LOG: MAIN
  383. 16:01:35 65890 SA: Debug: SAEximRunCond expand returned: '1'
  384. 16:01:35 65890 LOG: MAIN
  385. 16:01:35 65890 SA: Debug: check succeeded, running spamc
  386. 16:01:35 65890 LOG: MAIN
  387. 16:01:35 65890 SA: Action: scanned but message isn't spam: score=2.7 required=5.0 (scanned in 0/0 secs | Message-Id: 1YGrWq-000H8k-QY). From <nobody@nowhere.com> (host=NULL [172.16.0.245]) for postmaster@localdomain.lan
  388. 16:01:35 65890 local_scan() returned 0 NULL
  389. 16:01:35 65890 expanding: ${tod_full}
  390. 16:01:35 65890 result: Thu, 29 Jan 2015 16:01:35 +0000
  391. 16:01:35 65890 Writing spool header file
  392. 16:01:35 65890 Size of headers = 682
  393. 16:01:35 65890 expanding: $h_subject:
  394. 16:01:35 65890 result: test with smaller headers_remove
  395. 16:01:35 65890 LOG: MAIN
  396. 16:01:35 65890 <= nobody@nowhere.com H=(mailer) [172.16.0.245] P=esmtp S=705 T="test with smaller headers_remove"
  397. 16:01:35 65890 SMTP>> 250 OK id=1YGrWq-000H8k-QY
  398. 16:01:35 65890 search_tidyup called
  399. 16:01:35 65890 Sender: nobody@nowhere.com
  400. 16:01:35 65890 Recipients:
  401. 16:01:35 65890 postmaster@localdomain.lan
  402. 16:01:35 65890 forked delivery process 65892
  403. 16:01:35 65890 Process 65890 is ready for new message
  404. 16:01:35 65890 smtp_setup_msg entered
  405. 16:01:35 65892 exec /usr/local/sbin/exim -d=0xfffdffff -Mc 1YGrWq-000H8k-QY
  406. 16:01:35 65892 Exim version 4.85 (FreeBSD 10.1) uid=26 gid=6 pid=65892 D=fffdffff
  407. Probably Berkeley DB version 1.8x (native mode)
  408. Support for: crypteq iconv() use_setclassresources Perl Expand_dlfunc OpenSSL Content_Scanning DKIM Old_Demime PRDR OCSP Experimental_SPF
  409. Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmjz dbmnz dnsdb dsearch mysql
  410. Authenticators: cram_md5 plaintext spa
  411. Routers: accept dnslookup ipliteral manualroute queryprogram redirect
  412. Transports: appendfile/maildir autoreply lmtp pipe smtp
  413. Fixed never_users: 0
  414. Size of off_t: 8
  415. Compiler: CLang [3.4.1 (tags/RELEASE_34/dot1-final 208032)]
  416. Library version: OpenSSL: Compile: OpenSSL 1.0.1k-freebsd 8 Jan 2015
  417. Runtime: OpenSSL 1.0.1k-freebsd 8 Jan 2015
  418. : built on: date not available
  419. Library version: PCRE: Compile: 8.35
  420. Runtime: 8.35 2014-04-04
  421. 16:01:35 65892 Total 12 lookups
  422. Library version: MySQL: Compile: 5.6.22 [Source distribution]
  423. Runtime: 5.6.22
  424. WHITELIST_D_MACROS unset
  425. TRUSTED_CONFIG_LIST unset
  426. 16:01:35 65892 changed uid/gid: forcing real = effective
  427. 16:01:35 65892 uid=0 gid=6 pid=65892
  428. 16:01:35 65892 auxiliary group list: 6
  429. 16:01:35 65892 seeking password data for user "mailnull": using cached result
  430. 16:01:35 65892 getpwnam() succeeded uid=26 gid=26
  431. 16:01:35 65892 seeking password data for user "www": cache not available
  432. 16:01:35 65892 getpwnam() succeeded uid=80 gid=80
  433. 16:01:35 65892 seeking password data for user "mailnull": cache not available
  434. 16:01:35 65892 getpwnam() succeeded uid=26 gid=26
  435. 16:01:35 65892 seeking password data for user "root": cache not available
  436. 16:01:35 65892 getpwnam() succeeded uid=0 gid=0
  437. 16:01:35 65893 changed uid/gid: calling tls_validate_require_cipher
  438. 16:01:35 65893 uid=26 gid=6 pid=65893
  439. 16:01:35 65893 auxiliary group list: 6
  440. 16:01:35 65892 tls_validate_require_cipher child 65893 ended: status=0x0
  441. 16:01:35 65892 configuration file is /usr/local/etc/exim/configure
  442. 16:01:35 65892 log selectors = 00000ffc 002b2001
  443. 16:01:35 65892 cwd=/RWs/var/spool/exim 4 args: /usr/local/sbin/exim -d=0xfffdffff -Mc 1YGrWq-000H8k-QY
  444. 16:01:35 65892 trusted user
  445. 16:01:35 65892 admin user
  446. 16:01:35 65892 seeking password data for user "mailnull": cache not available
  447. 16:01:35 65892 getpwnam() succeeded uid=26 gid=26
  448. 16:01:35 65892 seeking password data for user "mailnull": using cached result
  449. 16:01:35 65892 getpwnam() succeeded uid=26 gid=26
  450. 16:01:35 65892 set_process_info: 65892 delivering specified messages
  451. 16:01:35 65892 set_process_info: 65892 delivering 1YGrWq-000H8k-QY
  452. 16:01:35 65892 reading spool file 1YGrWq-000H8k-QY-H
  453. 16:01:35 65892 user=mailnull uid=26 gid=6 sender=nobody@nowhere.com
  454. 16:01:35 65892 sender_fullhost = (mailer) [172.16.0.245]
  455. 16:01:35 65892 sender_rcvhost = [172.16.0.245] (helo=mailer)
  456. 16:01:35 65892 sender_local=0 ident=unset
  457. 16:01:35 65892 Non-recipients:
  458. 16:01:35 65892 Empty Tree
  459. 16:01:35 65892 ---- End of tree ----
  460. 16:01:35 65892 recipients_count=1
  461. 16:01:35 65892 body_linecount=1 message_linecount=16
  462. 16:01:35 65892 Delivery address list:
  463. 16:01:35 65892 postmaster@localdomain.lan
  464. 16:01:35 65892 locking /var/spool/exim/db/retry.lockfile
  465. 16:01:35 65892 locked /var/spool/exim/db/retry.lockfile
  466. 16:01:35 65892 EXIM_DBOPEN(/var/spool/exim/db/retry)
  467. 16:01:35 65892 returned from EXIM_DBOPEN
  468. 16:01:35 65892 opened hints database /var/spool/exim/db/retry: flags=O_RDONLY
  469. 16:01:35 65892 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  470. 16:01:35 65892 Considering: postmaster@localdomain.lan
  471. 16:01:35 65892 unique = postmaster@localdomain.lan
  472. 16:01:35 65892 dbfn_read: key=R:localdomain.lan
  473. 16:01:35 65892 dbfn_read: key=R:postmaster@localdomain.lan
  474. 16:01:35 65892 dbfn_read: key=R:postmaster@localdomain.lan:<nobody@nowhere.com>
  475. 16:01:35 65892 no domain retry record
  476. 16:01:35 65892 no address retry record
  477. 16:01:35 65892 postmaster@localdomain.lan: queued for routing
  478. 16:01:35 65892 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  479. 16:01:35 65892 routing postmaster@localdomain.lan
  480. 16:01:35 65892 --------> send_to_hub router <--------
  481. 16:01:35 65892 local_part=postmaster domain=localdomain.lan
  482. 16:01:35 65892 checking domains
  483. 16:01:35 65892 expanding: $domain
  484. 16:01:35 65892 result: localdomain.lan
  485. 16:01:35 65892 expanding: SELECT DISTINCT domain FROM domains WHERE type = 'forward' AND domain = '${quote_mysql:$domain}'
  486. 16:01:35 65892 result: SELECT DISTINCT domain FROM domains WHERE type = 'forward' AND domain = 'localdomain.lan'
  487. 16:01:35 65892 search_open: mysql "NULL"
  488. 16:01:35 65892 search_find: file="NULL"
  489. 16:01:35 65892 key="SELECT DISTINCT domain FROM domains WHERE type = 'forward' AND domain = 'localdomain.lan'" partial=-1 affix=NULL starflags=0
  490. 16:01:35 65892 LRU list:
  491. 16:01:35 65892 internal_search_find: file="NULL"
  492. 16:01:35 65892 type=mysql key="SELECT DISTINCT domain FROM domains WHERE type = 'forward' AND domain = 'localdomain.lan'"
  493. 16:01:35 65892 database lookup required for SELECT DISTINCT domain FROM domains WHERE type = 'forward' AND domain = 'localdomain.lan'
  494. 16:01:35 65892 MySQL query: SELECT DISTINCT domain FROM domains WHERE type = 'forward' AND domain = 'localdomain.lan'
  495. 16:01:35 65892 MYSQL new connection: host=localhost port=0 socket=/tmp/mysql.sock database=vexiBack user=vexBack
  496. 16:01:35 65892 MYSQL: no data found
  497. 16:01:35 65892 lookup failed
  498. 16:01:35 65892 expanding: ${lookup mysql{SELECT DISTINCT domain FROM domains WHERE type = 'forward' AND domain = '${quote_mysql:$domain}'}}
  499. 16:01:35 65892 result:
  500. 16:01:35 65892 localdomain.lan in ""? no (end of list)
  501. 16:01:35 65892 localdomain.lan in "+fwd_domains"? no (end of list)
  502. 16:01:35 65892 send_to_hub router skipped: domains mismatch
  503. 16:01:35 65892 --------> disclaimers router <--------
  504. 16:01:35 65892 local_part=postmaster domain=localdomain.lan
  505. 16:01:35 65892 checking domains
  506. 16:01:35 65892 expanding: $domain
  507. 16:01:35 65892 result: localdomain.lan
  508. 16:01:35 65892 expanding: SELECT DISTINCT domain FROM domains WHERE type = 'local' AND enabled = '1' AND domain = '${quote_mysql:$domain}'
  509. 16:01:35 65892 result: SELECT DISTINCT domain FROM domains WHERE type = 'local' AND enabled = '1' AND domain = 'localdomain.lan'
  510. 16:01:35 65892 search_open: mysql "NULL"
  511. 16:01:35 65892 cached open
  512. 16:01:35 65892 search_find: file="NULL"
  513. 16:01:35 65892 key="SELECT DISTINCT domain FROM domains WHERE type = 'local' AND enabled = '1' AND domain = 'localdomain.lan'" partial=-1 affix=NULL starflags=0
  514. 16:01:35 65892 LRU list:
  515. 16:01:35 65892 internal_search_find: file="NULL"
  516. 16:01:35 65892 type=mysql key="SELECT DISTINCT domain FROM domains WHERE type = 'local' AND enabled = '1' AND domain = 'localdomain.lan'"
  517. 16:01:35 65892 database lookup required for SELECT DISTINCT domain FROM domains WHERE type = 'local' AND enabled = '1' AND domain = 'localdomain.lan'
  518. 16:01:35 65892 MySQL query: SELECT DISTINCT domain FROM domains WHERE type = 'local' AND enabled = '1' AND domain = 'localdomain.lan'
  519. 16:01:35 65892 MYSQL using cached connection for localhost:(/tmp/mysql.sock)/vexiBack/vexBack
  520. 16:01:35 65892 lookup yielded: localdomain.lan
  521. 16:01:35 65892 expanding: $domain
  522. 16:01:35 65892 result: localdomain.lan
  523. 16:01:35 65892 expanding: SELECT DISTINCT alias FROM domainalias WHERE alias = '${quote_mysql:$domain}'
  524. 16:01:35 65892 result: SELECT DISTINCT alias FROM domainalias WHERE alias = 'localdomain.lan'
  525. 16:01:35 65892 search_open: mysql "NULL"
  526. 16:01:35 65892 cached open
  527. 16:01:35 65892 search_find: file="NULL"
  528. 16:01:35 65892 key="SELECT DISTINCT alias FROM domainalias WHERE alias = 'localdomain.lan'" partial=-1 affix=NULL starflags=0
  529. 16:01:35 65892 LRU list:
  530. 16:01:35 65892 internal_search_find: file="NULL"
  531. 16:01:35 65892 type=mysql key="SELECT DISTINCT alias FROM domainalias WHERE alias = 'localdomain.lan'"
  532. 16:01:35 65892 database lookup required for SELECT DISTINCT alias FROM domainalias WHERE alias = 'localdomain.lan'
  533. 16:01:35 65892 MySQL query: SELECT DISTINCT alias FROM domainalias WHERE alias = 'localdomain.lan'
  534. 16:01:35 65892 MYSQL using cached connection for localhost:(/tmp/mysql.sock)/vexiBack/vexBack
  535. 16:01:35 65892 MYSQL: no data found
  536. 16:01:35 65892 lookup failed
  537. 16:01:35 65892 expanding: @ : ${lookup mysql{SELECT DISTINCT domain FROM domains WHERE type = 'local' AND enabled = '1' AND domain = '${quote_mysql:$domain}'}} : ${lookup mysql{SELECT DISTINCT alias FROM domainalias WHERE alias = '${quote_mysql:$domain}'}}
  538. 16:01:35 65892 result: @ : localdomain.lan :
  539. 16:01:35 65892 localdomain.lan in "@ : localdomain.lan : "? yes (matched "localdomain.lan")
  540. 16:01:35 65892 localdomain.lan in "! +local_domains"? no (matched "! +local_domains")
  541. 16:01:35 65892 disclaimers router skipped: domains mismatch
  542. 16:01:35 65892 --------> dnslookup router <--------
  543. 16:01:35 65892 local_part=postmaster domain=localdomain.lan
  544. 16:01:35 65892 checking domains
  545. 16:01:35 65892 expanding: $domain
  546. 16:01:35 65892 result: localdomain.lan
  547. 16:01:35 65892 expanding: SELECT DISTINCT domain FROM domains WHERE type = 'local' AND enabled = '1' AND domain = '${quote_mysql:$domain}'
  548. 16:01:35 65892 result: SELECT DISTINCT domain FROM domains WHERE type = 'local' AND enabled = '1' AND domain = 'localdomain.lan'
  549. 16:01:35 65892 search_open: mysql "NULL"
  550. 16:01:35 65892 cached open
  551. 16:01:35 65892 search_find: file="NULL"
  552. 16:01:35 65892 key="SELECT DISTINCT domain FROM domains WHERE type = 'local' AND enabled = '1' AND domain = 'localdomain.lan'" partial=-1 affix=NULL starflags=0
  553. 16:01:35 65892 LRU list:
  554. 16:01:35 65892 internal_search_find: file="NULL"
  555. 16:01:35 65892 type=mysql key="SELECT DISTINCT domain FROM domains WHERE type = 'local' AND enabled = '1' AND domain = 'localdomain.lan'"
  556. 16:01:35 65892 cached data used for lookup of SELECT DISTINCT domain FROM domains WHERE type = 'local' AND enabled = '1' AND domain = 'localdomain.lan'
  557. 16:01:35 65892 lookup yielded: localdomain.lan
  558. 16:01:35 65892 expanding: $domain
  559. 16:01:35 65892 result: localdomain.lan
  560. 16:01:35 65892 expanding: SELECT DISTINCT alias FROM domainalias WHERE alias = '${quote_mysql:$domain}'
  561. 16:01:35 65892 result: SELECT DISTINCT alias FROM domainalias WHERE alias = 'localdomain.lan'
  562. 16:01:35 65892 search_open: mysql "NULL"
  563. 16:01:35 65892 cached open
  564. 16:01:35 65892 search_find: file="NULL"
  565. 16:01:35 65892 key="SELECT DISTINCT alias FROM domainalias WHERE alias = 'localdomain.lan'" partial=-1 affix=NULL starflags=0
  566. 16:01:35 65892 LRU list:
  567. 16:01:35 65892 internal_search_find: file="NULL"
  568. 16:01:35 65892 type=mysql key="SELECT DISTINCT alias FROM domainalias WHERE alias = 'localdomain.lan'"
  569. 16:01:35 65892 cached data used for lookup of SELECT DISTINCT alias FROM domainalias WHERE alias = 'localdomain.lan'
  570. 16:01:35 65892 lookup failed
  571. 16:01:35 65892 expanding: @ : ${lookup mysql{SELECT DISTINCT domain FROM domains WHERE type = 'local' AND enabled = '1' AND domain = '${quote_mysql:$domain}'}} : ${lookup mysql{SELECT DISTINCT alias FROM domainalias WHERE alias = '${quote_mysql:$domain}'}}
  572. 16:01:35 65892 result: @ : localdomain.lan :
  573. 16:01:35 65892 localdomain.lan in "@ : localdomain.lan : "? yes (matched "localdomain.lan")
  574. 16:01:35 65892 localdomain.lan in "! +local_domains"? no (matched "! +local_domains")
  575. 16:01:35 65892 dnslookup router skipped: domains mismatch
  576. 16:01:35 65892 --------> mailman_router router <--------
  577. 16:01:35 65892 local_part=postmaster domain=localdomain.lan
  578. 16:01:35 65892 checking require_files
  579. 16:01:35 65892 expanding: /usr/local/mailman/lists/$local_part/config.pck
  580. 16:01:35 65892 result: /usr/local/mailman/lists/postmaster/config.pck
  581. 16:01:35 65892 file check: /usr/local/mailman/lists/$local_part/config.pck
  582. 16:01:35 65892 expanded file: /usr/local/mailman/lists/postmaster/config.pck
  583. 16:01:35 65892 stat() yielded -1
  584. 16:01:35 65892 errno = 2
  585. 16:01:35 65892 mailman_router router skipped: file check
  586. 16:01:35 65892 --------> ditch_maxmsgsize router <--------
  587. 16:01:35 65892 local_part=postmaster domain=localdomain.lan
  588. 16:01:35 65892 checking "condition"
  589. 16:01:35 65892 expanding: NULL
  590. 16:01:35 65892 result: NULL
  591. 16:01:35 65892 considering bool_lax: NULL
  592. 16:01:35 65892 expanding: $message_size
  593. 16:01:35 65892 result: 705
  594. 16:01:35 65892 expanding: $local_part
  595. 16:01:35 65892 result: postmaster
  596. 16:01:35 65892 expanding: $domain
  597. 16:01:35 65892 result: localdomain.lan
  598. 16:01:35 65892 expanding: select users.maxmsgsize from users,domains where localpart = '${quote_mysql:$local_part}' and domain = '${quote_mysql:$domain}' and users.maxmsgsize > 0 and users.domain_id=domains.domain_id
  599. 16:01:35 65892 result: select users.maxmsgsize from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and users.maxmsgsize > 0 and users.domain_id=domains.domain_id
  600. 16:01:35 65892 search_open: mysql "NULL"
  601. 16:01:35 65892 cached open
  602. 16:01:35 65892 search_find: file="NULL"
  603. 16:01:35 65892 key="select users.maxmsgsize from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and users.maxmsgsize > 0 and users.domain_id=domains.domain_id " partial=-1 affix=NULL starflags=0
  604. 16:01:35 65892 LRU list:
  605. 16:01:35 65892 internal_search_find: file="NULL"
  606. 16:01:35 65892 type=mysql key="select users.maxmsgsize from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and users.maxmsgsize > 0 and users.domain_id=domains.domain_id "
  607. 16:01:35 65892 database lookup required for select users.maxmsgsize from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and users.maxmsgsize > 0 and users.domain_id=domains.domain_id
  608. 16:01:35 65892 MySQL query: select users.maxmsgsize from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and users.maxmsgsize > 0 and users.domain_id=domains.domain_id
  609. 16:01:35 65892 MYSQL using cached connection for localhost:(/tmp/mysql.sock)/vexiBack/vexBack
  610. 16:01:35 65892 MYSQL: no data found
  611. 16:01:35 65892 lookup failed
  612. 16:01:35 65892 expanding: ${value}K
  613. 16:01:35 65892 result: K
  614. 16:01:35 65892 skipping: result is not used
  615. 16:01:35 65892 failed to expand: ${lookup mysql{select users.maxmsgsize from users,domains where localpart = '${quote_mysql:$local_part}' and domain = '${quote_mysql:$domain}' and users.maxmsgsize > 0 and users.domain_id=domains.domain_id }{${value}K}fail}} {yes}{no}}}}}}
  616. 16:01:35 65892 error message: "lookup" failed and "fail" requested
  617. 16:01:35 65892 failure was forced
  618. 16:01:35 65892 failed to expand: ${if >{$message_size}{${lookup mysql{select users.maxmsgsize from users,domains where localpart = '${quote_mysql:$local_part}' and domain = '${quote_mysql:$domain}' and users.maxmsgsize > 0 and users.domain_id=domains.domain_id }{${value}K}fail}} {yes}{no}}}}}}
  619. 16:01:35 65892 error message: "lookup" failed and "fail" requested
  620. 16:01:35 65892 failure was forced
  621. 16:01:35 65892 failed to expand: ${if and{{bool_lax{NULL}}{bool_lax{${if >{$message_size}{${lookup mysql{select users.maxmsgsize from users,domains where localpart = '${quote_mysql:$local_part}' and domain = '${quote_mysql:$domain}' and users.maxmsgsize > 0 and users.domain_id=domains.domain_id }{${value}K}fail}} {yes}{no}}}}}}
  622. 16:01:35 65892 error message: "lookup" failed and "fail" requested inside "and{...}" condition
  623. 16:01:35 65892 failure was forced
  624. 16:01:35 65892 ditch_maxmsgsize router skipped: condition failure
  625. 16:01:35 65892 --------> ditch_malware router <--------
  626. 16:01:35 65892 local_part=postmaster domain=localdomain.lan
  627. 16:01:35 65892 checking "condition"
  628. 16:01:35 65892 expanding: NULL
  629. 16:01:35 65892 result: NULL
  630. 16:01:35 65892 considering bool_lax: NULL
  631. 16:01:35 65892 expanding: $h_X-ACL-Warn:
  632. 16:01:35 65892 result:
  633. 16:01:35 65892 expanding: .*malware.*
  634. 16:01:35 65892 result: .*malware.*
  635. 16:01:35 65892 expanding: $local_part
  636. 16:01:35 65892 result:
  637. 16:01:35 65892 skipping: result is not used
  638. 16:01:35 65892 expanding: $domain
  639. 16:01:35 65892 result:
  640. 16:01:35 65892 skipping: result is not used
  641. 16:01:35 65892 expanding: select users.on_avscan from users,domains where localpart = '${quote_mysql:$local_part}' and domain = '${quote_mysql:$domain}' and users.on_avscan = '1' and users.domain_id=domains.domain_id
  642. 16:01:35 65892 result: select users.on_avscan from users,domains where localpart = '' and domain = '' and users.on_avscan = '1' and users.domain_id=domains.domain_id
  643. 16:01:35 65892 skipping: result is not used
  644. 16:01:35 65892 expanding: ${lookup mysql{select users.on_avscan from users,domains where localpart = '${quote_mysql:$local_part}' and domain = '${quote_mysql:$domain}' and users.on_avscan = '1' and users.domain_id=domains.domain_id}}
  645. 16:01:35 65892 result:
  646. 16:01:35 65892 skipping: result is not used
  647. 16:01:35 65892 expanding: 1
  648. 16:01:35 65892 result: 1
  649. 16:01:35 65892 skipping: result is not used
  650. 16:01:35 65892 condition: and { {match {$h_X-ACL-Warn:}{.*malware.*}} {eq {${lookup mysql{select users.on_avscan from users,domains where localpart = '${quote_mysql:$local_part}' and domain = '${quote_mysql:$domain}' and users.on_avscan = '1' and users.domain_id=domains.domain_id}}}{1} }}
  651. 16:01:35 65892 result: false
  652. 16:01:35 65892 expanding: yes
  653. 16:01:35 65892 result: yes
  654. 16:01:35 65892 skipping: result is not used
  655. 16:01:35 65892 expanding: no
  656. 16:01:35 65892 result: no
  657. 16:01:35 65892 expanding: ${if and { {match {$h_X-ACL-Warn:}{.*malware.*}} {eq {${lookup mysql{select users.on_avscan from users,domains where localpart = '${quote_mysql:$local_part}' and domain = '${quote_mysql:$domain}' and users.on_avscan = '1' and users.domain_id=domains.domain_id}}}{1} }} {yes}{no} }
  658. 16:01:35 65892 result: no
  659. 16:01:35 65892 considering bool_lax: no
  660. 16:01:35 65892 condition: and{{bool_lax{NULL}}{bool_lax{${if and { {match {$h_X-ACL-Warn:}{.*malware.*}} {eq {${lookup mysql{select users.on_avscan from users,domains where localpart = '${quote_mysql:$local_part}' and domain = '${quote_mysql:$domain}' and users.on_avscan = '1' and users.domain_id=domains.domain_id}}}{1} }} {yes}{no} }}}}
  661. 16:01:35 65892 result: false
  662. 16:01:35 65892 expanding: ${if and{{bool_lax{NULL}}{bool_lax{${if and { {match {$h_X-ACL-Warn:}{.*malware.*}} {eq {${lookup mysql{select users.on_avscan from users,domains where localpart = '${quote_mysql:$local_part}' and domain = '${quote_mysql:$domain}' and users.on_avscan = '1' and users.domain_id=domains.domain_id}}}{1} }} {yes}{no} }}}}}
  663. 16:01:35 65892 result:
  664. 16:01:35 65892 ditch_malware router skipped: condition failure
  665. 16:01:35 65892 --------> ditch_spam router <--------
  666. 16:01:35 65892 local_part=postmaster domain=localdomain.lan
  667. 16:01:35 65892 checking "condition"
  668. 16:01:35 65892 expanding: NULL
  669. 16:01:35 65892 result: NULL
  670. 16:01:35 65892 considering bool_lax: NULL
  671. 16:01:35 65892 expanding: $spam_score_int
  672. 16:01:35 65892 result:
  673. 16:01:35 65892 empty string cast to zero for numerical comparison
  674. 16:01:35 65892 expanding: $local_part
  675. 16:01:35 65892 result: postmaster
  676. 16:01:35 65892 expanding: $domain
  677. 16:01:35 65892 result: localdomain.lan
  678. 16:01:35 65892 expanding: select users.sa_refuse * 10 from users,domains where localpart = '${quote_mysql:$local_part}' and domain = '${quote_mysql:$domain}' and users.on_spamassassin = '1' and users.domain_id=domains.domain_id and users.sa_refuse > 0
  679. 16:01:35 65892 result: select users.sa_refuse * 10 from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and users.on_spamassassin = '1' and users.domain_id=domains.domain_id and users.sa_refuse > 0
  680. 16:01:35 65892 search_open: mysql "NULL"
  681. 16:01:35 65892 cached open
  682. 16:01:35 65892 search_find: file="NULL"
  683. 16:01:35 65892 key="select users.sa_refuse * 10 from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and users.on_spamassassin = '1' and users.domain_id=domains.domain_id and users.sa_refuse > 0 " partial=-1 affix=NULL starflags=0
  684. 16:01:35 65892 LRU list:
  685. 16:01:35 65892 internal_search_find: file="NULL"
  686. 16:01:35 65892 type=mysql key="select users.sa_refuse * 10 from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and users.on_spamassassin = '1' and users.domain_id=domains.domain_id and users.sa_refuse > 0 "
  687. 16:01:35 65892 database lookup required for select users.sa_refuse * 10 from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and users.on_spamassassin = '1' and users.domain_id=domains.domain_id and users.sa_refuse > 0
  688. 16:01:35 65892 MySQL query: select users.sa_refuse * 10 from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and users.on_spamassassin = '1' and users.domain_id=domains.domain_id and users.sa_refuse > 0
  689. 16:01:35 65892 MYSQL using cached connection for localhost:(/tmp/mysql.sock)/vexiBack/vexBack
  690. 16:01:35 65892 MYSQL: no data found
  691. 16:01:35 65892 lookup failed
  692. 16:01:35 65892 expanding: $value
  693. 16:01:35 65892 result:
  694. 16:01:35 65892 skipping: result is not used
  695. 16:01:35 65892 failed to expand: ${lookup mysql{select users.sa_refuse * 10 from users,domains where localpart = '${quote_mysql:$local_part}' and domain = '${quote_mysql:$domain}' and users.on_spamassassin = '1' and users.domain_id=domains.domain_id and users.sa_refuse > 0 }{$value}fail}} {yes}{no}}}}}}
  696. 16:01:35 65892 error message: "lookup" failed and "fail" requested
  697. 16:01:35 65892 failure was forced
  698. 16:01:35 65892 failed to expand: ${if >{$spam_score_int}{${lookup mysql{select users.sa_refuse * 10 from users,domains where localpart = '${quote_mysql:$local_part}' and domain = '${quote_mysql:$domain}' and users.on_spamassassin = '1' and users.domain_id=domains.domain_id and users.sa_refuse > 0 }{$value}fail}} {yes}{no}}}}}}
  699. 16:01:35 65892 error message: "lookup" failed and "fail" requested
  700. 16:01:35 65892 failure was forced
  701. 16:01:35 65892 failed to expand: ${if and{{bool_lax{NULL}}{bool_lax{${if >{$spam_score_int}{${lookup mysql{select users.sa_refuse * 10 from users,domains where localpart = '${quote_mysql:$local_part}' and domain = '${quote_mysql:$domain}' and users.on_spamassassin = '1' and users.domain_id=domains.domain_id and users.sa_refuse > 0 }{$value}fail}} {yes}{no}}}}}}
  702. 16:01:35 65892 error message: "lookup" failed and "fail" requested inside "and{...}" condition
  703. 16:01:35 65892 failure was forced
  704. 16:01:35 65892 ditch_spam router skipped: condition failure
  705. 16:01:35 65892 --------> ditch_hdrmailer router <--------
  706. 16:01:35 65892 local_part=postmaster domain=localdomain.lan
  707. 16:01:35 65892 checking "condition"
  708. 16:01:35 65892 expanding: NULL
  709. 16:01:35 65892 result: NULL
  710. 16:01:35 65892 considering bool_lax: NULL
  711. 16:01:35 65892 expanding: $h_x-mailer:
  712. 16:01:35 65892 result:
  713. 16:01:35 65892 expanding: $local_part
  714. 16:01:35 65892 result: postmaster
  715. 16:01:35 65892 expanding: $domain
  716. 16:01:35 65892 result: localdomain.lan
  717. 16:01:35 65892 expanding: select count(*) from blocklists,users,domains where blocklists.blockhdr = 'x-mailer' and blocklists.blockval = '${quote_mysql:$h_x-mailer:}' and users.localpart = '${quote_mysql:$local_part}' and domains.domain = '${quote_mysql:$domain}' and domains.domain_id=blocklists.domain_id and users.user_id=blocklists.user_id
  718. 16:01:35 65892 result: select count(*) from blocklists,users,domains where blocklists.blockhdr = 'x-mailer' and blocklists.blockval = '' and users.localpart = 'postmaster' and domains.domain = 'localdomain.lan' and domains.domain_id=blocklists.domain_id and users.user_id=blocklists.user_id
  719. 16:01:35 65892 search_open: mysql "NULL"
  720. 16:01:35 65892 cached open
  721. 16:01:35 65892 search_find: file="NULL"
  722. 16:01:35 65892 key="select count(*) from blocklists,users,domains where blocklists.blockhdr = 'x-mailer' and blocklists.blockval = '' and users.localpart = 'postmaster' and domains.domain = 'localdomain.lan' and domains.domain_id=blocklists.domain_id and users.user_id=blocklists.user_id" partial=-1 affix=NULL starflags=0
  723. 16:01:35 65892 LRU list:
  724. 16:01:35 65892 internal_search_find: file="NULL"
  725. 16:01:35 65892 type=mysql key="select count(*) from blocklists,users,domains where blocklists.blockhdr = 'x-mailer' and blocklists.blockval = '' and users.localpart = 'postmaster' and domains.domain = 'localdomain.lan' and domains.domain_id=blocklists.domain_id and users.user_id=blocklists.user_id"
  726. 16:01:35 65892 database lookup required for select count(*) from blocklists,users,domains where blocklists.blockhdr = 'x-mailer' and blocklists.blockval = '' and users.localpart = 'postmaster' and domains.domain = 'localdomain.lan' and domains.domain_id=blocklists.domain_id and users.user_id=blocklists.user_id
  727. 16:01:35 65892 MySQL query: select count(*) from blocklists,users,domains where blocklists.blockhdr = 'x-mailer' and blocklists.blockval = '' and users.localpart = 'postmaster' and domains.domain = 'localdomain.lan' and domains.domain_id=blocklists.domain_id and users.user_id=blocklists.user_id
  728. 16:01:35 65892 MYSQL using cached connection for localhost:(/tmp/mysql.sock)/vexiBack/vexBack
  729. 16:01:35 65892 lookup yielded: 0
  730. 16:01:35 65892 expanding: ${lookup mysql{select count(*) from blocklists,users,domains where blocklists.blockhdr = 'x-mailer' and blocklists.blockval = '${quote_mysql:$h_x-mailer:}' and users.localpart = '${quote_mysql:$local_part}' and domains.domain = '${quote_mysql:$domain}' and domains.domain_id=blocklists.domain_id and users.user_id=blocklists.user_id}}
  731. 16:01:35 65892 result: 0
  732. 16:01:35 65892 expanding: 1
  733. 16:01:35 65892 result: 1
  734. 16:01:35 65892 condition: eq {${lookup mysql{select count(*) from blocklists,users,domains where blocklists.blockhdr = 'x-mailer' and blocklists.blockval = '${quote_mysql:$h_x-mailer:}' and users.localpart = '${quote_mysql:$local_part}' and domains.domain = '${quote_mysql:$domain}' and domains.domain_id=blocklists.domain_id and users.user_id=blocklists.user_id}}}{1}
  735. 16:01:35 65892 result: false
  736. 16:01:35 65892 expanding: yes
  737. 16:01:35 65892 result: yes
  738. 16:01:35 65892 skipping: result is not used
  739. 16:01:35 65892 expanding: no
  740. 16:01:35 65892 result: no
  741. 16:01:35 65892 expanding: ${if eq {${lookup mysql{select count(*) from blocklists,users,domains where blocklists.blockhdr = 'x-mailer' and blocklists.blockval = '${quote_mysql:$h_x-mailer:}' and users.localpart = '${quote_mysql:$local_part}' and domains.domain = '${quote_mysql:$domain}' and domains.domain_id=blocklists.domain_id and users.user_id=blocklists.user_id}}}{1} {yes}{no}}
  742. 16:01:35 65892 result: no
  743. 16:01:35 65892 considering bool_lax: no
  744. 16:01:35 65892 condition: and{{bool_lax{NULL}}{bool_lax{${if eq {${lookup mysql{select count(*) from blocklists,users,domains where blocklists.blockhdr = 'x-mailer' and blocklists.blockval = '${quote_mysql:$h_x-mailer:}' and users.localpart = '${quote_mysql:$local_part}' and domains.domain = '${quote_mysql:$domain}' and domains.domain_id=blocklists.domain_id and users.user_id=blocklists.user_id}}}{1} {yes}{no}}}}}
  745. 16:01:35 65892 result: false
  746. 16:01:35 65892 expanding: ${if and{{bool_lax{NULL}}{bool_lax{${if eq {${lookup mysql{select count(*) from blocklists,users,domains where blocklists.blockhdr = 'x-mailer' and blocklists.blockval = '${quote_mysql:$h_x-mailer:}' and users.localpart = '${quote_mysql:$local_part}' and domains.domain = '${quote_mysql:$domain}' and domains.domain_id=blocklists.domain_id and users.user_id=blocklists.user_id}}}{1} {yes}{no}}}}}}
  747. 16:01:35 65892 result:
  748. 16:01:35 65892 ditch_hdrmailer router skipped: condition failure
  749. 16:01:35 65892 --------> ditch_hdrto router <--------
  750. 16:01:35 65892 local_part=postmaster domain=localdomain.lan
  751. 16:01:35 65892 checking "condition"
  752. 16:01:35 65892 expanding: NULL
  753. 16:01:35 65892 result: NULL
  754. 16:01:35 65892 considering bool_lax: NULL
  755. 16:01:35 65892 expanding: $h_to:
  756. 16:01:35 65892 result:
  757. 16:01:35 65892 expanding: $local_part
  758. 16:01:35 65892 result: postmaster
  759. 16:01:35 65892 expanding: $domain
  760. 16:01:35 65892 result: localdomain.lan
  761. 16:01:35 65892 expanding: select count(*) from blocklists,users,domains where blocklists.blockhdr = 'to' and blocklists.blockval = '${quote_mysql:$h_to:}' and users.localpart = '${quote_mysql:$local_part}' and domains.domain = '${quote_mysql:$domain}' and domains.domain_id=blocklists.domain_id and users.user_id=blocklists.user_id
  762. 16:01:35 65892 result: select count(*) from blocklists,users,domains where blocklists.blockhdr = 'to' and blocklists.blockval = '' and users.localpart = 'postmaster' and domains.domain = 'localdomain.lan' and domains.domain_id=blocklists.domain_id and users.user_id=blocklists.user_id
  763. 16:01:35 65892 search_open: mysql "NULL"
  764. 16:01:35 65892 cached open
  765. 16:01:35 65892 search_find: file="NULL"
  766. 16:01:35 65892 key="select count(*) from blocklists,users,domains where blocklists.blockhdr = 'to' and blocklists.blockval = '' and users.localpart = 'postmaster' and domains.domain = 'localdomain.lan' and domains.domain_id=blocklists.domain_id and users.user_id=blocklists.user_id" partial=-1 affix=NULL starflags=0
  767. 16:01:35 65892 LRU list:
  768. 16:01:35 65892 internal_search_find: file="NULL"
  769. 16:01:35 65892 type=mysql key="select count(*) from blocklists,users,domains where blocklists.blockhdr = 'to' and blocklists.blockval = '' and users.localpart = 'postmaster' and domains.domain = 'localdomain.lan' and domains.domain_id=blocklists.domain_id and users.user_id=blocklists.user_id"
  770. 16:01:35 65892 database lookup required for select count(*) from blocklists,users,domains where blocklists.blockhdr = 'to' and blocklists.blockval = '' and users.localpart = 'postmaster' and domains.domain = 'localdomain.lan' and domains.domain_id=blocklists.domain_id and users.user_id=blocklists.user_id
  771. 16:01:35 65892 MySQL query: select count(*) from blocklists,users,domains where blocklists.blockhdr = 'to' and blocklists.blockval = '' and users.localpart = 'postmaster' and domains.domain = 'localdomain.lan' and domains.domain_id=blocklists.domain_id and users.user_id=blocklists.user_id
  772. 16:01:35 65892 MYSQL using cached connection for localhost:(/tmp/mysql.sock)/vexiBack/vexBack
  773. 16:01:35 65892 lookup yielded: 0
  774. 16:01:35 65892 expanding: ${lookup mysql{select count(*) from blocklists,users,domains where blocklists.blockhdr = 'to' and blocklists.blockval = '${quote_mysql:$h_to:}' and users.localpart = '${quote_mysql:$local_part}' and domains.domain = '${quote_mysql:$domain}' and domains.domain_id=blocklists.domain_id and users.user_id=blocklists.user_id}}
  775. 16:01:35 65892 result: 0
  776. 16:01:35 65892 expanding: 1
  777. 16:01:35 65892 result: 1
  778. 16:01:35 65892 condition: eq {${lookup mysql{select count(*) from blocklists,users,domains where blocklists.blockhdr = 'to' and blocklists.blockval = '${quote_mysql:$h_to:}' and users.localpart = '${quote_mysql:$local_part}' and domains.domain = '${quote_mysql:$domain}' and domains.domain_id=blocklists.domain_id and users.user_id=blocklists.user_id}}}{1}
  779. 16:01:35 65892 result: false
  780. 16:01:35 65892 expanding: yes
  781. 16:01:35 65892 result: yes
  782. 16:01:35 65892 skipping: result is not used
  783. 16:01:35 65892 expanding: no
  784. 16:01:35 65892 result: no
  785. 16:01:35 65892 expanding: ${if eq {${lookup mysql{select count(*) from blocklists,users,domains where blocklists.blockhdr = 'to' and blocklists.blockval = '${quote_mysql:$h_to:}' and users.localpart = '${quote_mysql:$local_part}' and domains.domain = '${quote_mysql:$domain}' and domains.domain_id=blocklists.domain_id and users.user_id=blocklists.user_id}}}{1} {yes}{no}}
  786. 16:01:35 65892 result: no
  787. 16:01:35 65892 considering bool_lax: no
  788. 16:01:35 65892 condition: and{{bool_lax{NULL}}{bool_lax{${if eq {${lookup mysql{select count(*) from blocklists,users,domains where blocklists.blockhdr = 'to' and blocklists.blockval = '${quote_mysql:$h_to:}' and users.localpart = '${quote_mysql:$local_part}' and domains.domain = '${quote_mysql:$domain}' and domains.domain_id=blocklists.domain_id and users.user_id=blocklists.user_id}}}{1} {yes}{no}}}}}
  789. 16:01:35 65892 result: false
  790. 16:01:35 65892 expanding: ${if and{{bool_lax{NULL}}{bool_lax{${if eq {${lookup mysql{select count(*) from blocklists,users,domains where blocklists.blockhdr = 'to' and blocklists.blockval = '${quote_mysql:$h_to:}' and users.localpart = '${quote_mysql:$local_part}' and domains.domain = '${quote_mysql:$domain}' and domains.domain_id=blocklists.domain_id and users.user_id=blocklists.user_id}}}{1} {yes}{no}}}}}}
  791. 16:01:35 65892 result:
  792. 16:01:35 65892 ditch_hdrto router skipped: condition failure
  793. 16:01:35 65892 --------> ditch_hdrfrom router <--------
  794. 16:01:35 65892 local_part=postmaster domain=localdomain.lan
  795. 16:01:35 65892 checking "condition"
  796. 16:01:35 65892 expanding: NULL
  797. 16:01:35 65892 result: NULL
  798. 16:01:35 65892 considering bool_lax: NULL
  799. 16:01:35 65892 expanding: $h_from:
  800. 16:01:35 65892 result:
  801. 16:01:35 65892 expanding: $local_part
  802. 16:01:35 65892 result: postmaster
  803. 16:01:35 65892 expanding: $domain
  804. 16:01:35 65892 result: localdomain.lan
  805. 16:01:35 65892 expanding: select count(*) from blocklists,users,domains where blocklists.blockhdr = 'from' and blocklists.blockval = '${quote_mysql:$h_from:}' and users.localpart = '${quote_mysql:$local_part}' and domains.domain = '${quote_mysql:$domain}' and domains.domain_id=blocklists.domain_id and users.user_id=blocklists.user_id
  806. 16:01:35 65892 result: select count(*) from blocklists,users,domains where blocklists.blockhdr = 'from' and blocklists.blockval = '' and users.localpart = 'postmaster' and domains.domain = 'localdomain.lan' and domains.domain_id=blocklists.domain_id and users.user_id=blocklists.user_id
  807. 16:01:35 65892 search_open: mysql "NULL"
  808. 16:01:35 65892 cached open
  809. 16:01:35 65892 search_find: file="NULL"
  810. 16:01:35 65892 key="select count(*) from blocklists,users,domains where blocklists.blockhdr = 'from' and blocklists.blockval = '' and users.localpart = 'postmaster' and domains.domain = 'localdomain.lan' and domains.domain_id=blocklists.domain_id and users.user_id=blocklists.user_id" partial=-1 affix=NULL starflags=0
  811. 16:01:35 65892 LRU list:
  812. 16:01:35 65892 internal_search_find: file="NULL"
  813. 16:01:35 65892 type=mysql key="select count(*) from blocklists,users,domains where blocklists.blockhdr = 'from' and blocklists.blockval = '' and users.localpart = 'postmaster' and domains.domain = 'localdomain.lan' and domains.domain_id=blocklists.domain_id and users.user_id=blocklists.user_id"
  814. 16:01:35 65892 database lookup required for select count(*) from blocklists,users,domains where blocklists.blockhdr = 'from' and blocklists.blockval = '' and users.localpart = 'postmaster' and domains.domain = 'localdomain.lan' and domains.domain_id=blocklists.domain_id and users.user_id=blocklists.user_id
  815. 16:01:35 65892 MySQL query: select count(*) from blocklists,users,domains where blocklists.blockhdr = 'from' and blocklists.blockval = '' and users.localpart = 'postmaster' and domains.domain = 'localdomain.lan' and domains.domain_id=blocklists.domain_id and users.user_id=blocklists.user_id
  816. 16:01:35 65892 MYSQL using cached connection for localhost:(/tmp/mysql.sock)/vexiBack/vexBack
  817. 16:01:35 65892 lookup yielded: 0
  818. 16:01:35 65892 expanding: ${lookup mysql{select count(*) from blocklists,users,domains where blocklists.blockhdr = 'from' and blocklists.blockval = '${quote_mysql:$h_from:}' and users.localpart = '${quote_mysql:$local_part}' and domains.domain = '${quote_mysql:$domain}' and domains.domain_id=blocklists.domain_id and users.user_id=blocklists.user_id}}
  819. 16:01:35 65892 result: 0
  820. 16:01:35 65892 expanding: 1
  821. 16:01:35 65892 result: 1
  822. 16:01:35 65892 condition: eq {${lookup mysql{select count(*) from blocklists,users,domains where blocklists.blockhdr = 'from' and blocklists.blockval = '${quote_mysql:$h_from:}' and users.localpart = '${quote_mysql:$local_part}' and domains.domain = '${quote_mysql:$domain}' and domains.domain_id=blocklists.domain_id and users.user_id=blocklists.user_id}}}{1}
  823. 16:01:35 65892 result: false
  824. 16:01:35 65892 expanding: yes
  825. 16:01:35 65892 result: yes
  826. 16:01:35 65892 skipping: result is not used
  827. 16:01:35 65892 expanding: no
  828. 16:01:35 65892 result: no
  829. 16:01:35 65892 expanding: ${if eq {${lookup mysql{select count(*) from blocklists,users,domains where blocklists.blockhdr = 'from' and blocklists.blockval = '${quote_mysql:$h_from:}' and users.localpart = '${quote_mysql:$local_part}' and domains.domain = '${quote_mysql:$domain}' and domains.domain_id=blocklists.domain_id and users.user_id=blocklists.user_id}}}{1} {yes}{no}}
  830. 16:01:35 65892 result: no
  831. 16:01:35 65892 considering bool_lax: no
  832. 16:01:35 65892 condition: and{{bool_lax{NULL}}{bool_lax{${if eq {${lookup mysql{select count(*) from blocklists,users,domains where blocklists.blockhdr = 'from' and blocklists.blockval = '${quote_mysql:$h_from:}' and users.localpart = '${quote_mysql:$local_part}' and domains.domain = '${quote_mysql:$domain}' and domains.domain_id=blocklists.domain_id and users.user_id=blocklists.user_id}}}{1} {yes}{no}}}}}
  833. 16:01:35 65892 result: false
  834. 16:01:35 65892 expanding: ${if and{{bool_lax{NULL}}{bool_lax{${if eq {${lookup mysql{select count(*) from blocklists,users,domains where blocklists.blockhdr = 'from' and blocklists.blockval = '${quote_mysql:$h_from:}' and users.localpart = '${quote_mysql:$local_part}' and domains.domain = '${quote_mysql:$domain}' and domains.domain_id=blocklists.domain_id and users.user_id=blocklists.user_id}}}{1} {yes}{no}}}}}}
  835. 16:01:35 65892 result:
  836. 16:01:35 65892 ditch_hdrfrom router skipped: condition failure
  837. 16:01:35 65892 --------> ditch_hdrsubject router <--------
  838. 16:01:35 65892 local_part=postmaster domain=localdomain.lan
  839. 16:01:35 65892 checking "condition"
  840. 16:01:35 65892 expanding: NULL
  841. 16:01:35 65892 result: NULL
  842. 16:01:35 65892 considering bool_lax: NULL
  843. 16:01:35 65892 expanding: $h_subject:
  844. 16:01:35 65892 result: test with smaller headers_remove
  845. 16:01:35 65892 expanding: $local_part
  846. 16:01:35 65892 result: postmaster
  847. 16:01:35 65892 expanding: $domain
  848. 16:01:35 65892 result: localdomain.lan
  849. 16:01:35 65892 expanding: select count(*) from blocklists,users,domains where blocklists.blockhdr = 'subject' and blocklists.blockval = '${quote_mysql:$h_subject:}' and users.localpart = '${quote_mysql:$local_part}' and domains.domain = '${quote_mysql:$domain}' and domains.domain_id=blocklists.domain_id and users.user_id=blocklists.user_id
  850. 16:01:35 65892 result: select count(*) from blocklists,users,domains where blocklists.blockhdr = 'subject' and blocklists.blockval = 'test with smaller headers_remove' and users.localpart = 'postmaster' and domains.domain = 'localdomain.lan' and domains.domain_id=blocklists.domain_id and users.user_id=blocklists.user_id
  851. 16:01:35 65892 search_open: mysql "NULL"
  852. 16:01:35 65892 cached open
  853. 16:01:35 65892 search_find: file="NULL"
  854. 16:01:35 65892 key="select count(*) from blocklists,users,domains where blocklists.blockhdr = 'subject' and blocklists.blockval = 'test with smaller headers_remove' and users.localpart = 'postmaster' and domains.domain = 'localdomain.lan' and domains.domain_id=blocklists.domain_id and users.user_id=blocklists.user_id" partial=-1 affix=NULL starflags=0
  855. 16:01:35 65892 LRU list:
  856. 16:01:35 65892 internal_search_find: file="NULL"
  857. 16:01:35 65892 type=mysql key="select count(*) from blocklists,users,domains where blocklists.blockhdr = 'subject' and blocklists.blockval = 'test with smaller headers_remove' and users.localpart = 'postmaster' and domains.domain = 'localdomain.lan' and domains.domain_id=blocklists.domain_id and users.user_id=blocklists.user_id"
  858. 16:01:35 65892 database lookup required for select count(*) from blocklists,users,domains where blocklists.blockhdr = 'subject' and blocklists.blockval = 'test with smaller headers_remove' and users.localpart = 'postmaster' and domains.domain = 'localdomain.lan' and domains.domain_id=blocklists.domain_id and users.user_id=blocklists.user_id
  859. 16:01:35 65892 MySQL query: select count(*) from blocklists,users,domains where blocklists.blockhdr = 'subject' and blocklists.blockval = 'test with smaller headers_remove' and users.localpart = 'postmaster' and domains.domain = 'localdomain.lan' and domains.domain_id=blocklists.domain_id and users.user_id=blocklists.user_id
  860. 16:01:35 65892 MYSQL using cached connection for localhost:(/tmp/mysql.sock)/vexiBack/vexBack
  861. 16:01:35 65892 lookup yielded: 0
  862. 16:01:35 65892 expanding: ${lookup mysql{select count(*) from blocklists,users,domains where blocklists.blockhdr = 'subject' and blocklists.blockval = '${quote_mysql:$h_subject:}' and users.localpart = '${quote_mysql:$local_part}' and domains.domain = '${quote_mysql:$domain}' and domains.domain_id=blocklists.domain_id and users.user_id=blocklists.user_id}}
  863. 16:01:35 65892 result: 0
  864. 16:01:35 65892 expanding: 1
  865. 16:01:35 65892 result: 1
  866. 16:01:35 65892 condition: eq {${lookup mysql{select count(*) from blocklists,users,domains where blocklists.blockhdr = 'subject' and blocklists.blockval = '${quote_mysql:$h_subject:}' and users.localpart = '${quote_mysql:$local_part}' and domains.domain = '${quote_mysql:$domain}' and domains.domain_id=blocklists.domain_id and users.user_id=blocklists.user_id}}}{1}
  867. 16:01:35 65892 result: false
  868. 16:01:35 65892 expanding: yes
  869. 16:01:35 65892 result: yes
  870. 16:01:35 65892 skipping: result is not used
  871. 16:01:35 65892 expanding: no
  872. 16:01:35 65892 result: no
  873. 16:01:35 65892 expanding: ${if eq {${lookup mysql{select count(*) from blocklists,users,domains where blocklists.blockhdr = 'subject' and blocklists.blockval = '${quote_mysql:$h_subject:}' and users.localpart = '${quote_mysql:$local_part}' and domains.domain = '${quote_mysql:$domain}' and domains.domain_id=blocklists.domain_id and users.user_id=blocklists.user_id}}}{1} {yes}{no}}
  874. 16:01:35 65892 result: no
  875. 16:01:35 65892 considering bool_lax: no
  876. 16:01:35 65892 condition: and{{bool_lax{NULL}}{bool_lax{${if eq {${lookup mysql{select count(*) from blocklists,users,domains where blocklists.blockhdr = 'subject' and blocklists.blockval = '${quote_mysql:$h_subject:}' and users.localpart = '${quote_mysql:$local_part}' and domains.domain = '${quote_mysql:$domain}' and domains.domain_id=blocklists.domain_id and users.user_id=blocklists.user_id}}}{1} {yes}{no}}}}}
  877. 16:01:35 65892 result: false
  878. 16:01:35 65892 expanding: ${if and{{bool_lax{NULL}}{bool_lax{${if eq {${lookup mysql{select count(*) from blocklists,users,domains where blocklists.blockhdr = 'subject' and blocklists.blockval = '${quote_mysql:$h_subject:}' and users.localpart = '${quote_mysql:$local_part}' and domains.domain = '${quote_mysql:$domain}' and domains.domain_id=blocklists.domain_id and users.user_id=blocklists.user_id}}}{1} {yes}{no}}}}}}
  879. 16:01:35 65892 result:
  880. 16:01:35 65892 ditch_hdrsubject router skipped: condition failure
  881. 16:01:35 65892 --------> virtual_vacation router <--------
  882. 16:01:35 65892 local_part=postmaster domain=localdomain.lan
  883. 16:01:35 65892 checking senders
  884. 16:01:35 65892 address match test: subject=nobody@nowhere.com pattern=^.*-request@.*
  885. 16:01:35 65892 address match test: subject=nobody@nowhere.com pattern=^bounce-.*@.*
  886. 16:01:35 65892 address match test: subject=nobody@nowhere.com pattern=^.*-bounce@.*
  887. 16:01:35 65892 address match test: subject=nobody@nowhere.com pattern=^owner-.*@.*
  888. 16:01:35 65892 address match test: subject=nobody@nowhere.com pattern=^postmaster@.*
  889. 16:01:35 65892 address match test: subject=nobody@nowhere.com pattern=^webmaster@.*
  890. 16:01:35 65892 address match test: subject=nobody@nowhere.com pattern=^listmaster@.*
  891. 16:01:35 65892 address match test: subject=nobody@nowhere.com pattern=^mailer-daemon@.*
  892. 16:01:35 65892 address match test: subject=nobody@nowhere.com pattern=^root@.*
  893. 16:01:35 65892 nobody@nowhere.com in "! ^.*-request@.*:! ^bounce-.*@.*:! ^.*-bounce@.*:! ^owner-.*@.*:! ^postmaster@.*:! ^webmaster@.*:! ^listmaster@.*:! ^mailer-daemon@.*:! ^root@.*"? yes (end of list)
  894. 16:01:35 65892 checking "condition"
  895. 16:01:35 65892 expanding: NULL
  896. 16:01:35 65892 result: NULL
  897. 16:01:35 65892 considering bool_lax: NULL
  898. 16:01:35 65892 expanding: $h_precedence:
  899. 16:01:35 65892 result:
  900. 16:01:35 65892 expanding: (?i)junk|bulk|list
  901. 16:01:35 65892 result: (?i)junk|bulk|list
  902. 16:01:35 65892 expanding: $local_part
  903. 16:01:35 65892 result: postmaster
  904. 16:01:35 65892 expanding: $domain
  905. 16:01:35 65892 result: localdomain.lan
  906. 16:01:35 65892 expanding: select users.on_vacation from users,domains where localpart = '${quote_mysql:$local_part}' and domain = '${quote_mysql:$domain}' and users.on_vacation = '1' and users.domain_id=domains.domain_id
  907. 16:01:35 65892 result: select users.on_vacation from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and users.on_vacation = '1' and users.domain_id=domains.domain_id
  908. 16:01:35 65892 search_open: mysql "NULL"
  909. 16:01:35 65892 cached open
  910. 16:01:35 65892 search_find: file="NULL"
  911. 16:01:35 65892 key="select users.on_vacation from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and users.on_vacation = '1' and users.domain_id=domains.domain_id" partial=-1 affix=NULL starflags=0
  912. 16:01:35 65892 LRU list:
  913. 16:01:35 65892 internal_search_find: file="NULL"
  914. 16:01:35 65892 type=mysql key="select users.on_vacation from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and users.on_vacation = '1' and users.domain_id=domains.domain_id"
  915. 16:01:35 65892 database lookup required for select users.on_vacation from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and users.on_vacation = '1' and users.domain_id=domains.domain_id
  916. 16:01:35 65892 MySQL query: select users.on_vacation from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and users.on_vacation = '1' and users.domain_id=domains.domain_id
  917. 16:01:35 65892 MYSQL using cached connection for localhost:(/tmp/mysql.sock)/vexiBack/vexBack
  918. 16:01:35 65892 MYSQL: no data found
  919. 16:01:35 65892 lookup failed
  920. 16:01:35 65892 expanding: ${lookup mysql{select users.on_vacation from users,domains where localpart = '${quote_mysql:$local_part}' and domain = '${quote_mysql:$domain}' and users.on_vacation = '1' and users.domain_id=domains.domain_id}}
  921. 16:01:35 65892 result:
  922. 16:01:35 65892 expanding: 1
  923. 16:01:35 65892 result: 1
  924. 16:01:35 65892 condition: and { {!match {$h_precedence:}{(?i)junk|bulk|list}} {eq {${lookup mysql{select users.on_vacation from users,domains where localpart = '${quote_mysql:$local_part}' and domain = '${quote_mysql:$domain}' and users.on_vacation = '1' and users.domain_id=domains.domain_id}}}{1} }}
  925. 16:01:35 65892 result: false
  926. 16:01:35 65892 expanding: yes
  927. 16:01:35 65892 result: yes
  928. 16:01:35 65892 skipping: result is not used
  929. 16:01:35 65892 expanding: no
  930. 16:01:35 65892 result: no
  931. 16:01:35 65892 expanding: ${if and { {!match {$h_precedence:}{(?i)junk|bulk|list}} {eq {${lookup mysql{select users.on_vacation from users,domains where localpart = '${quote_mysql:$local_part}' and domain = '${quote_mysql:$domain}' and users.on_vacation = '1' and users.domain_id=domains.domain_id}}}{1} }} {yes}{no} }
  932. 16:01:35 65892 result: no
  933. 16:01:35 65892 considering bool_lax: no
  934. 16:01:35 65892 condition: and{{bool_lax{NULL}}{bool_lax{${if and { {!match {$h_precedence:}{(?i)junk|bulk|list}} {eq {${lookup mysql{select users.on_vacation from users,domains where localpart = '${quote_mysql:$local_part}' and domain = '${quote_mysql:$domain}' and users.on_vacation = '1' and users.domain_id=domains.domain_id}}}{1} }} {yes}{no} }}}}
  935. 16:01:35 65892 result: false
  936. 16:01:35 65892 expanding: ${if and{{bool_lax{NULL}}{bool_lax{${if and { {!match {$h_precedence:}{(?i)junk|bulk|list}} {eq {${lookup mysql{select users.on_vacation from users,domains where localpart = '${quote_mysql:$local_part}' and domain = '${quote_mysql:$domain}' and users.on_vacation = '1' and users.domain_id=domains.domain_id}}}{1} }} {yes}{no} }}}}}
  937. 16:01:35 65892 result:
  938. 16:01:35 65892 virtual_vacation router skipped: condition failure
  939. 16:01:35 65892 --------> virtual_forward router <--------
  940. 16:01:35 65892 local_part=postmaster domain=localdomain.lan
  941. 16:01:35 65892 checking "condition"
  942. 16:01:35 65892 expanding: NULL
  943. 16:01:35 65892 result: NULL
  944. 16:01:35 65892 considering bool_lax: NULL
  945. 16:01:35 65892 expanding: $h_precedence:
  946. 16:01:35 65892 result:
  947. 16:01:35 65892 expanding: (?i)junk
  948. 16:01:35 65892 result: (?i)junk
  949. 16:01:35 65892 expanding: $local_part
  950. 16:01:35 65892 result: postmaster
  951. 16:01:35 65892 expanding: $domain
  952. 16:01:35 65892 result: localdomain.lan
  953. 16:01:35 65892 expanding: select users.on_forward from users,domains where localpart = '${quote_mysql:$local_part}' and domain = '${quote_mysql:$domain}' and users.on_forward = '1' and users.domain_id=domains.domain_id
  954. 16:01:35 65892 result: select users.on_forward from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and users.on_forward = '1' and users.domain_id=domains.domain_id
  955. 16:01:35 65892 search_open: mysql "NULL"
  956. 16:01:35 65892 cached open
  957. 16:01:35 65892 search_find: file="NULL"
  958. 16:01:35 65892 key="select users.on_forward from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and users.on_forward = '1' and users.domain_id=domains.domain_id" partial=-1 affix=NULL starflags=0
  959. 16:01:35 65892 LRU list:
  960. 16:01:35 65892 internal_search_find: file="NULL"
  961. 16:01:35 65892 type=mysql key="select users.on_forward from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and users.on_forward = '1' and users.domain_id=domains.domain_id"
  962. 16:01:35 65892 database lookup required for select users.on_forward from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and users.on_forward = '1' and users.domain_id=domains.domain_id
  963. 16:01:35 65892 MySQL query: select users.on_forward from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and users.on_forward = '1' and users.domain_id=domains.domain_id
  964. 16:01:35 65892 MYSQL using cached connection for localhost:(/tmp/mysql.sock)/vexiBack/vexBack
  965. 16:01:35 65892 MYSQL: no data found
  966. 16:01:35 65892 lookup failed
  967. 16:01:35 65892 expanding: ${lookup mysql{select users.on_forward from users,domains where localpart = '${quote_mysql:$local_part}' and domain = '${quote_mysql:$domain}' and users.on_forward = '1' and users.domain_id=domains.domain_id}}
  968. 16:01:35 65892 result:
  969. 16:01:35 65892 expanding: 1
  970. 16:01:35 65892 result: 1
  971. 16:01:35 65892 condition: and { {!match {$h_precedence:}{(?i)junk}} {eq {${lookup mysql{select users.on_forward from users,domains where localpart = '${quote_mysql:$local_part}' and domain = '${quote_mysql:$domain}' and users.on_forward = '1' and users.domain_id=domains.domain_id}}}{1} }}
  972. 16:01:35 65892 result: false
  973. 16:01:35 65892 expanding: yes
  974. 16:01:35 65892 result: yes
  975. 16:01:35 65892 skipping: result is not used
  976. 16:01:35 65892 expanding: no
  977. 16:01:35 65892 result: no
  978. 16:01:35 65892 expanding: ${if and { {!match {$h_precedence:}{(?i)junk}} {eq {${lookup mysql{select users.on_forward from users,domains where localpart = '${quote_mysql:$local_part}' and domain = '${quote_mysql:$domain}' and users.on_forward = '1' and users.domain_id=domains.domain_id}}}{1} }} {yes}{no} }
  979. 16:01:35 65892 result: no
  980. 16:01:35 65892 considering bool_lax: no
  981. 16:01:35 65892 condition: and{{bool_lax{NULL}}{bool_lax{${if and { {!match {$h_precedence:}{(?i)junk}} {eq {${lookup mysql{select users.on_forward from users,domains where localpart = '${quote_mysql:$local_part}' and domain = '${quote_mysql:$domain}' and users.on_forward = '1' and users.domain_id=domains.domain_id}}}{1} }} {yes}{no} }}}}
  982. 16:01:35 65892 result: false
  983. 16:01:35 65892 expanding: ${if and{{bool_lax{NULL}}{bool_lax{${if and { {!match {$h_precedence:}{(?i)junk}} {eq {${lookup mysql{select users.on_forward from users,domains where localpart = '${quote_mysql:$local_part}' and domain = '${quote_mysql:$domain}' and users.on_forward = '1' and users.domain_id=domains.domain_id}}}{1} }} {yes}{no} }}}}}
  984. 16:01:35 65892 result:
  985. 16:01:35 65892 virtual_forward router skipped: condition failure
  986. 16:01:35 65892 --------> virtual_domains router <--------
  987. 16:01:35 65892 local_part=postmaster domain=localdomain.lan
  988. 16:01:35 65892 calling virtual_domains router
  989. 16:01:35 65892 rda_interpret (string): ${lookup mysql{select smtp from users,domains where localpart = '${quote_mysql:$local_part}' and domain = '${quote_mysql:$domain}' and domains.enabled = '1' and users.domain_id = domains.domain_id}}
  990. 16:01:35 65892 expanding: $local_part
  991. 16:01:35 65892 result: postmaster
  992. 16:01:35 65892 expanding: $domain
  993. 16:01:35 65892 result: localdomain.lan
  994. 16:01:35 65892 expanding: select smtp from users,domains where localpart = '${quote_mysql:$local_part}' and domain = '${quote_mysql:$domain}' and domains.enabled = '1' and users.domain_id = domains.domain_id
  995. 16:01:35 65892 result: select smtp from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and domains.enabled = '1' and users.domain_id = domains.domain_id
  996. 16:01:35 65892 search_open: mysql "NULL"
  997. 16:01:35 65892 cached open
  998. 16:01:35 65892 search_find: file="NULL"
  999. 16:01:35 65892 key="select smtp from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and domains.enabled = '1' and users.domain_id = domains.domain_id" partial=-1 affix=NULL starflags=0
  1000. 16:01:35 65892 LRU list:
  1001. 16:01:35 65892 internal_search_find: file="NULL"
  1002. 16:01:35 65892 type=mysql key="select smtp from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and domains.enabled = '1' and users.domain_id = domains.domain_id"
  1003. 16:01:35 65892 database lookup required for select smtp from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and domains.enabled = '1' and users.domain_id = domains.domain_id
  1004. 16:01:35 65892 MySQL query: select smtp from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and domains.enabled = '1' and users.domain_id = domains.domain_id
  1005. 16:01:35 65892 MYSQL using cached connection for localhost:(/tmp/mysql.sock)/vexiBack/vexBack
  1006. 16:01:35 65892 lookup yielded: /RWs/home/vMails/localdomain.lan/postmaster/Maildir
  1007. 16:01:35 65892 expanding: ${lookup mysql{select smtp from users,domains where localpart = '${quote_mysql:$local_part}' and domain = '${quote_mysql:$domain}' and domains.enabled = '1' and users.domain_id = domains.domain_id}}
  1008. 16:01:35 65892 result: /RWs/home/vMails/localdomain.lan/postmaster/Maildir
  1009. 16:01:35 65892 expanded: /RWs/home/vMails/localdomain.lan/postmaster/Maildir
  1010. 16:01:35 65892 file is not a filter file
  1011. 16:01:35 65892 parse_forward_list: /RWs/home/vMails/localdomain.lan/postmaster/Maildir
  1012. 16:01:35 65892 extract item: /RWs/home/vMails/localdomain.lan/postmaster/Maildir
  1013. 16:01:35 65892 expanding: $spam_score_int
  1014. 16:01:35 65892 result:
  1015. 16:01:35 65892 empty string cast to zero for numerical comparison
  1016. 16:01:35 65892 expanding: $local_part
  1017. 16:01:35 65892 result: postmaster
  1018. 16:01:35 65892 expanding: $domain
  1019. 16:01:35 65892 result: localdomain.lan
  1020. 16:01:35 65892 expanding: select users.sa_tag * 10 from users,domains where localpart = '${quote_mysql:$local_part}' and domain = '${quote_mysql:$domain}' and users.on_spamassassin = '1' and users.domain_id=domains.domain_id
  1021. 16:01:35 65892 result: select users.sa_tag * 10 from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and users.on_spamassassin = '1' and users.domain_id=domains.domain_id
  1022. 16:01:35 65892 search_open: mysql "NULL"
  1023. 16:01:35 65892 cached open
  1024. 16:01:35 65892 search_find: file="NULL"
  1025. 16:01:35 65892 key="select users.sa_tag * 10 from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and users.on_spamassassin = '1' and users.domain_id=domains.domain_id " partial=-1 affix=NULL starflags=0
  1026. 16:01:35 65892 LRU list:
  1027. 16:01:35 65892 internal_search_find: file="NULL"
  1028. 16:01:35 65892 type=mysql key="select users.sa_tag * 10 from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and users.on_spamassassin = '1' and users.domain_id=domains.domain_id "
  1029. 16:01:35 65892 database lookup required for select users.sa_tag * 10 from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and users.on_spamassassin = '1' and users.domain_id=domains.domain_id
  1030. 16:01:35 65892 MySQL query: select users.sa_tag * 10 from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and users.on_spamassassin = '1' and users.domain_id=domains.domain_id
  1031. 16:01:35 65892 MYSQL using cached connection for localhost:(/tmp/mysql.sock)/vexiBack/vexBack
  1032. 16:01:35 65892 MYSQL: no data found
  1033. 16:01:35 65892 lookup failed
  1034. 16:01:35 65892 expanding: $value
  1035. 16:01:35 65892 result:
  1036. 16:01:35 65892 skipping: result is not used
  1037. 16:01:35 65892 failed to expand: ${lookup mysql{select users.sa_tag * 10 from users,domains where localpart = '${quote_mysql:$local_part}' and domain = '${quote_mysql:$domain}' and users.on_spamassassin = '1' and users.domain_id=domains.domain_id }{$value}fail}} {X-Spam-Flag:: YES\n}{} }
  1038. 16:01:35 65892 error message: "lookup" failed and "fail" requested
  1039. 16:01:35 65892 failure was forced
  1040. 16:01:35 65892 failed to expand: ${if >{$spam_score_int}{${lookup mysql{select users.sa_tag * 10 from users,domains where localpart = '${quote_mysql:$local_part}' and domain = '${quote_mysql:$domain}' and users.on_spamassassin = '1' and users.domain_id=domains.domain_id }{$value}fail}} {X-Spam-Flag:: YES\n}{} }
  1041. 16:01:35 65892 error message: "lookup" failed and "fail" requested
  1042. 16:01:35 65892 failure was forced
  1043. 16:01:35 65892 expanding: $spam_score_int
  1044. 16:01:35 65892 result:
  1045. 16:01:35 65892 empty string cast to zero for numerical comparison
  1046. 16:01:35 65892 expanding: 20
  1047. 16:01:35 65892 result: 20
  1048. 16:01:35 65892 expanding: 0
  1049. 16:01:35 65892 result: 0
  1050. 16:01:35 65892 skipping: result is not used
  1051. 16:01:35 65892 expanding: 0
  1052. 16:01:35 65892 result: 0
  1053. 16:01:35 65892 skipping: result is not used
  1054. 16:01:35 65892 expanding: $spam_score_int
  1055. 16:01:35 65892 result:
  1056. 16:01:35 65892 skipping: result is not used
  1057. 16:01:35 65892 expanding: 1
  1058. 16:01:35 65892 result: 1
  1059. 16:01:35 65892 skipping: result is not used
  1060. 16:01:35 65892 condition: or{{<{$spam_score_int}{20}} {eq{0}{0}} {<{$spam_score_int}{1}} }
  1061. 16:01:35 65892 result: true
  1062. 16:01:35 65892 expanding: X-Spam-Score:X-Spam-Report
  1063. 16:01:35 65892 result: X-Spam-Score:X-Spam-Report
  1064. 16:01:35 65892 expanding: ${if or{{<{$spam_score_int}{20}} {eq{0}{0}} {<{$spam_score_int}{1}} } {X-Spam-Score:X-Spam-Report} }
  1065. 16:01:35 65892 result: X-Spam-Score:X-Spam-Report
  1066. 16:01:35 65892 set transport virtual_delivery
  1067. 16:01:35 65892 virtual_domains router generated /RWs/home/vMails/localdomain.lan/postmaster/Maildir
  1068. 16:01:35 65892 pipe, file, or autoreply
  1069. 16:01:35 65892 errors_to=NULL transport=virtual_delivery
  1070. 16:01:35 65892 uid=unset gid=unset home=NULL
  1071. 16:01:35 65892 routed by virtual_domains router
  1072. 16:01:35 65892 envelope to: postmaster@localdomain.lan
  1073. 16:01:35 65892 transport: <none>
  1074. 16:01:35 65892 locking /var/spool/exim/db/retry.lockfile
  1075. 16:01:35 65892 locked /var/spool/exim/db/retry.lockfile
  1076. 16:01:35 65892 EXIM_DBOPEN(/var/spool/exim/db/retry)
  1077. 16:01:35 65892 returned from EXIM_DBOPEN
  1078. 16:01:35 65892 opened hints database /var/spool/exim/db/retry: flags=O_RDONLY
  1079. 16:01:35 65892 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  1080. 16:01:35 65892 Considering: /RWs/home/vMails/localdomain.lan/postmaster/Maildir
  1081. 16:01:35 65892 unique = /RWs/home/vMails/localdomain.lan/postmaster/Maildir:postmaster@localdomain.lan
  1082. 16:01:35 65892 queued for virtual_delivery transport
  1083. 16:01:35 65892 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  1084. 16:01:35 65892 After routing:
  1085. 16:01:35 65892 Local deliveries:
  1086. 16:01:35 65892 /RWs/home/vMails/localdomain.lan/postmaster/Maildir
  1087. 16:01:35 65892 Remote deliveries:
  1088. 16:01:35 65892 Failed addresses:
  1089. 16:01:35 65892 Deferred addresses:
  1090. 16:01:35 65892 search_tidyup called
  1091. 16:01:35 65892 close MYSQL connection: localhost:(/tmp/mysql.sock)/vexiBack/vexBack
  1092. 16:01:35 65892 >>>>>>>>>>>>>>>> Local deliveries >>>>>>>>>>>>>>>>
  1093. 16:01:35 65892 --------> /RWs/home/vMails/localdomain.lan/postmaster/Maildir <--------
  1094. 16:01:35 65892 locking /var/spool/exim/db/retry.lockfile
  1095. 16:01:35 65892 locked /var/spool/exim/db/retry.lockfile
  1096. 16:01:35 65892 EXIM_DBOPEN(/var/spool/exim/db/retry)
  1097. 16:01:35 65892 returned from EXIM_DBOPEN
  1098. 16:01:35 65892 opened hints database /var/spool/exim/db/retry: flags=O_RDONLY
  1099. 16:01:35 65892 dbfn_read: key=T:/RWs/home/vMails/localdomain.lan/postmaster/Maildir:postmaster@localdomain.lan
  1100. 16:01:35 65892 no retry record exists
  1101. 16:01:35 65892 expanding: $local_part
  1102. 16:01:35 65892 result: postmaster
  1103. 16:01:35 65892 expanding: $domain
  1104. 16:01:35 65892 result: localdomain.lan
  1105. 16:01:35 65892 expanding: select users.gid from users,domains where localpart = '${quote_mysql:$local_part}' and domain = '${quote_mysql:$domain}' and users.domain_id = domains.domain_id
  1106. 16:01:35 65892 result: select users.gid from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and users.domain_id = domains.domain_id
  1107. 16:01:35 65892 search_open: mysql "NULL"
  1108. 16:01:35 65892 search_find: file="NULL"
  1109. 16:01:35 65892 key="select users.gid from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and users.domain_id = domains.domain_id" partial=-1 affix=NULL starflags=0
  1110. 16:01:35 65892 LRU list:
  1111. 16:01:35 65892 internal_search_find: file="NULL"
  1112. 16:01:35 65892 type=mysql key="select users.gid from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and users.domain_id = domains.domain_id"
  1113. 16:01:35 65892 database lookup required for select users.gid from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and users.domain_id = domains.domain_id
  1114. 16:01:35 65892 MySQL query: select users.gid from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and users.domain_id = domains.domain_id
  1115. 16:01:35 65892 MYSQL new connection: host=localhost port=0 socket=/tmp/mysql.sock database=vexiBack user=vexBack
  1116. 16:01:35 65892 lookup yielded: 6
  1117. 16:01:35 65892 expanding: ${lookup mysql{select users.gid from users,domains where localpart = '${quote_mysql:$local_part}' and domain = '${quote_mysql:$domain}' and users.domain_id = domains.domain_id}}
  1118. 16:01:35 65892 result: 6
  1119. 16:01:35 65892 expanding: $local_part
  1120. 16:01:35 65892 result: postmaster
  1121. 16:01:35 65892 expanding: $domain
  1122. 16:01:35 65892 result: localdomain.lan
  1123. 16:01:35 65892 expanding: select users.uid from users,domains where localpart = '${quote_mysql:$local_part}' and domain = '${quote_mysql:$domain}' and users.domain_id = domains.domain_id
  1124. 16:01:35 65892 result: select users.uid from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and users.domain_id = domains.domain_id
  1125. 16:01:35 65892 search_open: mysql "NULL"
  1126. 16:01:35 65892 cached open
  1127. 16:01:35 65892 search_find: file="NULL"
  1128. 16:01:35 65892 key="select users.uid from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and users.domain_id = domains.domain_id" partial=-1 affix=NULL starflags=0
  1129. 16:01:35 65892 LRU list:
  1130. 16:01:35 65892 internal_search_find: file="NULL"
  1131. 16:01:35 65892 type=mysql key="select users.uid from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and users.domain_id = domains.domain_id"
  1132. 16:01:35 65892 database lookup required for select users.uid from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and users.domain_id = domains.domain_id
  1133. 16:01:35 65892 MySQL query: select users.uid from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and users.domain_id = domains.domain_id
  1134. 16:01:35 65892 MYSQL using cached connection for localhost:(/tmp/mysql.sock)/vexiBack/vexBack
  1135. 16:01:35 65892 lookup yielded: 26
  1136. 16:01:35 65892 expanding: ${lookup mysql{select users.uid from users,domains where localpart = '${quote_mysql:$local_part}' and domain = '${quote_mysql:$domain}' and users.domain_id = domains.domain_id}}
  1137. 16:01:35 65892 result: 26
  1138. 16:01:35 65892 seeking password data for user "26": cache not available
  1139. 16:01:35 65892 search_tidyup called
  1140. 16:01:35 65892 close MYSQL connection: localhost:(/tmp/mysql.sock)/vexiBack/vexBack
  1141. 16:01:35 65894 expanding: $local_part
  1142. 16:01:35 65894 result: postmaster
  1143. 16:01:35 65894 expanding: $domain
  1144. 16:01:35 65894 result: localdomain.lan
  1145. 16:01:35 65894 expanding: select users.quota from users,domains where localpart = '${quote_mysql:$local_part}' and domain = '${quote_mysql:$domain}' and users.domain_id = domains.domain_id
  1146. 16:01:35 65894 result: select users.quota from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and users.domain_id = domains.domain_id
  1147. 16:01:35 65894 search_open: mysql "NULL"
  1148. 16:01:35 65894 search_find: file="NULL"
  1149. 16:01:35 65894 key="select users.quota from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and users.domain_id = domains.domain_id" partial=-1 affix=NULL starflags=0
  1150. 16:01:35 65894 LRU list:
  1151. 16:01:35 65894 internal_search_find: file="NULL"
  1152. 16:01:35 65894 type=mysql key="select users.quota from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and users.domain_id = domains.domain_id"
  1153. 16:01:35 65894 database lookup required for select users.quota from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and users.domain_id = domains.domain_id
  1154. 16:01:35 65894 MySQL query: select users.quota from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and users.domain_id = domains.domain_id
  1155. 16:01:35 65894 MYSQL new connection: host=localhost port=0 socket=/tmp/mysql.sock database=vexiBack user=vexBack
  1156. 16:01:35 65894 lookup yielded: 0
  1157. 16:01:35 65894 expanding: ${value}M
  1158. 16:01:35 65894 result: 0M
  1159. 16:01:35 65894 expanding: ${lookup mysql{select users.quota from users,domains where localpart = '${quote_mysql:$local_part}' and domain = '${quote_mysql:$domain}' and users.domain_id = domains.domain_id}{${value}M}}
  1160. 16:01:35 65894 result: 0M
  1161. 16:01:35 65894 changed uid/gid: local delivery to /RWs/home/vMails/localdomain.lan/postmaster/Maildir </RWs/home/vMails/localdomain.lan/postmaster/Maildir> transport=virtual_delivery
  1162. 16:01:35 65894 uid=26 gid=6 pid=65894
  1163. 16:01:35 65894 auxiliary group list: 6
  1164. 16:01:35 65894 home=NULL current=/
  1165. 16:01:35 65894 set_process_info: 65894 delivering 1YGrWq-000H8k-QY to /RWs/home/vMails/localdomain.lan/postmaster/Maildir using virtual_delivery
  1166. 16:01:35 65894 appendfile transport entered
  1167. 16:01:35 65894 expanding: $local_part
  1168. 16:01:35 65894 result: postmaster
  1169. 16:01:35 65894 expanding: $domain
  1170. 16:01:35 65894 result: localdomain.lan
  1171. 16:01:35 65894 expanding: select smtp from users,domains where localpart = '${quote_mysql:$local_part}' and domain = '${quote_mysql:$domain}' and users.domain_id = domains.domain_id
  1172. 16:01:35 65894 result: select smtp from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and users.domain_id = domains.domain_id
  1173. 16:01:35 65894 search_open: mysql "NULL"
  1174. 16:01:35 65894 cached open
  1175. 16:01:35 65894 search_find: file="NULL"
  1176. 16:01:35 65894 key="select smtp from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and users.domain_id = domains.domain_id" partial=-1 affix=NULL starflags=0
  1177. 16:01:35 65894 LRU list:
  1178. 16:01:35 65894 internal_search_find: file="NULL"
  1179. 16:01:35 65894 type=mysql key="select smtp from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and users.domain_id = domains.domain_id"
  1180. 16:01:35 65894 database lookup required for select smtp from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and users.domain_id = domains.domain_id
  1181. 16:01:35 65894 MySQL query: select smtp from users,domains where localpart = 'postmaster' and domain = 'localdomain.lan' and users.domain_id = domains.domain_id
  1182. 16:01:35 65894 MYSQL using cached connection for localhost:(/tmp/mysql.sock)/vexiBack/vexBack
  1183. 16:01:35 65894 lookup yielded: /RWs/home/vMails/localdomain.lan/postmaster/Maildir
  1184. 16:01:35 65894 expanding: ${lookup mysql{select smtp from users,domains where localpart = '${quote_mysql:$local_part}' and domain = '${quote_mysql:$domain}' and users.domain_id = domains.domain_id}}
  1185. 16:01:35 65894 result: /RWs/home/vMails/localdomain.lan/postmaster/Maildir
  1186. 16:01:35 65894 appendfile: mode=600 notify_comsat=0 quota=0 warning=0%
  1187. 16:01:35 65894 directory=/RWs/home/vMails/localdomain.lan/postmaster/Maildir format=maildir
  1188. 16:01:35 65894 message_prefix=null
  1189. 16:01:35 65894 message_suffix=null
  1190. 16:01:35 65894 maildir_use_size_file=no
  1191. 16:01:35 65894 ensuring maildir directories exist in /RWs/home/vMails/localdomain.lan/postmaster/Maildir
  1192. 16:01:35 65894 created directory /RWs/home/vMails/localdomain.lan/postmaster/Maildir
  1193. 16:01:35 65894 created directory /RWs/home/vMails/localdomain.lan/postmaster/Maildir/tmp
  1194. 16:01:35 65894 created directory /RWs/home/vMails/localdomain.lan/postmaster/Maildir/new
  1195. 16:01:35 65894 created directory /RWs/home/vMails/localdomain.lan/postmaster/Maildir/cur
  1196. 16:01:35 65894 delivering in maildir format in /RWs/home/vMails/localdomain.lan/postmaster/Maildir
  1197. 16:01:35 65894 writing to file tmp/1422547295.H945772P65894.mailsrv.localdomain.lan
  1198. 16:01:35 65894 writing data block fd=8 size=779 timeout=0
  1199. 16:01:35 65894 renaming temporary file
  1200. 16:01:35 65894 renamed tmp/1422547295.H945772P65894.mailsrv.localdomain.lan as new/1422547295.H945772P65894.mailsrv.localdomain.lan
  1201. 16:01:35 65894 appendfile yields 0 with errno=0 more_errno=0
  1202. 16:01:35 65894 search_tidyup called
  1203. 16:01:35 65894 close MYSQL connection: localhost:(/tmp/mysql.sock)/vexiBack/vexBack
  1204. 16:01:35 65892 journalling /RWs/home/vMails/localdomain.lan/postmaster/Maildir:postmaster@localdomain.lan
  1205. 16:01:35 65892 virtual_delivery transport returned OK for /RWs/home/vMails/localdomain.lan/postmaster/Maildir
  1206. 16:01:35 65892 post-process /RWs/home/vMails/localdomain.lan/postmaster/Maildir (0)
  1207. 16:01:35 65892 /RWs/home/vMails/localdomain.lan/postmaster/Maildir delivered
  1208. 16:01:35 65892 postmaster@localdomain.lan: children all complete
  1209. 16:01:35 65892 LOG: MAIN
  1210. 16:01:35 65892 => /RWs/home/vMails/localdomain.lan/postmaster/Maildir <postmaster@localdomain.lan> R=virtual_domains T=virtual_delivery
  1211. 16:01:35 65892 >>>>>>>>>>>>>>>> deliveries are done >>>>>>>>>>>>>>>>
  1212. 16:01:35 65892 changed uid/gid: post-delivery tidying
  1213. 16:01:35 65892 uid=26 gid=6 pid=65892
  1214. 16:01:35 65892 auxiliary group list: 6
  1215. 16:01:35 65892 set_process_info: 65892 tidying up after delivering 1YGrWq-000H8k-QY
  1216. 16:01:35 65892 Processing retry items
  1217. 16:01:35 65892 Succeeded addresses:
  1218. 16:01:35 65892 /RWs/home/vMails/localdomain.lan/postmaster/Maildir: no retry items
  1219. 16:01:35 65892 postmaster@localdomain.lan: no retry items
  1220. 16:01:35 65892 postmaster@localdomain.lan: no retry items
  1221. 16:01:35 65892 Failed addresses:
  1222. 16:01:35 65892 Deferred addresses:
  1223. 16:01:35 65892 end of retry processing
  1224. 16:01:35 65892 LOG: MAIN
  1225. 16:01:35 65892 Completed
  1226. 16:01:35 65892 end delivery of 1YGrWq-000H8k-QY
  1227. 16:01:35 65892 search_tidyup called
  1228. 16:01:35 65892 search_tidyup called
  1229. 16:01:35 65892 >>>>>>>>>>>>>>>> Exim pid=65892 terminating with rc=0 >>>>>>>>>>>>>>>>
  1230. 16:01:48 65890 SMTP<< quit
  1231. 16:01:48 65890 SMTP>> 221 mailsrv.localdomain.lan closing connection
  1232. 16:01:48 65890 LOG: smtp_connection MAIN
  1233. 16:01:48 65890 SMTP connection from (mailer) [172.16.0.245] closed by QUIT
  1234. 16:01:48 65890 search_tidyup called
  1235. 16:01:48 65885 child 65890 ended: status=0x0
  1236. 16:01:48 65885 normal exit, 0
  1237. 16:01:48 65885 0 SMTP accept processes now running
  1238. 16:01:48 65885 Listening...
  1239. ^C
  1240.  
  1241. root@bMail:/root/eximDiags # ^Dexit
  1242.  
  1243. Script done on Thu Jan 29 16:01:55 2015
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement