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 | |
44416341 JH |
79 | # will be sent and the message remains queued. Then, claiming time has elapsed, |
80 | # we will look again (expecting a delay-DSN to be produced). We won't see a | |
81 | # retry since the actual retry time has not passed. | |
ba97ac87 JH |
82 | exim -z defer/delay |
83 | **** | |
ea97267c JH |
84 | client HOSTIPV4 PORT_D |
85 | ??? 220 | |
86 | EHLO testclient | |
87 | ??? 250- | |
88 | ??? 250-SIZE | |
89 | ??? 250-DSN | |
90 | ??? 250 HELP | |
91 | MAIL FROM:<c@dump.ex> | |
92 | ??? 250 | |
93 | RCPT TO:<rmt_defer@test.ex> NOTIFY=delay | |
94 | ??? 250 | |
95 | DATA | |
96 | ??? 354 | |
97 | Subject: test | |
98 | . | |
99 | ??? 250 | |
100 | QUIT | |
101 | ??? 221 | |
102 | **** | |
ba97ac87 JH |
103 | exim -q |
104 | **** | |
105 | # | |
ea97267c | 106 | # Clients requests no DSNs, and this one gets deferred |
ba97ac87 JH |
107 | exim -z defer/never |
108 | **** | |
ea97267c JH |
109 | client HOSTIPV4 PORT_D |
110 | ??? 220 | |
111 | EHLO testclient | |
112 | ??? 250- | |
113 | ??? 250-SIZE | |
114 | ??? 250-DSN | |
115 | ??? 250 HELP | |
116 | MAIL FROM:<d@dump.ex> | |
117 | ??? 250 | |
118 | RCPT TO:<rmt_defer@test.ex> NOTIFY=never | |
119 | ??? 250 | |
120 | DATA | |
121 | ??? 354 | |
122 | Subject: test | |
123 | . | |
124 | ??? 250 | |
125 | QUIT | |
126 | ??? 221 | |
127 | **** | |
ea97267c JH |
128 | exim -q |
129 | **** | |
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 | **** | |
44416341 | 137 | exim -Tqt 10s/ -q |
ea97267c | 138 | **** |
df98a6ff JH |
139 | sleep 1 |
140 | exim -Mrm $msg1 $msg2 | |
141 | **** | |
142 | # | |
143 | # | |
144 | # | |
145 | # | |
146 | # Client requests bounce+delay notification; bounce happens | |
147 | exim -z rej/failure+delay | |
148 | **** | |
149 | client HOSTIPV4 PORT_D | |
150 | ??? 220 | |
151 | EHLO testclient | |
152 | ??? 250- | |
153 | ??? 250-SIZE | |
154 | ??? 250-DSN | |
155 | ??? 250 HELP | |
156 | MAIL FROM:<e@dump.ex> | |
157 | ??? 250 | |
158 | RCPT TO:<rmt_reject@test.ex> NOTIFY=fAiLuRe,DELAY | |
159 | ??? 250 | |
160 | DATA | |
161 | ??? 354 | |
162 | Subject: test | |
163 | . | |
164 | ??? 250 | |
165 | QUIT | |
166 | ??? 221 | |
167 | **** | |
168 | # MSA send msg to MDA | |
169 | exim -q | |
170 | **** | |
171 | # deliver notification from MDA | |
172 | exim -z 'deliver DSN' | |
173 | **** | |
174 | exim -q | |
175 | **** | |
176 | sleep 1 | |
ea97267c JH |
177 | killdaemon |
178 | # | |
179 | # | |
180 | no_msglog_check |