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