Hello, 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. Thanks, Radu ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs
On 2/25/2008, Vusi (vusi666 at yahoo.com) wrote:> I'm using Dovecot 1.0.rc15This is very old and buggy, please upgrade... current release is 1.0.10, but 1.1 is getting close (its at rc1 now)... You didn't say what distro, but if you are using a redhat derivitive (seems like a lot of people with rc15 are), atrpms.net has rpms... -- Best regards, Charles
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-0002.bin>