Hi,
I set mail_debug=yes, and sent a test email to a 90% full mailbox: I would expect a warning about it. These lines are logged:
Dec 8 11:31:57 mail dovecot: lda(username)<14734><tqBrLp2JsGGOOQAA4uZ9mg>: Debug: fs: root=/var/vmail/username/Maildir, index=, indexpvt=, control=, inbox=, alt= Dec 8 11:31:57 mail dovecot: lda(username)<14734><tqBrLp2JsGGOOQAA4uZ9mg>: Debug: acl: initializing backend with data: vfile Dec 8 11:31:57 mail dovecot: lda(username)<14734><tqBrLp2JsGGOOQAA4uZ9mg>: Debug: acl: acl username = username Dec 8 11:31:57 mail dovecot: lda(username)<14734><tqBrLp2JsGGOOQAA4uZ9mg>: Debug: acl: owner = 1 Dec 8 11:31:57 mail dovecot: lda(username)<14734><tqBrLp2JsGGOOQAA4uZ9mg>: Debug: acl vfile: Global ACLs disabled Dec 8 11:31:57 mail dovecot: lda(username)<14734><tqBrLp2JsGGOOQAA4uZ9mg>: Debug: quota: quota_over_flag check: quota_over_script unset - skipping Dec 8 11:31:57 mail dovecot: lda(username)<14734><tqBrLp2JsGGOOQAA4uZ9mg>: Debug: Quota root: name= backend=maildir args= Dec 8 11:31:57 mail dovecot: lda(username)<14734><tqBrLp2JsGGOOQAA4uZ9mg>: Debug: Quota rule: root= mailbox=? bytes=5368709120 messages=0 Dec 8 11:31:57 mail dovecot: lda(username)<14734><tqBrLp2JsGGOOQAA4uZ9mg>: Debug: Quota rule: root= mailbox=Trash bytes=+104857600 messages=0 Dec 8 11:31:57 mail dovecot: lda(username)<14734><tqBrLp2JsGGOOQAA4uZ9mg>: Debug: Quota warning: bytes=5207647846 (97%) messages=0 reverse=no command=quota-warning 97 raw mail user Dec 8 11:31:57 mail dovecot: lda(username)<14734><tqBrLp2JsGGOOQAA4uZ9mg>: Debug: Quota warning: bytes=5100273664 (95%) messages=0 reverse=no command=quota-warning 95 raw mail user Dec 8 11:31:57 mail dovecot: lda(username)<14734><tqBrLp2JsGGOOQAA4uZ9mg>: Debug: Quota warning: bytes=4831838208 (90%) messages=0 reverse=no command=quota-warning 90 raw mail user Dec 8 11:31:57 mail dovecot: lda(username)<14734><tqBrLp2JsGGOOQAA4uZ9mg>: Debug: Quota warning: bytes=4563402752 (85%) messages=0 reverse=no command=quota-warning 85 raw mail user Dec 8 11:31:57 mail dovecot: lda(username)<14734><tqBrLp2JsGGOOQAA4uZ9mg>: Debug: Quota warning: bytes=4294967296 (80%) messages=0 reverse=no command=quota-warning 80 raw mail user Dec 8 11:31:57 mail dovecot: lda(username)<14734><tqBrLp2JsGGOOQAA4uZ9mg>: Debug: Quota warning: bytes=5368709120 (100%) messages=0 reverse=yes command=quota-warning below raw mail user Dec 8 11:31:57 mail dovecot: lda(username)<14734><tqBrLp2JsGGOOQAA4uZ9mg>: Debug: Quota grace: root= bytes=536870912 (10%) Dec 8 11:31:57 mail dovecot: lda(username)<14734><tqBrLp2JsGGOOQAA4uZ9mg>: Debug: quota: quota_over_flag check: quota_over_script unset - skipping Dec 8 11:31:57 mail dovecot: lda(username)<14734><tqBrLp2JsGGOOQAA4uZ9mg>: Debug: Destination address: username@company.com (source: -a parameter) Dec 8 11:31:57 mail dovecot: lda(username)<14734><tqBrLp2JsGGOOQAA4uZ9mg>: Debug: Mailbox INBOX: Mailbox opened because: lib-lda delivery Dec 8 11:31:57 mail dovecot: lda(username)<14734><tqBrLp2JsGGOOQAA4uZ9mg>: Debug: Quota root : Recalculated relative rules with bytes=15737418240 count=0. Now grace=1573741824 Dec 8 11:31:57 mail dovecot: lda(username)<14734><tqBrLp2JsGGOOQAA4uZ9mg>: Debug: Mailbox INBOX: saving UID 0: Opened mail because: mail stream Dec 8 11:31:57 mail dovecot: lda(username)<14734><tqBrLp2JsGGOOQAA4uZ9mg>: save: box=INBOX, uid=86077, msgid=c5a339e7-e45d-9bb2-c0b3-9272f5f5fa29@gmail.com, from=username@gmail.com, subject=test Dec 8 11:31:57 mail dovecot: lda(username)<14734><tqBrLp2JsGGOOQAA4uZ9mg>: sieve: username@gmail.com | test | msgid=c5a339e7-e45d-9bb2-c0b3-9272f5f5fa29@gmail.com: stored mail into mailbox 'INBOX'
Does "quota: quota_over_flag check: quota_over_script unset - skipping" mean I forgot to set some specific flag in order to make our script run?
MJ