summaryrefslogtreecommitdiff
path: root/test/scripts/0000-Basic/0538
blob: 51daa9a26b3fa49dde07281f19e357fc387f9dce (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
33
34
35
36
37
38
39
40
41
42
# callout for recipient/use_sender after mail from:<> rejection
need_ipv4
#
# Do a sender address verify that rejects MAIL FROM:<>
server PORT_S
220 Welcome
EHLO
250 Hi
MAIL FROM
550 I'm misconfigured
QUIT
221 Bye
****
exim -bs
helo test
mail from:<userx@broken.example>
quit
****
# Now do a recipient verify for the same domain, with use_sender
server PORT_S
220 Welcome
EHLO
250 Hi
MAIL FROM
250 OK
RCPT TO
250 OK
QUIT
221 Bye
****
exim -bs
helo test
mail from:<userx@ok.example>
rcpt to:<usery@broken.example>
quit
****
# A final check that the cache works for sender address
exim -bs
helo test
mail from:<userx@broken.example>
quit
****