1 # DSN ESMTP extension RCPT options
3 # Server does not advertise by default
4 exim -DSERVER=server -bd -oX PORT_D
6 client 127.0.0.1 PORT_D
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
19 client HOSTIPV4 PORT_D
28 RCPT TO:<any@test.ex> NOTIFY=foo
30 RCPT TO:<rmt_reject@test.ex> NOTIFY=never
40 # Client requests delivery notification; the server supports DSN to takes responsibility
41 client HOSTIPV4 PORT_D
50 RCPT TO:<rmt_accept@test.ex> NOTIFY=success
60 # Client requests notification of deferral. First time of trying, the
61 # queue-time probably has not hit the 1st retry time yet, so no DSN will
62 # be sent and the message remains queued.
63 client HOSTIPV4 PORT_D
72 RCPT TO:<rmt_defer@test.ex> NOTIFY=delay
82 # Clients requests no DSNs, and this one gets deferred
83 client HOSTIPV4 PORT_D
92 RCPT TO:<rmt_defer@test.ex> NOTIFY=never
102 # This attemmpt the set of all the above, for the first time.
106 # Second time, for the queued deferrals. Final delivery for the acceptance.