Fix expansions for RFC 822 addresses having comments in local-part and/or domain...
[users/jgh/exim.git] / test / scripts / 0000-Basic / 0121
1 # Sender verification SMTP (envelope and header)
2 exim -bh 127.0.0.1
3 mail from:<unknown@test.ex>
4 rcpt to:<userx@test.ex>
5 rset
6 mail from:<userx@unknown.dom.ain>
7 rcpt to:<userx@test.ex>
8 rset
9 mail from:<"unknown with spaces"@test.ex>
10 rcpt to:<userx@test.ex>
11 rset
12 mail from:<userx@test.ex>
13 rcpt to:<userx@test.ex>
14 data
15 From: unknown@test.ex
16 .
17 mail from:<userx@test.ex>
18 rcpt to:<userx@test.ex>
19 data
20 From: <>
21 .
22 mail from:<defer@test.ex>
23 rcpt to:<userx@test.ex>
24 rset
25 mail from:<userx@test.ex>
26 rcpt to:<userx@test.ex>
27 data
28 from: <defer@test.ex>
29 .
30 quit
31 ****
32 # Sender verification (ESMTP)
33 exim -bh 127.0.0.1
34 ehlo foo.bar
35 mail from:<ab@localhost1>
36 rset
37 ehlo foo.bar
38 mail from:<"a b"@localhost2>
39 rset
40 ehlo foo.bar
41 mail from:<"a b"@localhost3> SIZE=1234
42 rset
43 ehlo foo.bar
44 mail from:"a b"@localhost4 SIZE=1234
45 rset
46 ehlo foo.bar
47 mail from:<"a b"@localhost5> PRDR
48 quit
49 ****