Commit | Line | Data |
---|---|---|
ea97267c JH |
1 | # DSN ESMTP extension RCPT options |
2 | # | |
3 | # Server does not advertise by default | |
4 | exim -DSERVER=server -bd -oX PORT_D | |
5 | **** | |
6 | client 127.0.0.1 PORT_D | |
7 | ??? 220 | |
8 | EHLO testclient | |
9 | ??? 250- | |
10 | ??? 250-SIZE | |
11 | ??? 250 HELP | |
12 | **** | |
13 | killdaemon | |
14 | # | |
15 | # | |
16 | # Server does advertise when told. Client requests no bounces, and this one gets a reject. | |
17 | exim -DSERVER=server -DOPT=y -bd -oX PORT_D | |
18 | **** | |
ba97ac87 JH |
19 | exim -z rej/never |
20 | **** | |
ea97267c JH |
21 | client HOSTIPV4 PORT_D |
22 | ??? 220 | |
23 | EHLO testclient | |
24 | ??? 250- | |
25 | ??? 250-SIZE | |
26 | ??? 250-DSN | |
27 | ??? 250 HELP | |
28 | MAIL FROM:<a@dump.ex> | |
29 | ??? 250 | |
30 | RCPT TO:<any@test.ex> NOTIFY=foo | |
31 | ??? 501 | |
32 | RCPT TO:<rmt_reject@test.ex> NOTIFY=never | |
33 | ??? 250 | |
34 | DATA | |
35 | ??? 354 | |
36 | Subject: test | |
37 | . | |
38 | ??? 250 | |
39 | QUIT | |
40 | ??? 221 | |
41 | **** | |
ba97ac87 JH |
42 | exim -q |
43 | **** | |
44 | # | |
45 | # Client requests delivery notification; the server supports DSN so takes responsibility | |
46 | exim -z accept/success | |
47 | **** | |
ea97267c JH |
48 | client HOSTIPV4 PORT_D |
49 | ??? 220 | |
50 | EHLO testclient | |
51 | ??? 250- | |
52 | ??? 250-SIZE | |
53 | ??? 250-DSN | |
54 | ??? 250 HELP | |
55 | MAIL FROM:<b@dump.ex> | |
56 | ??? 250 | |
57 | RCPT TO:<rmt_accept@test.ex> NOTIFY=success | |
58 | ??? 250 | |
59 | DATA | |
60 | ??? 354 | |
61 | Subject: test | |
62 | . | |
63 | ??? 250 | |
64 | QUIT | |
65 | ??? 221 | |
66 | **** | |
ba97ac87 JH |
67 | # MSA send msg to MDA |
68 | exim -q | |
69 | **** | |
70 | # deliver msg at MDA | |
71 | exim -q | |
72 | **** | |
73 | # deliver notification from MDA | |
74 | exim -q | |
75 | **** | |
76 | # | |
77 | # Client requests notification of deferral. First time of trying, we get | |
78 | # a defer but queue-time probably has not hit the 1st retry time yet, so no DSN | |
79 | # will be sent and the message remains queued. Later, after a sleep, we will | |
80 | # try again. | |
81 | exim -z defer/delay | |
82 | **** | |
ea97267c JH |
83 | client HOSTIPV4 PORT_D |
84 | ??? 220 | |
85 | EHLO testclient | |
86 | ??? 250- | |
87 | ??? 250-SIZE | |
88 | ??? 250-DSN | |
89 | ??? 250 HELP | |
90 | MAIL FROM:<c@dump.ex> | |
91 | ??? 250 | |
92 | RCPT TO:<rmt_defer@test.ex> NOTIFY=delay | |
93 | ??? 250 | |
94 | DATA | |
95 | ??? 354 | |
96 | Subject: test | |
97 | . | |
98 | ??? 250 | |
99 | QUIT | |
100 | ??? 221 | |
101 | **** | |
ba97ac87 JH |
102 | exim -q |
103 | **** | |
104 | # | |
ea97267c | 105 | # Clients requests no DSNs, and this one gets deferred |
ba97ac87 JH |
106 | exim -z defer/never |
107 | **** | |
ea97267c JH |
108 | client HOSTIPV4 PORT_D |
109 | ??? 220 | |
110 | EHLO testclient | |
111 | ??? 250- | |
112 | ??? 250-SIZE | |
113 | ??? 250-DSN | |
114 | ??? 250 HELP | |
115 | MAIL FROM:<d@dump.ex> | |
116 | ??? 250 | |
117 | RCPT TO:<rmt_defer@test.ex> NOTIFY=never | |
118 | ??? 250 | |
119 | DATA | |
120 | ??? 354 | |
121 | Subject: test | |
122 | . | |
123 | ??? 250 | |
124 | QUIT | |
125 | ??? 221 | |
126 | **** | |
ea97267c JH |
127 | exim -q |
128 | **** | |
129 | sleep 3 | |
ba97ac87 JH |
130 | # |
131 | # | |
132 | # | |
133 | # Second time, for the queued deferrals. | |
134 | # We should see the notify for c@dump.ex but not d@dump.ex | |
135 | exim -z playout | |
136 | **** | |
ea97267c JH |
137 | exim -q |
138 | **** | |
139 | killdaemon | |
140 | # | |
141 | # | |
142 | no_msglog_check |