diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2018-03-11 21:38:57 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2018-03-11 21:38:57 +0000 |
commit | f48946eb9bad9060dd7430bcedfeaf1c4a48dc09 (patch) | |
tree | f6ee0e304cf8a3767300b948104cffde686a62e5 /test | |
parent | fc8cd529d7801658d38d9a4fc82a8b18fe3bbcc6 (diff) |
ARC: options on the verify
Diffstat (limited to 'test')
-rw-r--r-- | test/confs/4560 | 6 | ||||
-rw-r--r-- | test/log/4560 | 3 | ||||
-rw-r--r-- | test/scripts/4560-ARC/4560 | 26 |
3 files changed, 33 insertions, 2 deletions
diff --git a/test/confs/4560 b/test/confs/4560 index c80148b3e..881b2d726 100644 --- a/test/confs/4560 +++ b/test/confs/4560 @@ -1,6 +1,8 @@ # Exim test configuration 4560 SERVER= +VALUE= +INSERT= .include DIR/aux-var/std_conf_prefix @@ -18,7 +20,9 @@ queue_only begin acl check_data: - warn !verify = arc + warn !verify = arc VALUE + INSERT + .ifdef OPTION accept .else diff --git a/test/log/4560 b/test/log/4560 index 1098ab086..433927317 100644 --- a/test/log/4560 +++ b/test/log/4560 @@ -100,3 +100,6 @@ 1999-03-02 09:44:33 10HmbP-0005vi-00 => a <a@test.ex> R=d1 T=tfile 1999-03-02 09:44:33 10HmbP-0005vi-00 Completed 1999-03-02 09:44:33 End queue run: pid=pppp +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 10HmbQ-0005vi-00 H=(xxx) [127.0.0.1] Warning: ARC-FAIL +1999-03-02 09:44:33 10HmbQ-0005vi-00 <= CALLER@bloggs.com H=(xxx) [127.0.0.1] P=smtp S=sss for a@test.ex diff --git a/test/scripts/4560-ARC/4560 b/test/scripts/4560-ARC/4560 index 2d23674c7..3e0f8e922 100644 --- a/test/scripts/4560-ARC/4560 +++ b/test/scripts/4560-ARC/4560 @@ -347,13 +347,37 @@ exim -DSERVER=server -DNOTDAEMON -q # # # +killdaemon # +exim -DSERVER=server -DVALUE=/pass -DINSERT='log_message=ARC-FAIL' -bd -oX PORT_D +**** # +# We just send this in for reception, bare, to check the "arc" verify can take options +# +client 127.0.0.1 PORT_D +??? 220 +HELO xxx +??? 250 +MAIL FROM:<CALLER@bloggs.com> +??? 250 +RCPT TO:<a@test.ex> +??? 250 +DATA +??? 354 +Subject: Test + +This is a test body. +. +??? 250 +QUIT +??? 221 +**** # # # # -killdaemon # +# +killdaemon no_stdout_check no_msglog_check |