From: Jeremy Harris Date: Sun, 11 Mar 2018 21:38:57 +0000 (+0000) Subject: ARC: options on the verify X-Git-Tag: exim-4_91_RC1~12 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=f48946eb9bad9060dd7430bcedfeaf1c4a48dc09;p=exim.git ARC: options on the verify --- diff --git a/src/src/acl.c b/src/src/acl.c index 4be5e071a..97ba0942e 100644 --- a/src/src/acl.c +++ b/src/src/acl.c @@ -1543,7 +1543,7 @@ static verify_type_t verify_type_list[] = { { US"recipient", VERIFY_RCPT, ACL_BIT_RCPT, FALSE, 0 }, { US"header_names_ascii", VERIFY_HDR_NAMES_ASCII, ACL_BIT_DATA | ACL_BIT_NOTSMTP, TRUE, 0 }, #ifdef EXPERIMENTAL_ARC - { US"arc", VERIFY_ARC, ACL_BIT_DATA, TRUE , 0 }, + { US"arc", VERIFY_ARC, ACL_BIT_DATA, FALSE , 0 }, #endif }; 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 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: +??? 250 +RCPT TO: +??? 250 +DATA +??? 354 +Subject: Test + +This is a test body. +. +??? 250 +QUIT +??? 221 +**** # # # # -killdaemon # +# +killdaemon no_stdout_check no_msglog_check