2 exim -bd -DSERVER=server -oX PORT_D:PORT_D2
5 # Should not advertise on "normal" SMTP port,
6 # end should reject an attempt
7 client 127.0.0.1 PORT_D
23 # should reject when not authenticated
24 # also when authed, but tried within a mail transaction
25 # also when the ACL says deny (based on src ip)
26 client 127.0.0.1 PORT_D2
39 AUTH PLAIN AHVzZXJ4AHNlY3JldA==
41 MAIL FROM:<fred@example.com>
52 # setup a queued message, then probe for it
53 client HOSTIPV4 PORT_D2
64 MAIL FROM:<fred@example.com>
66 RCPT TO:<bill@clientdom.net>
72 Body data is a single line.
75 AUTH PLAIN AHVzZXJ4AHNlY3JldA==
79 220 ODMR client now in reversed state
95 ??? Subject: queued msg
99 250 ODMR client: message accepted
106 # A mixture of spooled messages
107 exim a@otherdomain.net
108 Subject: should not look at this one
110 exim b@clientdom.net c@elsewhere.net d@clientdom.net
111 Subject: only b & d should be delivered
114 Subject: should be delivered
116 client HOSTIPV4 PORT_D2
127 AUTH PLAIN AHVzZXJ4AHNlY3JldA==
131 220 ODMR client now in reversed state
137 250 saw your MAIL cmd
139 250 saw your RCPT cmd for b
141 250 saw your RCPT cmd for d
148 ??? Subject: only b & d should be delivered
154 250 ODMR client: message accepted
156 250 saw your MAIL cmd
158 250 saw your RCPT cmd for e
166 ??? Subject: should be delivered
172 250 ODMR client: message accepted
179 # client requests specific domain; ok
180 # then tries again; tmp-reject since nothing waiting
182 Subject: should be delivered
184 client HOSTIPV4 PORT_D2
195 AUTH PLAIN AHVzZXJ4AHNlY3JldA==
199 220 ODMR client now in reversed state
204 250 saw your MAIL cmd
206 250 saw your RCPT cmd for f
214 ??? Subject: should be delivered
220 250 ODMR client: message accepted
227 client HOSTIPV4 PORT_D2
238 AUTH PLAIN AHVzZXJ4AHNlY3JldA==
247 exim -bd -DSERVER=server -DQDG=altqueue -oX PORT_D:PORT_D2
249 exim -MCG altqueue g@clientdom.net
250 Subject: should be delivered
252 client HOSTIPV4 PORT_D2
263 AUTH PLAIN AHVzZXJ4AHNlY3JldA==
267 220 ODMR client now in reversed state
272 250 saw your MAIL cmd
274 250 saw your RCPT cmd for g
282 ??? Subject: should be delivered
288 250 ODMR client: message accepted