From a75ebe0dcc5faeb915cacb0d9db66d2475789116 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sat, 31 Oct 2020 23:58:11 +0000 Subject: Pass authenticator pubname through spool. Bug 2648 --- test/confs/3403 | 1 + test/mail/3403.userx | 2 ++ test/stdout/3415 | 5 +++++ 3 files changed, 8 insertions(+) (limited to 'test') diff --git a/test/confs/3403 b/test/confs/3403 index 161cdeaee..5d59e6dee 100644 --- a/test/confs/3403 +++ b/test/confs/3403 @@ -40,6 +40,7 @@ begin routers d1: driver = accept headers_add = aid: $authenticated_id + headers_add = rtr_authres: ${authresults {$primary_hostname}} retry_use_local_part transport = t1 diff --git a/test/mail/3403.userx b/test/mail/3403.userx index 08cdf9a31..9ec9b79b7 100644 --- a/test/mail/3403.userx +++ b/test/mail/3403.userx @@ -10,6 +10,8 @@ Message-Id: From: CALLER_NAME Date: Tue, 2 Mar 1999 09:44:33 +0000 aid: userx +rtr_authres: Authentication-Results: myhost.test.ex; + auth=pass (PLAIN) smtp.auth=userx Test data diff --git a/test/stdout/3415 b/test/stdout/3415 index 0889dd795..d806fa66c 100644 --- a/test/stdout/3415 +++ b/test/stdout/3415 @@ -159,6 +159,7 @@ ddddddddd 0 --helo_name rhu.barb -host_address 127.0.0.1.9999 -host_auth au1 +-host_auth_pubname PLAIN -interface_address 127.0.0.1.1225 -received_protocol esmtpa -body_linecount 0 @@ -186,6 +187,7 @@ ddddddddd 0 --helo_name rhu.barb -host_address 127.0.0.1.9999 -host_auth au1 +-host_auth_pubname PLAIN -interface_address 127.0.0.1.1225 -received_protocol esmtpa -body_linecount 0 @@ -211,6 +213,7 @@ ddddddddd 0 --helo_name rhu.barb -host_address 127.0.0.1.9999 -host_auth au1 +-host_auth_pubname PLAIN -interface_address 127.0.0.1.1225 -received_protocol esmtpa -body_linecount 0 @@ -236,6 +239,7 @@ ddddddddd 0 --helo_name rhu.barb -host_address 127.0.0.1.9999 -host_auth au1 +-host_auth_pubname PLAIN -interface_address 127.0.0.1.1225 -received_protocol esmtpa -body_linecount 0 @@ -261,6 +265,7 @@ ddddddddd 0 --helo_name rhu.barb -host_address 127.0.0.1.9999 -host_auth au1 +-host_auth_pubname PLAIN -interface_address 127.0.0.1.1225 -received_protocol esmtpa -body_linecount 0 -- cgit v1.2.3