| 1 | # ACL for QUIT |
| 2 | exim -bs |
| 3 | mail from:<x@y> |
| 4 | rcpt to:<a@y> |
| 5 | rcpt to:<b@y> |
| 6 | data |
| 7 | . |
| 8 | mail from:<x@y> |
| 9 | rcpt to:<c@y> |
| 10 | rset |
| 11 | mail from:<x@y> |
| 12 | rset |
| 13 | mail from:<x@y> |
| 14 | rcpt to:<d@y> |
| 15 | data |
| 16 | . |
| 17 | quit |
| 18 | **** |
| 19 | exim -bs -DLAST='deny message = Your message here' |
| 20 | quit |
| 21 | **** |
| 22 | exim -bs -DLAST='' |
| 23 | mail from:<a@b> |
| 24 | quit |
| 25 | **** |
| 26 | # |
| 27 | # Check the server closes conn after a quit-response |
| 28 | exim -DSERVER=server -DLAST=accept -bd -oX PORT_D |
| 29 | **** |
| 30 | client 127.0.0.1 PORT_D |
| 31 | ??? 220 |
| 32 | EHLO test.ex |
| 33 | ??? 250- |
| 34 | ??? 250- |
| 35 | ??? 250- |
| 36 | ??? 250- |
| 37 | ??? 250 HELP |
| 38 | QUIT |
| 39 | ??? 221 |
| 40 | ???*eof |
| 41 | **** |
| 42 | # |
| 43 | killdaemon |