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.crav...@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

----
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

Reply via email to