summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPhilip Hazel <ph10@hermes.cam.ac.uk>2007-01-23 14:34:02 +0000
committerPhilip Hazel <ph10@hermes.cam.ac.uk>2007-01-23 14:34:02 +0000
commitb01dd148c3a5f3a70817b08e41ad21aeee1d8f28 (patch)
treee9dfc1bd554489b8c4444d7d806f12a28985f79d /test
parent0e8a94711a90ed63933a10ac7598e8743432837c (diff)
Add $smtp_count_at_connection_start.
Diffstat (limited to 'test')
-rw-r--r--test/confs/00223
-rw-r--r--test/log/00222
-rw-r--r--test/stderr/00222
3 files changed, 6 insertions, 1 deletions
diff --git a/test/confs/0022 b/test/confs/0022
index 2ec64d848..5fa25b0aa 100644
--- a/test/confs/0022
+++ b/test/confs/0022
@@ -66,7 +66,8 @@ delay_warn:
accept
freeze:
- accept control = freeze
+ accept logwrite = Connections=$smtp_count_at_connection_start
+ control = freeze
queue_only:
accept control = queue_only
diff --git a/test/log/0022 b/test/log/0022
index ad8e75454..5db88e150 100644
--- a/test/log/0022
+++ b/test/log/0022
@@ -1,3 +1,4 @@
+1999-03-02 09:44:33 Connections=0
1999-03-02 09:44:33 10HmaX-0005vi-00 <= CALLER@test.ex U=CALLER P=local-smtp S=sss
1999-03-02 09:44:33 10HmaX-0005vi-00 frozen by ACL
1999-03-02 09:44:33 10HmaY-0005vi-00 <= CALLER@test.ex U=CALLER P=local-smtp S=sss
@@ -11,6 +12,7 @@
******** SERVER ********
1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port 1225
+1999-03-02 09:44:33 Connections=1
1999-03-02 09:44:33 10HmbB-0005vi-00 <= x@y H=[127.0.0.1] P=smtp S=sss
1999-03-02 09:44:33 10HmbB-0005vi-00 frozen by ACL
1999-03-02 09:44:33 10HmbC-0005vi-00 <= x@y H=[127.0.0.1] P=smtp S=sss
diff --git a/test/stderr/0022 b/test/stderr/0022
index 4835ebd39..08de42bea 100644
--- a/test/stderr/0022
+++ b/test/stderr/0022
@@ -291,6 +291,8 @@ LOG: SMTP connection from [V4NET.9.8.7] closed by QUIT
LOG: smtp_connection MAIN
SMTP connection from CALLER
LOG: MAIN
+ Connections=0
+LOG: MAIN
<= CALLER@test.ex U=CALLER P=local-smtp S=sss
LOG: MAIN
frozen by ACL