Expansions: better error messages for parse errors, and better debug
[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_cipher {($tls_cipher)
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_cipher {($tls_cipher)
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_cipher {($tls_cipher)
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_cipher {($tls_cipher)
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_cipher {($tls_cipher)
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_cipher {($tls_cipher)
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_cipher {($tls_cipher)
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:sender_address
78    result: true
79 considering: (envelope-from <$sender_address>)
80         }}id $message_exim_id${if def:received_for {
81         for $received_for}}
82   expanding: (envelope-from <$sender_address>)
83         
84      result: (envelope-from <CALLER@test.ex>)
85         
86 condition: def:received_for
87    result: false
88    scanning: 
89         for $received_for}}
90   expanding: 
91         for $received_for
92      result: 
93         for 
94    skipping: result is not used
95   expanding: Received: ${if def:sender_rcvhost {from $sender_rcvhost
96         }{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
97         }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol}} ${if def:tls_cipher {($tls_cipher)
98         }}(Exim $version_number)
99         ${if def:sender_address {(envelope-from <$sender_address>)
100         }}id $message_exim_id${if def:received_for {
101         for $received_for}}
102      result: Received: from CALLER by the.local.host.name with local (Exim x.yz)
103         (envelope-from <CALLER@test.ex>)
104         id 10HmaX-0005vi-00
105 considering: ${tod_full}
106   expanding: ${tod_full}
107      result: Tue, 2 Mar 1999 09:44:33 +0000
108 LOG: MAIN
109   <= CALLER@test.ex U=CALLER P=local S=sss
110 created log directory TESTSUITE/spool/log
111 Exim version x.yz ....
112 configuration file is TESTSUITE/test-config
113 trusted user
114 admin user
115 considering: $domain
116   expanding: $domain
117      result: domain1.ex
118 LOG: MAIN
119   == userx@domain1.ex R=smarthost T=smtp defer (-1): domain matches queue_smtp_domains, or -odqs set
120 LOG: MAIN
121   == userx@domain2.ex R=smarthost T=smtp defer (-1): domain matches queue_smtp_domains, or -odqs set
122 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}}
123 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}}
124   expanding: $h_list-id:$h_list-post:$h_list-subscribe:
125      result: 
126 considering: } }{ match{$h_precedence:}{(?i)bulk|list|junk} }{ match{$h_auto-submitted:}{(?i)auto-generated|auto-replied} }} {no}{yes}}
127   expanding: 
128      result: 
129 considering: $h_precedence:}{(?i)bulk|list|junk} }{ match{$h_auto-submitted:}{(?i)auto-generated|auto-replied} }} {no}{yes}}
130   expanding: $h_precedence:
131      result: 
132 considering: (?i)bulk|list|junk} }{ match{$h_auto-submitted:}{(?i)auto-generated|auto-replied} }} {no}{yes}}
133   expanding: (?i)bulk|list|junk
134      result: (?i)bulk|list|junk
135 considering: $h_auto-submitted:}{(?i)auto-generated|auto-replied} }} {no}{yes}}
136   expanding: $h_auto-submitted:
137      result: 
138 considering: (?i)auto-generated|auto-replied} }} {no}{yes}}
139   expanding: (?i)auto-generated|auto-replied
140      result: (?i)auto-generated|auto-replied
141 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} }}
142    result: false
143    scanning: no}{yes}}
144   expanding: no
145      result: no
146    skipping: result is not used
147 considering: yes}}
148   expanding: yes
149      result: yes
150   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}}
151      result: yes
152 >>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
153 >>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
154 Exim version x.yz ....
155 configuration file is TESTSUITE/test-config
156 admin user
157 LOG: smtp_connection MAIN
158   SMTP connection from CALLER
159 considering: $smtp_active_hostname ESMTP Exim $version_number $tod_full
160   expanding: $smtp_active_hostname ESMTP Exim $version_number $tod_full
161      result: the.local.host.name ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
162 considering: ${if match_domain {$sender_helo_name}{+dlist}}
163 considering: $sender_helo_name}{+dlist}}
164   expanding: $sender_helo_name
165      result: ehlo.domain
166 considering: +dlist}}
167   expanding: +dlist
168      result: +dlist
169 considering: $domain
170   expanding: $domain
171      result: ehlo.domain
172 condition: match_domain {$sender_helo_name}{+dlist}
173    result: true
174   expanding: ${if match_domain {$sender_helo_name}{+dlist}}
175      result: true
176 considering: domain=$domain/sender_domain=$sender_address_domain
177   expanding: domain=$domain/sender_domain=$sender_address_domain
178      result: domain=/sender_domain=sender.domain
179 considering: domain=$domain/sender_domain=$sender_address_domain
180   expanding: domain=$domain/sender_domain=$sender_address_domain
181      result: domain=recipient.domain/sender_domain=sender.domain
182 considering: domain=$domain/sender_domain=$sender_address_domain
183   expanding: domain=$domain/sender_domain=$sender_address_domain
184      result: domain=recipient.domain/sender_domain=sender.domain
185 LOG: smtp_connection MAIN
186   SMTP connection from CALLER closed by QUIT
187 >>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>