[Dovecot] quota question
.. maybe a silly one, but how does the user get notified when he is over quota? Did not find anything in the docs. Is there a general IMAP way to do this or what else ?
Yours JC
On Wed, 2006-11-01 at 19:34 +0100, Jakob Curdes wrote:
.. maybe a silly one, but how does the user get notified when he is over quota? Did not find anything in the docs. Is there a general IMAP way to do this or what else ?
Dovecot doesn't provide any way to do this currently. You'll have to figure out something by yourself.
I guess either some cronjob, or you could write a Dovecot plugin. In both cases you could send a normal out-of-quota mail to the user (bypassing quota checks).
Dovecot doesn't provide any way to do this currently. You'll have to figure out something by yourself.
I guess either some cronjob, or you could write a Dovecot plugin. In both cases you could send a normal out-of-quota mail to the user (bypassing quota checks).
At least I found a Thunderbird plugin displaying the imap quota in the program bar. That is enough for now; I fear writing a plugin exceeds my C coding skills.
Yours, Jakob Curdes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Jakob Curdes wrote:
Dovecot doesn't provide any way to do this currently. You'll have to figure out something by yourself.
I guess either some cronjob, or you could write a Dovecot plugin. In both cases you could send a normal out-of-quota mail to the user (bypassing quota checks).
At least I found a Thunderbird plugin displaying the imap quota in the program bar. That is enough for now; I fear writing a plugin exceeds my C coding skills.
Yours, Jakob Curdes
I don't know about other distributions, but at least on RedHat EL 3 try "man warnquota"
alan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFStv/E2gsBSKjZHQRAjzHAKC82XR4mt1nB+mZArlqRIF5K1IlGgCg16Pp GOL54+G+dHSjccq0ANUrWCY= =gVy/ -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wed, 1 Nov 2006, Jakob Curdes wrote:
.. maybe a silly one, but how does the user get notified when he is over quota? Did not find anything in the docs. Is there a general IMAP way to do this or what else ?
I run a cron job (as root) that creates <<MailDir>>/.INBOX/new/over_quota and chown's the file to the user. Of course, all */<<MailDir>>/.INBOX/new/over_quota* files are deleted prior the check.
People with active forwards also get notified via their forwards.
Bye,
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux)
iQEVAwUBRUr83y9SORjhbDpvAQJSjAgAqMxWHgPIUxlMfO4YM7VKHyZeQJHzTMHa GenLco+yIdC/bH8LmwMjtgqSB2cIVr33tqbbuDnXAyy24cfvGJR85khMB05EeBZF +98i4tcTvGfcpH3CLxcM1NcGFtMrWOl6rj5MLzqC7Do7BMrsZnagGmD4G63JJkyO MPPXwgpwa8Cyu98SqdHVXWQSkyF0GFfJsP2P26aP1DLRibSITEo9bgGqChmhtfeZ WF7MOXQ9/DJEZ7Phw019+POyrk+J0ttbRFwkJxk3fykw7ceQ8lhizq2txwGJhkhm ssMTxzb/o9SiflM+cOu+vubRbJymtqLhgTKxq71uzrBAvolaUHuOEQ== =QHJH -----END PGP SIGNATURE-----
participants (4)
-
alan premselaar
-
Jakob Curdes
-
Steffen Kaiser
-
Timo Sirainen