/* Not receiving messages, don't need to parse the ACL data */
+/*XXX need to make this more selective */
#ifndef EXPERIMENTAL_DBL
if (skip)
{
acl_smtp_rcpt = accept
acl_smtp_data = accept
-dbl_delivery_query = ${acl {a_logger}}
+dbl_delivery_query = ${acl {logger}{delivery}}
# ----- ACL -----
begin acl
-a_logger:
- require logwrite = \
- A \
- 1 <$dbl_delivery_ip> \
- 2 <$dbl_delivery_port> \
- 3 <$dbl_delivery_fqdn> \
- 4 <$dbl_delivery_local_part> \
- 5 <$dbl_delivery_domain> \
- 6 <$dbl_delivery_confirmation> \
- 7 <$dbl_defer_errno> \
- 8 <$dbl_defer_errstr> \
- 9 <$router_name> \
- 10 <$transport_name>
+logger:
+ accept logwrite = \
+ $acl_arg1 \
+ delivery_ip <$dbl_delivery_ip> \
+ deliver_port <$dbl_delivery_port> \
+ delivery_fqdn <$dbl_delivery_fqdn> \
+ local_part <$dbl_delivery_local_part> \
+ domain <$dbl_delivery_domain> \
+ confirmation <$dbl_delivery_confirmation> \
+ errno <$dbl_defer_errno> \
+ errstr <$dbl_defer_errstr> \
+ router <$router_name> \
+ transport <$transport_name>
# ----- Routers -----
others:
driver = manualroute
- route_list = domain1 127.0.0.1 byname
+ route_list = * 127.0.0.1 byname
self = send
transport = smtp
no_more
smtp:
driver = smtp
port = PORT_S
+ command_timeout = 1s
+ final_timeout = 1s
+ dbl_host_defer_query = ${acl {logger}{deferral}}
# End
1999-03-02 09:44:33 10HmaX-0005vi-00 <= CALLER@the.local.host.name U=CALLER P=local S=sss
1999-03-02 09:44:33 Start queue run: pid=pppp -qqf
1999-03-02 09:44:33 10HmaX-0005vi-00 => userx@domain1 R=others T=smtp H=127.0.0.1 [127.0.0.1] C="250 OK"
-1999-03-02 09:44:33 10HmaX-0005vi-00 A 1 127.0.0.1 2 1224 3 127.0.0.1 4 userx 5 domain1 6 250 OK 7 0 8 9 10
+1999-03-02 09:44:33 10HmaX-0005vi-00 delivery delivery_ip <127.0.0.1> deliver_port <1224> delivery_fqdn <127.0.0.1> local_part <userx> domain <domain1> confirmation <250 OK> errno <0> errstr <> router <> transport <>
1999-03-02 09:44:33 10HmaX-0005vi-00 Completed
1999-03-02 09:44:33 End queue run: pid=pppp -qqf
+1999-03-02 09:44:33 10HmaY-0005vi-00 <= CALLER@the.local.host.name U=CALLER P=local S=sss
+1999-03-02 09:44:33 10HmaY-0005vi-00 SMTP timeout while connected to 127.0.0.1 [127.0.0.1] after EHLO the.local.host.name: Connection timed out
+1999-03-02 09:44:33 10HmaY-0005vi-00 deferral delivery_ip <127.0.0.1> deliver_port <1224> delivery_fqdn <127.0.0.1> local_part <userx> domain <domain1.com> confirmation <> errno <110> errstr <SMTP timeout while connected to 127.0.0.1 [127.0.0.1] after EHLO the.local.host.name: Connection timed out> router <> transport <smtp>
+1999-03-02 09:44:33 10HmaY-0005vi-00 == userx@domain1.com R=others T=smtp defer (dd): Connection timed out: SMTP timeout while connected to 127.0.0.1 [127.0.0.1] after EHLO the.local.host.name
+1999-03-02 09:44:33 10HmaY-0005vi-00 ** userx@domain1.com: retry timeout exceeded
+1999-03-02 09:44:33 10HmaZ-0005vi-00 <= <> R=10HmaY-0005vi-00 U=EXIMUSER P=local S=sss
+1999-03-02 09:44:33 10HmaZ-0005vi-00 SMTP timeout while connected to 127.0.0.1 [127.0.0.1] after initial connection: Connection timed out
+1999-03-02 09:44:33 10HmaZ-0005vi-00 deferral delivery_ip <127.0.0.1> deliver_port <1224> delivery_fqdn <127.0.0.1> local_part <CALLER> domain <the.local.host.name> confirmation <> errno <110> errstr <SMTP timeout while connected to 127.0.0.1 [127.0.0.1] after initial connection: Connection timed out> router <> transport <smtp>
+1999-03-02 09:44:33 10HmaZ-0005vi-00 == CALLER@the.local.host.name R=others T=smtp defer (dd): Connection timed out: SMTP timeout while connected to 127.0.0.1 [127.0.0.1] after initial connection
+1999-03-02 09:44:33 10HmaZ-0005vi-00 ** CALLER@the.local.host.name: retry timeout exceeded
+1999-03-02 09:44:33 10HmaZ-0005vi-00 CALLER@the.local.host.name: error ignored
+1999-03-02 09:44:33 10HmaZ-0005vi-00 Completed
+1999-03-02 09:44:33 10HmaY-0005vi-00 Completed
need_ipv4
#
exim -odq userx@domain1
-Test message 1
+A deliverable message
****
server PORT_S
220 ESMTP
****
exim -d+deliver+expand+acl -qqf
****
+#
+#
+#
+server PORT_S
+220 ESMTP
+EHLO
+*sleep 4
+****
+exim -d-all+deliver+acl+expand -odi userx@domain1.com
+A message which will hit a timeout
+.
+****
+
From: CALLER_NAME <CALLER@the.local.host.name>
Date: Tue, 2 Mar 1999 09:44:33 +0000
-Test message 1
+A deliverable message
.
250 OK
QUIT
220 OK
End of script
+Listening on port 1224 ...
+Connection request from [127.0.0.1]
+220 ESMTP
+EHLO the.local.host.name
+*sleep 4
+End of script