[Dovecot] dovecot 1.0 + postfix quota warning
Timo Sirainen
tss at iki.fi
Mon Feb 25 13:06:52 EET 2008
On Feb 25, 2008, at 12:33 PM, Vusi wrote:
> I need to know how to make a quota warning message from Dovecot or
> Postfix. I'm using Dovecot 1.0.rc15 and Postfix 2.3.3. I didn't
> installed the quota-warning patch cause i read that it doesn't work
> with dovecot filesystem quotas (as i'm using). What else can i use
> for this? I wanna warn users when they reach ..let's say 90% of
> their quota by sending an e-mail to their address. I'm using maildir
> format.
I think the only practical solution is to use post-login scripting: http://wiki.dovecot.org/PostLoginScripting
Check the disk usage using df and if the usage is >=90% send the mail.
This works of course only when user is logging in.
I guess it would be nice for quota warnings to work with filesystem
quota as well. I'll add to my TODO.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080225/4a17960f/attachment-0001.bin
More information about the dovecot
mailing list