Commit | Line | Data |
---|---|---|
54c5ebb1 PH |
1 | Exim version x.yz .... |
2 | configuration file is TESTSUITE/test-config | |
3 | trusted user | |
4 | admin user | |
5 | host in hosts_connection_nolog? no (option unset) | |
6 | LOG: smtp_connection MAIN | |
7 | SMTP connection from CALLER | |
8 | host in host_lookup? no (option unset) | |
9 | host in host_reject_connection? no (option unset) | |
10 | host in sender_unqualified_hosts? no (option unset) | |
11 | host in recipient_unqualified_hosts? no (option unset) | |
12 | host in helo_verify_hosts? no (option unset) | |
13 | host in helo_try_verify_hosts? no (option unset) | |
14 | host in helo_accept_junk_hosts? no (option unset) | |
15 | using ACL "connect" | |
897024f1 | 16 | processing "deny" (TESTSUITE/test-config 50) |
54c5ebb1 PH |
17 | check hosts = : 10.9.8.7 |
18 | host in ": 10.9.8.7"? no (end of list) | |
6968512f | 19 | deny: condition test failed in ACL "connect" |
897024f1 | 20 | processing "drop" (TESTSUITE/test-config 51) |
187bc588 | 21 | l_message: forcibly dropped |
54c5ebb1 PH |
22 | check hosts = 10.9.8.9 |
23 | host in "10.9.8.9"? no (end of list) | |
6968512f | 24 | drop: condition test failed in ACL "connect" |
897024f1 | 25 | processing "accept" (TESTSUITE/test-config 53) |
54c5ebb1 PH |
26 | check logwrite = $sender_host_address accepted by connect ACL |
27 | = 10.9.8.8 accepted by connect ACL | |
28 | LOG: MAIN | |
29 | 10.9.8.8 accepted by connect ACL | |
6968512f | 30 | accept: condition test succeeded in ACL "connect" |
a7538db1 | 31 | end of ACL "connect": ACCEPT |
54c5ebb1 | 32 | using ACL "mail" |
897024f1 | 33 | processing "warn" (TESTSUITE/test-config 61) |
187bc588 | 34 | message: added header line |
54c5ebb1 | 35 | check senders = ok@test3 |
cd5567b1 | 36 | address match test: subject=bad@test1 pattern=ok@test3 |
54c5ebb1 | 37 | bad@test1 in "ok@test3"? no (end of list) |
6968512f | 38 | warn: condition test failed in ACL "mail" |
897024f1 | 39 | processing "accept" (TESTSUITE/test-config 63) |
54c5ebb1 | 40 | check senders = ok@test1 : ok@test3 |
cd5567b1 JH |
41 | address match test: subject=bad@test1 pattern=ok@test1 |
42 | address match test: subject=bad@test1 pattern=ok@test3 | |
54c5ebb1 | 43 | bad@test1 in "ok@test1 : ok@test3"? no (end of list) |
6968512f | 44 | accept: condition test failed in ACL "mail" |
54c5ebb1 PH |
45 | end of ACL "mail": implicit DENY |
46 | LOG: MAIN REJECT | |
47 | H=[10.9.8.8] U=CALLER rejected MAIL <bad@test1> | |
48 | using ACL "mail" | |
897024f1 | 49 | processing "warn" (TESTSUITE/test-config 61) |
187bc588 | 50 | message: added header line |
54c5ebb1 | 51 | check senders = ok@test3 |
cd5567b1 | 52 | address match test: subject=ok@test1 pattern=ok@test3 |
54c5ebb1 PH |
53 | test1 in "test3"? no (end of list) |
54 | ok@test1 in "ok@test3"? no (end of list) | |
6968512f | 55 | warn: condition test failed in ACL "mail" |
897024f1 | 56 | processing "accept" (TESTSUITE/test-config 63) |
54c5ebb1 | 57 | check senders = ok@test1 : ok@test3 |
cd5567b1 | 58 | address match test: subject=ok@test1 pattern=ok@test1 |
54c5ebb1 PH |
59 | test1 in "test1"? yes (matched "test1") |
60 | ok@test1 in "ok@test1 : ok@test3"? yes (matched "ok@test1") | |
61 | check verify = sender | |
62 | ok in "!bad"? yes (end of list) | |
63 | ----------- end verify ------------ | |
64 | sender ok@test1 verified ok | |
ca86f471 PH |
65 | check logwrite = :main,reject: mail accepted "$smtp_command" "$smtp_command_argument" |
66 | = :main,reject: mail accepted "mail from:<ok@test1>" "<ok@test1>" | |
54c5ebb1 | 67 | LOG: MAIN REJECT |
ca86f471 | 68 | mail accepted "mail from:<ok@test1>" "<ok@test1>" |
6968512f | 69 | accept: condition test succeeded in ACL "mail" |
a7538db1 | 70 | end of ACL "mail": ACCEPT |
54c5ebb1 | 71 | using ACL "rcpt" |
897024f1 | 72 | processing "accept" (TESTSUITE/test-config 68) |
54c5ebb1 | 73 | check senders = +ok_senders |
cd5567b1 | 74 | address match test: subject=ok@test1 pattern=ok@somewhere |
54c5ebb1 | 75 | test1 in "somewhere"? no (end of list) |
cd5567b1 | 76 | address match test: subject=ok@test1 pattern=ok@test1 |
54c5ebb1 PH |
77 | test1 in "test1"? yes (matched "test1") |
78 | ok@test1 in "ok@somewhere : ok@test1 : ok@test3"? yes (matched "ok@test1") | |
824ac956 | 79 | data from lookup saved for cache for +ok_senders: test1 |
54c5ebb1 PH |
80 | ok@test1 in "+ok_senders"? yes (matched "+ok_senders") |
81 | check sender_domains = +ok_sender_domains | |
82 | test1 in "somewhere : test1 : test3"? yes (matched "test1") | |
83 | test1 in "+ok_sender_domains"? yes (matched "+ok_sender_domains") | |
a09f2942 JH |
84 | check logwrite = :panic: rcpt accepted C=$smtp_command_history |
85 | = :panic: rcpt accepted C=MAIL,MAIL,RCPT | |
54c5ebb1 | 86 | LOG: PANIC |
a09f2942 | 87 | rcpt accepted C=MAIL,MAIL,RCPT |
6968512f | 88 | accept: condition test succeeded in ACL "rcpt" |
a7538db1 | 89 | end of ACL "rcpt": ACCEPT |
54c5ebb1 | 90 | using ACL "rcpt" |
897024f1 | 91 | processing "accept" (TESTSUITE/test-config 68) |
54c5ebb1 PH |
92 | check senders = +ok_senders |
93 | cached yes match for +ok_senders | |
824ac956 | 94 | cached lookup data = test1 |
54c5ebb1 PH |
95 | ok@test1 in "+ok_senders"? yes (matched "+ok_senders" - cached) |
96 | check sender_domains = +ok_sender_domains | |
97 | cached yes match for +ok_sender_domains | |
98 | test1 in "+ok_sender_domains"? yes (matched "+ok_sender_domains" - cached) | |
a09f2942 JH |
99 | check logwrite = :panic: rcpt accepted C=$smtp_command_history |
100 | = :panic: rcpt accepted C=MAIL,MAIL,RCPT,RCPT | |
54c5ebb1 | 101 | LOG: PANIC |
a09f2942 | 102 | rcpt accepted C=MAIL,MAIL,RCPT,RCPT |
6968512f | 103 | accept: condition test succeeded in ACL "rcpt" |
a7538db1 | 104 | end of ACL "rcpt": ACCEPT |
54c5ebb1 PH |
105 | LOG: smtp_connection MAIN |
106 | SMTP connection from CALLER closed by QUIT | |
81022793 | 107 | >>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>> |
54c5ebb1 PH |
108 | 1999-03-02 09:44:33 ACL "warn" with "message" setting found in a non-message (EHLO or HELO) ACL: cannot specify header lines here: message ignored |
109 | Exim version x.yz .... | |
110 | configuration file is TESTSUITE/test-config | |
111 | trusted user | |
112 | admin user | |
113 | host in hosts_connection_nolog? no (option unset) | |
114 | LOG: smtp_connection MAIN | |
115 | SMTP connection from CALLER | |
116 | host in host_lookup? no (option unset) | |
117 | host in host_reject_connection? no (option unset) | |
118 | host in sender_unqualified_hosts? no (option unset) | |
119 | host in recipient_unqualified_hosts? no (option unset) | |
120 | host in helo_verify_hosts? no (option unset) | |
121 | host in helo_try_verify_hosts? no (option unset) | |
122 | host in helo_accept_junk_hosts? no (option unset) | |
123 | using ACL "connect" | |
897024f1 | 124 | processing "deny" (TESTSUITE/test-config 50) |
54c5ebb1 PH |
125 | check hosts = : 10.9.8.7 |
126 | host in ": 10.9.8.7"? no (end of list) | |
6968512f | 127 | deny: condition test failed in ACL "connect" |
897024f1 | 128 | processing "drop" (TESTSUITE/test-config 51) |
187bc588 | 129 | l_message: forcibly dropped |
54c5ebb1 PH |
130 | check hosts = 10.9.8.9 |
131 | host in "10.9.8.9"? no (end of list) | |
6968512f | 132 | drop: condition test failed in ACL "connect" |
897024f1 | 133 | processing "accept" (TESTSUITE/test-config 53) |
54c5ebb1 PH |
134 | check logwrite = $sender_host_address accepted by connect ACL |
135 | = 10.9.8.8 accepted by connect ACL | |
136 | LOG: MAIN | |
137 | 10.9.8.8 accepted by connect ACL | |
6968512f | 138 | accept: condition test succeeded in ACL "connect" |
a7538db1 | 139 | end of ACL "connect": ACCEPT |
54c5ebb1 | 140 | using ACL "mail" |
897024f1 | 141 | processing "warn" (TESTSUITE/test-config 61) |
187bc588 | 142 | message: added header line |
54c5ebb1 | 143 | check senders = ok@test3 |
cd5567b1 | 144 | address match test: subject=ok@test3 pattern=ok@test3 |
54c5ebb1 PH |
145 | test3 in "test3"? yes (matched "test3") |
146 | ok@test3 in "ok@test3"? yes (matched "ok@test3") | |
6968512f | 147 | warn: condition test succeeded in ACL "mail" |
897024f1 | 148 | processing "accept" (TESTSUITE/test-config 63) |
54c5ebb1 | 149 | check senders = ok@test1 : ok@test3 |
cd5567b1 | 150 | address match test: subject=ok@test3 pattern=ok@test1 |
54c5ebb1 | 151 | test3 in "test1"? no (end of list) |
cd5567b1 | 152 | address match test: subject=ok@test3 pattern=ok@test3 |
54c5ebb1 PH |
153 | test3 in "test3"? yes (matched "test3") |
154 | ok@test3 in "ok@test1 : ok@test3"? yes (matched "ok@test3") | |
155 | check verify = sender | |
156 | ok in "!bad"? yes (end of list) | |
157 | ----------- end verify ------------ | |
158 | sender ok@test3 verified ok | |
ca86f471 PH |
159 | check logwrite = :main,reject: mail accepted "$smtp_command" "$smtp_command_argument" |
160 | = :main,reject: mail accepted "mail from:<ok@test3>" "<ok@test3>" | |
54c5ebb1 | 161 | LOG: MAIN REJECT |
ca86f471 | 162 | mail accepted "mail from:<ok@test3>" "<ok@test3>" |
6968512f | 163 | accept: condition test succeeded in ACL "mail" |
a7538db1 | 164 | end of ACL "mail": ACCEPT |
54c5ebb1 | 165 | using ACL "rcpt" |
897024f1 | 166 | processing "accept" (TESTSUITE/test-config 68) |
54c5ebb1 | 167 | check senders = +ok_senders |
cd5567b1 | 168 | address match test: subject=ok@test3 pattern=ok@somewhere |
54c5ebb1 | 169 | test3 in "somewhere"? no (end of list) |
cd5567b1 | 170 | address match test: subject=ok@test3 pattern=ok@test1 |
54c5ebb1 | 171 | test3 in "test1"? no (end of list) |
cd5567b1 | 172 | address match test: subject=ok@test3 pattern=ok@test3 |
54c5ebb1 PH |
173 | test3 in "test3"? yes (matched "test3") |
174 | ok@test3 in "ok@somewhere : ok@test1 : ok@test3"? yes (matched "ok@test3") | |
824ac956 | 175 | data from lookup saved for cache for +ok_senders: test3 |
54c5ebb1 PH |
176 | ok@test3 in "+ok_senders"? yes (matched "+ok_senders") |
177 | check sender_domains = +ok_sender_domains | |
178 | test3 in "somewhere : test1 : test3"? yes (matched "test3") | |
179 | test3 in "+ok_sender_domains"? yes (matched "+ok_sender_domains") | |
a09f2942 JH |
180 | check logwrite = :panic: rcpt accepted C=$smtp_command_history |
181 | = :panic: rcpt accepted C=MAIL,RCPT | |
54c5ebb1 | 182 | LOG: PANIC |
a09f2942 | 183 | rcpt accepted C=MAIL,RCPT |
6968512f | 184 | accept: condition test succeeded in ACL "rcpt" |
a7538db1 | 185 | end of ACL "rcpt": ACCEPT |
54c5ebb1 PH |
186 | >>Headers added by MAIL or RCPT ACL: |
187 | X-ACL-Warn: added header line | |
188 | >> | |
189 | LOG: MAIN | |
190 | <= ok@test3 H=[10.9.8.8] U=CALLER P=smtp S=sss | |
191 | Exim version x.yz .... | |
192 | configuration file is TESTSUITE/test-config | |
193 | trusted user | |
194 | admin user | |
4b424e0d | 195 | dropping to exim gid; retaining priv uid |
54c5ebb1 PH |
196 | x in "!bad"? yes (end of list) |
197 | LOG: MAIN | |
198 | => x <x@y> R=accept T=appendfile | |
199 | LOG: MAIN | |
200 | Completed | |
81022793 | 201 | >>>>>>>>>>>>>>>> Exim pid=pppp (local-accept-delivery) terminating with rc=0 >>>>>>>>>>>>>>>> |
54c5ebb1 PH |
202 | LOG: smtp_connection MAIN |
203 | SMTP connection from CALLER closed by QUIT | |
81022793 | 204 | >>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>> |
ca86f471 | 205 | 1999-03-02 09:44:33 ACL "warn" with "message" setting found in a non-message (EHLO or HELO) ACL: cannot specify header lines here: message ignored |
a09f2942 | 206 | 1999-03-02 09:44:33 rcpt accepted C=EHLO,MAIL,RCPT |
569a8b23 | 207 | 1999-03-02 09:44:33 10HmaX-0005vi-00 10HmaX-0005vi-00 no recipients found in headers |