Sieve RFC5490 checks user quota usage

Merlin Hartley merlin at mrc-mbu.cam.ac.uk
Tue Mar 21 12:07:09 EDT 2017


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 2017, at 15:59, Paolo Cravero <paolo.cravero at csi.it> wrote:
> 
> 
> 
>> 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 possible at all.
> 
> 
> 
> 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 of some smartphone IMAP client or an (active)sync system).
> 
> Is there a way to achieve the same result somehow, with stock cyrus?
> 
> Paolo
> 
> 
> 
>> On 03/17/2017 11:01 AM, Paolo Cravero wrote:
>>> Hello.
>>> I am trying to figure out if sieve, with RFC5490 support, is able to read user's disk quota (used) and act accordingly.
>>>  
>>> I would like to trigger a mail to "self" if quota is above a given percent. Something like a vacation message (so once a day or so), triggered on arrival AND if quota is above X %.
>>>  
>>> If sieve doesn't support this, is there another way to do it?
>>>  
>>> Thanks and have a nice weekend,
>>> Paolo
>>> 
>>> 
>>> ----
>>> Cyrus Home Page: http://www.cyrusimap.org/ <http://www.cyrusimap.org/>
>>> List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ <http://lists.andrew.cmu.edu/pipermail/info-cyrus/>
>>> To Unsubscribe:
>>> https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus <https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus>
> ----
> Cyrus Home Page: http://www.cyrusimap.org/
> List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
> To Unsubscribe:
> https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20170321/9ff72be9/attachment.html>


More information about the Info-cyrus mailing list