[Dovecot] Dovecot generate file when over quota detected
Timo Sirainen
tss at iki.fi
Fri Aug 31 16:40:44 EEST 2012
On 23.8.2012, at 9.48, Dominic Malolepszy wrote:
> I am curious if Dovecot can add an empty file into a Maildir folder as soon as a mailbox has exceeded 100% capacity, and later when it detects the quota has fallen below 100% unlink the file. The idea is the Dovecot LDA would deliver the message and if this caused the mailbox to reach 100%+, add a file into the maibox say "username/Maildir/overquota". Interactions via Dovecot IMAP/POP3 that lower the mailbox usage, for example the user popping, or deleting mail from the mailbox would trigger Dovecot to unlink the file.
Quota warning scripts can do that. http://wiki2.dovecot.org/Quota/Configuration#Quota_warnings
More information about the dovecot
mailing list