summaryrefslogtreecommitdiff
path: root/test/scripts/0000-Basic/0584
blob: 8c629a1b54e9a9f6d32bed1fada94366f18072e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# verify = sender=address
#
# pass
exim -DOPT=userx@test.ex -bh 127.0.0.1
helo test
mail from:<userx@test.ex>
rcpt to:<userx@test.ex>
data
From: userx@test.ex
Subject: testing
.
QUIT
****
# fail
exim -DOPT=fail@test.ex -bh 127.0.0.1
helo test
mail from:<userx@test.ex>
rcpt to:<userx@test.ex>
QUIT
****
# check can use tainted data
exim -DOPT='$sender_address/defer_ok' -bh 127.0.0.1
helo test
mail from:<userx@test.ex>
rcpt to:<userx@test.ex>
data
From: userx@test.ex
Subject: testing
.
QUIT
****
no_msglog_check