Testsuite: regression-test for bug. Bug 2449
[exim.git] / test / scripts / 0000-Basic / 0567
CommitLineData
e7568d51
TL
1# remove_header modifier in ACLs
2exim -bs -odi
3mail from:<mailok@test.ex>
4rcpt to:<rcptok@test.ex>
5rcpt to:<notok@test.ex>
6data
7cond: accept
8X-Data-1: Line one
9X-Data-2: Line two
10X-Data-3: Line three
11X-Data-4: Line four
12X-Data-5: Line five
13X-Not-1: Testing wildcard one
14X-Not-2: Testing wildcard two
15X-Rcpt-1: Line six
16X-Rcpt-2: Line seven
17X-Rcpt-3: Line eight
18X-Rcpt-4: Line nine is really long, so long in fact that it wraps
19 around to the next line.
20X-Rcpt-5: Line ten
21X-Mail-1: Line eleven
22X-Mail-2: Line twelve
23X-Mail-3: Line thirteen
24X-Mail-4: Line fourteen is also really long, but it won't get
25 removed by these ACL's.
26X-Mail-5: Line fifteen
27X-Predata-5: Line sixteen
28X-Predata-4: Line seventeen
29X-Predata-3: Line eighteen
30X-Predata-2: Line nineteen
31X-Predata-1: Line twenty
32X-NotSMTP-1: Line twenty-one
33X-NotSMTP-2: Line twenty-two
34X-NotSMTP-3: Line twenty-three
35
36Test message
37.
38quit
39****
40exim -odi rcptok@test.ex
41Test non-SMTP message. Make sure it doesn't blow up when a header
42it wants to remove is not present. This one also overrides the
43fixup of adding a Date header because we specified to remove it!
44Allow the admin to shoot himself in the foot if he really and
45truly wants to.
46****
47exim -bs -odi -DCONNECTCOND="remove_header=CONNECT: won't do this"
48****
49no_msglog_check