<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">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.<div class=""><br class=""></div><div class="">M<br class=""><div class=""><br class=""></div><div class=""><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">--<br class="">Merlin Hartley<br class="">Computer Officer</div><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">MRC Mitochondrial Biology Unit</div><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Cambridge, CB2 0XY</div><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">United Kingdom</div></div></div>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On 21 Mar 2017, at 15:59, Paolo Cravero <<a href="mailto:paolo.cravero@csi.it" class="">paolo.cravero@csi.it</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<meta charset="UTF-8" class="">
<div class=""><p class=""><br class=""></p><blockquote type="cite" class=""><p class="">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.</p></blockquote><p class="">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.<br class=""></p><p class=""><br class=""></p><p class="">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).<br class=""></p><p class="">Is there a way to achieve the same result somehow, with stock cyrus?<br class=""></p><p class="">Paolo<br class=""></p><p class=""><br class=""></p><blockquote type="cite" class=""><div class="ox-728f26e12b-moz-cite-prefix">On 03/17/2017 11:01 AM, Paolo Cravero wrote:<br class=""></div><blockquote type="cite" class=""><div class="">Hello.</div><div class="">I am trying to figure out if sieve, with RFC5490 support, is able to read user's disk quota (used) and act accordingly.</div><div class=""> </div><div class="">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 %.</div><div class=""> </div><div class="">If sieve doesn't support this, is there another way to do it?</div><div class=""> </div><div class="">Thanks and have a nice weekend,</div><div class="">Paolo</div><br class=""> <br class=""><pre class="">----
Cyrus Home Page: <a class="ox-728f26e12b-moz-txt-link-freetext" href="http://www.cyrusimap.org/">http://www.cyrusimap.org/</a>
List Archives/Info: <a class="ox-728f26e12b-moz-txt-link-freetext" href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/">http://lists.andrew.cmu.edu/pipermail/info-cyrus/</a>
To Unsubscribe:
<a class="ox-728f26e12b-moz-txt-link-freetext" href="https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus">https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus</a><br class=""></pre></blockquote></blockquote></div>
----<br class="">Cyrus Home Page: <a href="http://www.cyrusimap.org/" class="">http://www.cyrusimap.org/</a><br class="">List Archives/Info: <a href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/" class="">http://lists.andrew.cmu.edu/pipermail/info-cyrus/</a><br class="">To Unsubscribe:<br class=""><a href="https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus" class="">https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus</a></div></blockquote></div><br class=""></div></div></body></html>