| 1 | # ACL "discard" verb |
| 2 | 1 |
| 3 | exim -bs |
| 4 | helo xxx |
| 5 | **** |
| 6 | # The -odi's below aren't for real - they are just testing that -odi cannot |
| 7 | # override queue_only because no_queue_only_override is set. |
| 8 | 1 |
| 9 | exim -odi x@y |
| 10 | discard: yes |
| 11 | . |
| 12 | **** |
| 13 | exim -odi -bs |
| 14 | mail from:<discard@x.y> |
| 15 | rcpt to:<a@b> |
| 16 | rcpt to:<discard@p.q> |
| 17 | data |
| 18 | Testing |
| 19 | . |
| 20 | mail from:<ok@x.y> |
| 21 | rcpt to:<a@b> |
| 22 | rcpt to:<discard@p.q> |
| 23 | rcpt to:<nested_discard@p.q> |
| 24 | data |
| 25 | Testing |
| 26 | . |
| 27 | mail from:<ok@x.y> |
| 28 | rcpt to:<discard@p.q> |
| 29 | data |
| 30 | Testing |
| 31 | . |
| 32 | mail from:<ok@x.y> |
| 33 | rcpt to:<a@b> |
| 34 | data |
| 35 | discard: yes |
| 36 | |
| 37 | Testing |
| 38 | . |
| 39 | mail from:<ok@x.y> |
| 40 | rcpt to:<data_message_discard@b> |
| 41 | data |
| 42 | . |
| 43 | quit |
| 44 | **** |
| 45 | 1 |
| 46 | exim data_message_discard@y |
| 47 | . |
| 48 | **** |
| 49 | no_msglog_check |