Re: Sieve RFC5490 checks user quota usage

2017-03-21 Thread Nic Bernstein
Paolo, Attached is the script we've been using for ages for this purpose. Our uses LDAP as a source of user ID information, but it could be easily adapted for other AAA databases. Cheers, -nic On 03/21/2017 10:59 AM, Paolo Cravero wrote: And for Nic, yes, I mean the "IMAP STORAGE quota"

Re: Sieve RFC5490 checks user quota usage

2017-03-21 Thread Michael Menge
Hi, Quoting Paolo Cravero : And for Nic, yes, I mean the "IMAP STORAGE quota". I would like to warn the user that his quota is about to fill up through an email, triggered on new mail arrival or login. Why? Because not all clients support reading the quota over IMAP or handling an alert (think

Re: Sieve RFC5490 checks user quota usage

2017-03-21 Thread Paolo Cravero
There is no mailbox annotation that exposes quota that could be used with the mboxmetadata extension (RFC5490) and there is no current Sieve extension for checking quota.Thank you Ken. Given the double negative answer I guess that developing such a feature would require a lot of work, or it is not

Re: Sieve RFC5490 checks user quota usage

2017-03-21 Thread Merlin Hartley
You could do it with your MTA instead - you could write a filter/router/acl in exim for example - these can use arbitrary command output to decide on what to do with a message. M -- Merlin Hartley Computer Officer MRC Mitochondrial Biology Unit Cambridge, CB2 0XY United Kingdom > On 21 Mar 20