Taint: fix ACL "spam" condition, to permit tainted name arguments
[users/jgh/exim.git] / test / stderr / 0544
1 Exim version x.yz ....
2 adding SSLKEYLOGFILE=TESTSUITE/spool/sslkeys
3 configuration file is TESTSUITE/test-config
4 admin user
5  ╭considering: ${tod_full}
6  ├──expanding: ${tod_full}
7  ╰─────result: Tue, 2 Mar 1999 09:44:33 +0000
8  ╭considering: Received: ${if def:sender_rcvhost {from $sender_rcvhost
9         }{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
10         }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver        { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
11         }}(Exim $version_number)
12         ${if def:sender_address {(envelope-from <$sender_address>)
13         }}id $message_exim_id${if def:received_for {
14         for $received_for}}
15  ├──condition: def:sender_rcvhost
16  ├─────result: false
17   ╭───scanning: from $sender_rcvhost
18         }{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
19         }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver        { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
20         }}(Exim $version_number)
21         ${if def:sender_address {(envelope-from <$sender_address>)
22         }}id $message_exim_id${if def:received_for {
23         for $received_for}}
24   ├──expanding: from $sender_rcvhost
25         
26   ├─────result: from 
27         
28   ╰───skipping: result is not used
29   ╭considering: ${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
30         }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver        { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
31         }}(Exim $version_number)
32         ${if def:sender_address {(envelope-from <$sender_address>)
33         }}id $message_exim_id${if def:received_for {
34         for $received_for}}
35   ├──condition: def:sender_ident
36   ├─────result: true
37    ╭considering: from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
38         }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver        { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
39         }}(Exim $version_number)
40         ${if def:sender_address {(envelope-from <$sender_address>)
41         }}id $message_exim_id${if def:received_for {
42         for $received_for}}
43    ╎╭considering: $sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
44    ╎  }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver        { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
45    ╎  }}(Exim $version_number)
46    ╎  ${if def:sender_address {(envelope-from <$sender_address>)
47    ╎  }}id $message_exim_id${if def:received_for {
48    ╎  for $received_for}}
49    ╎├──expanding: $sender_ident
50    ╎╰─────result: CALLER
51    ├──expanding: from ${quote_local_part:$sender_ident} 
52    ╰─────result: from CALLER 
53   ├──condition: def:sender_helo_name
54   ├─────result: false
55    ╭───scanning: (helo=$sender_helo_name)
56         }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver        { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
57         }}(Exim $version_number)
58         ${if def:sender_address {(envelope-from <$sender_address>)
59         }}id $message_exim_id${if def:received_for {
60         for $received_for}}
61    ├──expanding: (helo=$sender_helo_name)
62         
63    ├─────result: (helo=)
64         
65    ╰───skipping: result is not used
66   ├──expanding: ${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
67         }}
68   ╰─────result: from CALLER 
69  ├──condition: def:received_protocol
70  ├─────result: true
71   ╭considering: with $received_protocol }}${if def:tls_in_ver        { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
72         }}(Exim $version_number)
73         ${if def:sender_address {(envelope-from <$sender_address>)
74         }}id $message_exim_id${if def:received_for {
75         for $received_for}}
76   ├──expanding: with $received_protocol 
77   ╰─────result: with local 
78  ├──condition: def:tls_in_ver
79  ├─────result: false
80   ╭───scanning:  ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
81         }}(Exim $version_number)
82         ${if def:sender_address {(envelope-from <$sender_address>)
83         }}id $message_exim_id${if def:received_for {
84         for $received_for}}
85   ├──expanding:  ($tls_in_ver)
86   ├─────result:  ()
87   ╰───skipping: result is not used
88  ├──condition: def:sender_address
89  ├─────result: true
90   ╭considering: (envelope-from <$sender_address>)
91         }}id $message_exim_id${if def:received_for {
92         for $received_for}}
93   ├──expanding: (envelope-from <$sender_address>)
94         
95   ╰─────result: (envelope-from <CALLER@test.ex>)
96         
97  ├──condition: def:received_for
98  ├─────result: false
99   ╭───scanning: 
100         for $received_for}}
101   ├──expanding: 
102         for $received_for
103   ├─────result: 
104         for 
105   ╰───skipping: result is not used
106  ├──expanding: Received: ${if def:sender_rcvhost {from $sender_rcvhost
107         }{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
108         }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver        { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
109         }}(Exim $version_number)
110         ${if def:sender_address {(envelope-from <$sender_address>)
111         }}id $message_exim_id${if def:received_for {
112         for $received_for}}
113  ╰─────result: Received: from CALLER by the.local.host.name with local (Exim x.yz)
114         (envelope-from <CALLER@test.ex>)
115         id 10HmaX-0005vi-00
116  ╭considering: ${tod_full}
117  ├──expanding: ${tod_full}
118  ╰─────result: Tue, 2 Mar 1999 09:44:33 +0000
119 LOG: MAIN
120   <= CALLER@test.ex U=CALLER P=local S=sss
121 created log directory TESTSUITE/spool/log
122 Exim version x.yz ....
123 adding SSLKEYLOGFILE=TESTSUITE/spool/sslkeys
124 configuration file is TESTSUITE/test-config
125 trusted user
126 admin user
127 dropping to exim gid; retaining priv uid
128  ╭considering: $domain
129  ├──expanding: $domain
130  ╰─────result: domain1.ex
131             ╰──(tainted)
132 LOG: MAIN
133   == userx@domain1.ex R=smarthost T=smtp defer (-1): first-pass only routing due to -odqs, queue_smtp_domains or control=queue
134 LOG: MAIN
135   == userx@domain2.ex R=smarthost T=smtp defer (-1): first-pass only routing due to -odqs, queue_smtp_domains or control=queue
136  ╭considering: ${if or {{ !eq{$h_list-id:$h_list-post:$h_list-subscribe:}{} }{ match{$h_precedence:}{(?i)bulk|list|junk} }{ match{$h_auto-submitted:}{(?i)auto-generated|auto-replied} }} {no}{yes}}
137   ╭considering: $h_list-id:$h_list-post:$h_list-subscribe:}{} }{ match{$h_precedence:}{(?i)bulk|list|junk} }{ match{$h_auto-submitted:}{(?i)auto-generated|auto-replied} }} {no}{yes}}
138   ├──expanding: $h_list-id:$h_list-post:$h_list-subscribe:
139   ╰─────result: 
140   ╭considering: } }{ match{$h_precedence:}{(?i)bulk|list|junk} }{ match{$h_auto-submitted:}{(?i)auto-generated|auto-replied} }} {no}{yes}}
141   ├──expanding: 
142   ╰─────result: 
143   ╭considering: $h_precedence:}{(?i)bulk|list|junk} }{ match{$h_auto-submitted:}{(?i)auto-generated|auto-replied} }} {no}{yes}}
144   ├──expanding: $h_precedence:
145   ╰─────result: 
146   ╭considering: (?i)bulk|list|junk} }{ match{$h_auto-submitted:}{(?i)auto-generated|auto-replied} }} {no}{yes}}
147   ├──expanding: (?i)bulk|list|junk
148   ╰─────result: (?i)bulk|list|junk
149   ╭considering: $h_auto-submitted:}{(?i)auto-generated|auto-replied} }} {no}{yes}}
150   ├──expanding: $h_auto-submitted:
151   ╰─────result: 
152   ╭considering: (?i)auto-generated|auto-replied} }} {no}{yes}}
153   ├──expanding: (?i)auto-generated|auto-replied
154   ╰─────result: (?i)auto-generated|auto-replied
155  ├──condition: or {{ !eq{$h_list-id:$h_list-post:$h_list-subscribe:}{} }{ match{$h_precedence:}{(?i)bulk|list|junk} }{ match{$h_auto-submitted:}{(?i)auto-generated|auto-replied} }}
156  ├─────result: false
157   ╭───scanning: no}{yes}}
158   ├──expanding: no
159   ├─────result: no
160   ╰───skipping: result is not used
161   ╭considering: yes}}
162   ├──expanding: yes
163   ╰─────result: yes
164  ├──expanding: ${if or {{ !eq{$h_list-id:$h_list-post:$h_list-subscribe:}{} }{ match{$h_precedence:}{(?i)bulk|list|junk} }{ match{$h_auto-submitted:}{(?i)auto-generated|auto-replied} }} {no}{yes}}
165  ╰─────result: yes
166 >>>>>>>>>>>>>>>> Exim pid=pppp (local-accept-delivery) terminating with rc=0 >>>>>>>>>>>>>>>>
167 >>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
168 Exim version x.yz ....
169 adding SSLKEYLOGFILE=TESTSUITE/spool/sslkeys
170 configuration file is TESTSUITE/test-config
171 admin user
172 LOG: smtp_connection MAIN
173   SMTP connection from CALLER
174  ╭considering: $smtp_active_hostname ESMTP Exim $version_number $tod_full
175  ├──expanding: $smtp_active_hostname ESMTP Exim $version_number $tod_full
176  ╰─────result: the.local.host.name ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
177  ╭considering: ${if match_domain {$sender_helo_name}{+dlist}}
178   ╭considering: $sender_helo_name}{+dlist}}
179   ├──expanding: $sender_helo_name
180   ╰─────result: ehlo.domain
181              ╰──(tainted)
182   ╭considering: +dlist}}
183   ├──expanding: +dlist
184   ╰─────result: +dlist
185   ╭considering: $domain
186   ├──expanding: $domain
187   ╰─────result: ehlo.domain
188              ╰──(tainted)
189  ├──condition: match_domain {$sender_helo_name}{+dlist}
190  ├─────result: true
191  ├──expanding: ${if match_domain {$sender_helo_name}{+dlist}}
192  ╰─────result: true
193  ╭considering: domain=$domain/sender_domain=$sender_address_domain
194  ├──expanding: domain=$domain/sender_domain=$sender_address_domain
195  ╰─────result: domain=/sender_domain=sender.domain
196             ╰──(tainted)
197  ╭considering: domain=$domain/sender_domain=$sender_address_domain
198  ├──expanding: domain=$domain/sender_domain=$sender_address_domain
199  ╰─────result: domain=recipient.domain/sender_domain=sender.domain
200             ╰──(tainted)
201  ╭considering: domain=$domain/sender_domain=$sender_address_domain
202  ├──expanding: domain=$domain/sender_domain=$sender_address_domain
203  ╰─────result: domain=recipient.domain/sender_domain=sender.domain
204             ╰──(tainted)
205 LOG: smtp_connection MAIN
206   SMTP connection from CALLER closed by QUIT
207 >>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>