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