Testsuite: escape parens in REs
[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_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_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_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_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_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_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_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_cipher_std
79 ├─────result: false
80 ╭───scanning: 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 $tls_in_cipher_std
86
87 ├─────result: tls
88
89 ╰───skipping: result is not used
90 ├──condition: def:sender_address
91 ├─────result: true
92 ╭considering: (envelope-from <$sender_address>)
93 }}id $message_exim_id${if def:received_for {
94 for $received_for}}
95 ├──expanding: (envelope-from <$sender_address>)
96
97 ╰─────result: (envelope-from <CALLER@test.ex>)
98
99 ├──condition: def:received_for
100 ├─────result: false
101 ╭───scanning:
102 for $received_for}}
103 ├──expanding:
104 for $received_for
105 ├─────result:
106 for
107 ╰───skipping: result is not used
108 ├──expanding: Received: ${if def:sender_rcvhost {from $sender_rcvhost
109 }{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
110 }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
111 }}(Exim $version_number)
112 ${if def:sender_address {(envelope-from <$sender_address>)
113 }}id $message_exim_id${if def:received_for {
114 for $received_for}}
115 ╰─────result: Received: from CALLER by the.local.host.name with local (Exim x.yz)
116 (envelope-from <CALLER@test.ex>)
117 id 10HmaX-0005vi-00
118 ╭considering: ${tod_full}
119 ├──expanding: ${tod_full}
120 ╰─────result: Tue, 2 Mar 1999 09:44:33 +0000
121 LOG: MAIN
122 <= CALLER@test.ex U=CALLER P=local S=sss
123 created log directory TESTSUITE/spool/log
124 Exim version x.yz ....
125 adding SSLKEYLOGFILE=TESTSUITE/spool/sslkeys
126 configuration file is TESTSUITE/test-config
127 trusted user
128 admin user
129 dropping to exim gid; retaining priv uid
130 ╭considering: $domain
131 ├──expanding: $domain
132 ╰─────result: domain1.ex
133 ╰──(tainted)
134 LOG: MAIN
135 == userx@domain1.ex R=smarthost T=smtp defer (-1): domain matches queue_smtp_domains, or -odqs set
136 LOG: MAIN
137 == userx@domain2.ex R=smarthost T=smtp defer (-1): domain matches queue_smtp_domains, or -odqs set
138 ╭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}}
139 ╭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}}
140 ├──expanding: $h_list-id:$h_list-post:$h_list-subscribe:
141 ╰─────result:
142 ╭considering: } }{ match{$h_precedence:}{(?i)bulk|list|junk} }{ match{$h_auto-submitted:}{(?i)auto-generated|auto-replied} }} {no}{yes}}
143 ├──expanding:
144 ╰─────result:
145 ╭considering: $h_precedence:}{(?i)bulk|list|junk} }{ match{$h_auto-submitted:}{(?i)auto-generated|auto-replied} }} {no}{yes}}
146 ├──expanding: $h_precedence:
147 ╰─────result:
148 ╭considering: (?i)bulk|list|junk} }{ match{$h_auto-submitted:}{(?i)auto-generated|auto-replied} }} {no}{yes}}
149 ├──expanding: (?i)bulk|list|junk
150 ╰─────result: (?i)bulk|list|junk
151 ╭considering: $h_auto-submitted:}{(?i)auto-generated|auto-replied} }} {no}{yes}}
152 ├──expanding: $h_auto-submitted:
153 ╰─────result:
154 ╭considering: (?i)auto-generated|auto-replied} }} {no}{yes}}
155 ├──expanding: (?i)auto-generated|auto-replied
156 ╰─────result: (?i)auto-generated|auto-replied
157 ├──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} }}
158 ├─────result: false
159 ╭───scanning: no}{yes}}
160 ├──expanding: no
161 ├─────result: no
162 ╰───skipping: result is not used
163 ╭considering: yes}}
164 ├──expanding: yes
165 ╰─────result: yes
166 ├──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}}
167 ╰─────result: yes
168 >>>>>>>>>>>>>>>> Exim pid=pppp (main) terminating with rc=0 >>>>>>>>>>>>>>>>
169 >>>>>>>>>>>>>>>> Exim pid=pppp (main) terminating with rc=0 >>>>>>>>>>>>>>>>
170 Exim version x.yz ....
171 adding SSLKEYLOGFILE=TESTSUITE/spool/sslkeys
172 configuration file is TESTSUITE/test-config
173 admin user
174 LOG: smtp_connection MAIN
175 SMTP connection from CALLER
176 ╭considering: $smtp_active_hostname ESMTP Exim $version_number $tod_full
177 ├──expanding: $smtp_active_hostname ESMTP Exim $version_number $tod_full
178 ╰─────result: the.local.host.name ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
179 ╭considering: ${if match_domain {$sender_helo_name}{+dlist}}
180 ╭considering: $sender_helo_name}{+dlist}}
181 ├──expanding: $sender_helo_name
182 ╰─────result: ehlo.domain
183 ╰──(tainted)
184 ╭considering: +dlist}}
185 ├──expanding: +dlist
186 ╰─────result: +dlist
187 ╭considering: $domain
188 ├──expanding: $domain
189 ╰─────result: ehlo.domain
190 ╰──(tainted)
191 ├──condition: match_domain {$sender_helo_name}{+dlist}
192 ├─────result: true
193 ├──expanding: ${if match_domain {$sender_helo_name}{+dlist}}
194 ╰─────result: true
195 ╭considering: domain=$domain/sender_domain=$sender_address_domain
196 ├──expanding: domain=$domain/sender_domain=$sender_address_domain
197 ╰─────result: domain=/sender_domain=sender.domain
198 ╰──(tainted)
199 ╭considering: domain=$domain/sender_domain=$sender_address_domain
200 ├──expanding: domain=$domain/sender_domain=$sender_address_domain
201 ╰─────result: domain=recipient.domain/sender_domain=sender.domain
202 ╰──(tainted)
203 ╭considering: domain=$domain/sender_domain=$sender_address_domain
204 ├──expanding: domain=$domain/sender_domain=$sender_address_domain
205 ╰─────result: domain=recipient.domain/sender_domain=sender.domain
206 ╰──(tainted)
207 LOG: smtp_connection MAIN
208 SMTP connection from CALLER closed by QUIT
209 >>>>>>>>>>>>>>>> Exim pid=pppp (msg setup toplevel) terminating with rc=0 >>>>>>>>>>>>>>>>