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" | |
16 | processing "deny" | |
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" |
54c5ebb1 | 20 | processing "drop" |
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" |
54c5ebb1 PH |
25 | processing "accept" |
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 PH |
32 | using ACL "mail" |
33 | processing "warn" | |
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" |
54c5ebb1 PH |
39 | processing "accept" |
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" | |
49 | processing "warn" | |
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" |
54c5ebb1 PH |
56 | processing "accept" |
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 PH |
71 | using ACL "rcpt" |
72 | processing "accept" | |
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") | |
79 | ok@test1 in "+ok_senders"? yes (matched "+ok_senders") | |
80 | check sender_domains = +ok_sender_domains | |
81 | test1 in "somewhere : test1 : test3"? yes (matched "test1") | |
82 | test1 in "+ok_sender_domains"? yes (matched "+ok_sender_domains") | |
83 | check logwrite = :panic: rcpt accepted | |
84 | LOG: PANIC | |
85 | rcpt accepted | |
6968512f | 86 | accept: condition test succeeded in ACL "rcpt" |
a7538db1 | 87 | end of ACL "rcpt": ACCEPT |
54c5ebb1 PH |
88 | using ACL "rcpt" |
89 | processing "accept" | |
90 | check senders = +ok_senders | |
91 | cached yes match for +ok_senders | |
92 | cached lookup data = NULL | |
93 | ok@test1 in "+ok_senders"? yes (matched "+ok_senders" - cached) | |
94 | check sender_domains = +ok_sender_domains | |
95 | cached yes match for +ok_sender_domains | |
96 | test1 in "+ok_sender_domains"? yes (matched "+ok_sender_domains" - cached) | |
97 | check logwrite = :panic: rcpt accepted | |
98 | LOG: PANIC | |
99 | rcpt accepted | |
6968512f | 100 | accept: condition test succeeded in ACL "rcpt" |
a7538db1 | 101 | end of ACL "rcpt": ACCEPT |
54c5ebb1 PH |
102 | LOG: smtp_connection MAIN |
103 | SMTP connection from CALLER closed by QUIT | |
104 | >>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>> | |
105 | 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 | |
106 | Exim version x.yz .... | |
107 | configuration file is TESTSUITE/test-config | |
108 | trusted user | |
109 | admin user | |
110 | host in hosts_connection_nolog? no (option unset) | |
111 | LOG: smtp_connection MAIN | |
112 | SMTP connection from CALLER | |
113 | host in host_lookup? no (option unset) | |
114 | host in host_reject_connection? no (option unset) | |
115 | host in sender_unqualified_hosts? no (option unset) | |
116 | host in recipient_unqualified_hosts? no (option unset) | |
117 | host in helo_verify_hosts? no (option unset) | |
118 | host in helo_try_verify_hosts? no (option unset) | |
119 | host in helo_accept_junk_hosts? no (option unset) | |
120 | using ACL "connect" | |
121 | processing "deny" | |
122 | check hosts = : 10.9.8.7 | |
123 | host in ": 10.9.8.7"? no (end of list) | |
6968512f | 124 | deny: condition test failed in ACL "connect" |
54c5ebb1 | 125 | processing "drop" |
187bc588 | 126 | l_message: forcibly dropped |
54c5ebb1 PH |
127 | check hosts = 10.9.8.9 |
128 | host in "10.9.8.9"? no (end of list) | |
6968512f | 129 | drop: condition test failed in ACL "connect" |
54c5ebb1 PH |
130 | processing "accept" |
131 | check logwrite = $sender_host_address accepted by connect ACL | |
132 | = 10.9.8.8 accepted by connect ACL | |
133 | LOG: MAIN | |
134 | 10.9.8.8 accepted by connect ACL | |
6968512f | 135 | accept: condition test succeeded in ACL "connect" |
a7538db1 | 136 | end of ACL "connect": ACCEPT |
54c5ebb1 PH |
137 | using ACL "mail" |
138 | processing "warn" | |
187bc588 | 139 | message: added header line |
54c5ebb1 | 140 | check senders = ok@test3 |
cd5567b1 | 141 | address match test: subject=ok@test3 pattern=ok@test3 |
54c5ebb1 PH |
142 | test3 in "test3"? yes (matched "test3") |
143 | ok@test3 in "ok@test3"? yes (matched "ok@test3") | |
6968512f | 144 | warn: condition test succeeded in ACL "mail" |
54c5ebb1 PH |
145 | processing "accept" |
146 | check senders = ok@test1 : ok@test3 | |
cd5567b1 | 147 | address match test: subject=ok@test3 pattern=ok@test1 |
54c5ebb1 | 148 | test3 in "test1"? no (end of list) |
cd5567b1 | 149 | address match test: subject=ok@test3 pattern=ok@test3 |
54c5ebb1 PH |
150 | test3 in "test3"? yes (matched "test3") |
151 | ok@test3 in "ok@test1 : ok@test3"? yes (matched "ok@test3") | |
152 | check verify = sender | |
153 | ok in "!bad"? yes (end of list) | |
154 | ----------- end verify ------------ | |
155 | sender ok@test3 verified ok | |
ca86f471 PH |
156 | check logwrite = :main,reject: mail accepted "$smtp_command" "$smtp_command_argument" |
157 | = :main,reject: mail accepted "mail from:<ok@test3>" "<ok@test3>" | |
54c5ebb1 | 158 | LOG: MAIN REJECT |
ca86f471 | 159 | mail accepted "mail from:<ok@test3>" "<ok@test3>" |
6968512f | 160 | accept: condition test succeeded in ACL "mail" |
a7538db1 | 161 | end of ACL "mail": ACCEPT |
54c5ebb1 PH |
162 | using ACL "rcpt" |
163 | processing "accept" | |
164 | check senders = +ok_senders | |
cd5567b1 | 165 | address match test: subject=ok@test3 pattern=ok@somewhere |
54c5ebb1 | 166 | test3 in "somewhere"? no (end of list) |
cd5567b1 | 167 | address match test: subject=ok@test3 pattern=ok@test1 |
54c5ebb1 | 168 | test3 in "test1"? no (end of list) |
cd5567b1 | 169 | address match test: subject=ok@test3 pattern=ok@test3 |
54c5ebb1 PH |
170 | test3 in "test3"? yes (matched "test3") |
171 | ok@test3 in "ok@somewhere : ok@test1 : ok@test3"? yes (matched "ok@test3") | |
172 | ok@test3 in "+ok_senders"? yes (matched "+ok_senders") | |
173 | check sender_domains = +ok_sender_domains | |
174 | test3 in "somewhere : test1 : test3"? yes (matched "test3") | |
175 | test3 in "+ok_sender_domains"? yes (matched "+ok_sender_domains") | |
176 | check logwrite = :panic: rcpt accepted | |
177 | LOG: PANIC | |
178 | rcpt accepted | |
6968512f | 179 | accept: condition test succeeded in ACL "rcpt" |
a7538db1 | 180 | end of ACL "rcpt": ACCEPT |
54c5ebb1 PH |
181 | >>Headers added by MAIL or RCPT ACL: |
182 | X-ACL-Warn: added header line | |
183 | >> | |
184 | LOG: MAIN | |
185 | <= ok@test3 H=[10.9.8.8] U=CALLER P=smtp S=sss | |
186 | Exim version x.yz .... | |
187 | configuration file is TESTSUITE/test-config | |
188 | trusted user | |
189 | admin user | |
54c5ebb1 PH |
190 | x in "!bad"? yes (end of list) |
191 | LOG: MAIN | |
192 | => x <x@y> R=accept T=appendfile | |
193 | LOG: MAIN | |
194 | Completed | |
195 | >>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>> | |
196 | LOG: smtp_connection MAIN | |
197 | SMTP connection from CALLER closed by QUIT | |
198 | >>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>> | |
ca86f471 PH |
199 | 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 |
200 | 1999-03-02 09:44:33 rcpt accepted |