| 1 | # exim quota + warn threshold |
| 2 | exim -odi userx |
| 3 | This is a test message |
| 4 | **** |
| 5 | exim -odi userx |
| 6 | quota: 0 |
| 7 | threshold: 10 |
| 8 | This is a test message |
| 9 | **** |
| 10 | exim -DERT='errors_reply_to = x@y' \ |
| 11 | -DQWM='quota_warn_message = From : p@q\n\ |
| 12 | Reply-To: a@b\n\ |
| 13 | To: $local_part@$domain\n\ |
| 14 | Subject: Your mailbox\n\n\ |
| 15 | Your mailbox has crossed the threshold\n' \ |
| 16 | -odi userx |
| 17 | quota: 10K |
| 18 | threshold: 900 |
| 19 | A test message |
| 20 | **** |
| 21 | exim -DERT='errors_reply_to = x@y' -odi userx |
| 22 | quota: 2200 |
| 23 | threshold: 90% |
| 24 | This is a test message |
| 25 | **** |
| 26 | write test-data 100x60 |
| 27 | ++++ |
| 28 | **** |
| 29 | exim -odi userx <test-data |
| 30 | **** |
| 31 | exim -odi userx <test-data |
| 32 | **** |
| 33 | millisleep 500 |
| 34 | exim -odi usery |
| 35 | quota: 100 |
| 36 | threshold: 10 |
| 37 | This is a test message |
| 38 | **** |
| 39 | exim -odi userz |
| 40 | threshold: 330 |
| 41 | **** |