summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2020-10-31 23:58:11 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2020-11-02 14:23:32 +0000
commita75ebe0dcc5faeb915cacb0d9db66d2475789116 (patch)
tree8b84e92aef30f331707a479c368ebed41fb2e27a /test
parent51b611aa81d7ee01243b196abc34a0e2eabd293c (diff)
Pass authenticator pubname through spool. Bug 2648
Diffstat (limited to 'test')
-rw-r--r--test/confs/34031
-rw-r--r--test/mail/3403.userx2
-rw-r--r--test/stdout/34155
3 files changed, 8 insertions, 0 deletions
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: <E10HmaX-0005vi-00@myhost.test.ex>
From: CALLER_NAME <CALLER@myhost.test.ex>
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