Expansions: better error messages for parse errors, and better debug
[exim.git] / test / stderr / 0544
CommitLineData
1bf43b78
PH
1Exim version x.yz ....
2configuration file is TESTSUITE/test-config
3admin user
e47376be
JH
4considering: ${tod_full}
5 expanding: ${tod_full}
6 result: Tue, 2 Mar 1999 09:44:33 +0000
7considering: 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}}
1bf43b78
PH
14condition: def:sender_rcvhost
15 result: false
e47376be
JH
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
1bf43b78 24
e47376be 25 result: from
1bf43b78 26
e47376be
JH
27 skipping: result is not used
28considering: ${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}}
1bf43b78
PH
34condition: def:sender_ident
35 result: true
e47376be
JH
36considering: 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}}
42considering: $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
1bf43b78
PH
52condition: def:sender_helo_name
53 result: false
e47376be
JH
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)
1bf43b78 61
e47376be 62 result: (helo=)
1bf43b78 63
e47376be
JH
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)
1bf43b78 66 }}
e47376be 67 result: from CALLER
1bf43b78
PH
68condition: def:received_protocol
69 result: true
e47376be
JH
70considering: 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
1bf43b78
PH
77condition: def:sender_address
78 result: true
e47376be
JH
79considering: (envelope-from <$sender_address>)
80 }}id $message_exim_id${if def:received_for {
81 for $received_for}}
82 expanding: (envelope-from <$sender_address>)
1bf43b78 83
e47376be 84 result: (envelope-from <CALLER@test.ex>)
1bf43b78
PH
85
86condition: def:received_for
87 result: false
e47376be
JH
88 scanning:
89 for $received_for}}
90 expanding:
1bf43b78 91 for $received_for
e47376be 92 result:
1bf43b78 93 for
e47376be
JH
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
105considering: ${tod_full}
106 expanding: ${tod_full}
107 result: Tue, 2 Mar 1999 09:44:33 +0000
1bf43b78
PH
108LOG: MAIN
109 <= CALLER@test.ex U=CALLER P=local S=sss
110created log directory TESTSUITE/spool/log
111Exim version x.yz ....
112configuration file is TESTSUITE/test-config
113trusted user
114admin user
e47376be
JH
115considering: $domain
116 expanding: $domain
117 result: domain1.ex
1bf43b78
PH
118LOG: MAIN
119 == userx@domain1.ex R=smarthost T=smtp defer (-1): domain matches queue_smtp_domains, or -odqs set
120LOG: MAIN
121 == userx@domain2.ex R=smarthost T=smtp defer (-1): domain matches queue_smtp_domains, or -odqs set
e47376be
JH
122considering: ${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}}
123considering: $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:
126considering: } }{ match{$h_precedence:}{(?i)bulk|list|junk} }{ match{$h_auto-submitted:}{(?i)auto-generated|auto-replied} }} {no}{yes}}
127 expanding:
128 result:
129considering: $h_precedence:}{(?i)bulk|list|junk} }{ match{$h_auto-submitted:}{(?i)auto-generated|auto-replied} }} {no}{yes}}
130 expanding: $h_precedence:
131 result:
132considering: (?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
135considering: $h_auto-submitted:}{(?i)auto-generated|auto-replied} }} {no}{yes}}
136 expanding: $h_auto-submitted:
137 result:
138considering: (?i)auto-generated|auto-replied} }} {no}{yes}}
139 expanding: (?i)auto-generated|auto-replied
140 result: (?i)auto-generated|auto-replied
1bf43b78
PH
141condition: 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
e47376be
JH
143 scanning: no}{yes}}
144 expanding: no
145 result: no
146 skipping: result is not used
147considering: 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
1bf43b78
PH
152>>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
153>>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
154Exim version x.yz ....
155configuration file is TESTSUITE/test-config
156admin user
157LOG: smtp_connection MAIN
158 SMTP connection from CALLER
e47376be
JH
159considering: $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
162considering: ${if match_domain {$sender_helo_name}{+dlist}}
163considering: $sender_helo_name}{+dlist}}
164 expanding: $sender_helo_name
165 result: ehlo.domain
166considering: +dlist}}
167 expanding: +dlist
168 result: +dlist
169considering: $domain
170 expanding: $domain
171 result: ehlo.domain
1bf43b78
PH
172condition: match_domain {$sender_helo_name}{+dlist}
173 result: true
e47376be
JH
174 expanding: ${if match_domain {$sender_helo_name}{+dlist}}
175 result: true
176considering: domain=$domain/sender_domain=$sender_address_domain
177 expanding: domain=$domain/sender_domain=$sender_address_domain
178 result: domain=/sender_domain=sender.domain
179considering: 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
182considering: 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
1bf43b78
PH
185LOG: smtp_connection MAIN
186 SMTP connection from CALLER closed by QUIT
187>>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>