<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.8.5">
</HEAD>
<BODY LINK="#0563c1">
Hi Xavier,<BR>
<BR>
I see some issues with both approaches (logging and running a command)<BR>
if done by valvula directly.<BR>
<BR>
Because how this can be implemented very depends on personal<BR>
preferences, I'll include support to make valvula to drop current quota<BR>
status by domain and by users so you can pick that information from a<BR>
file and implement needed notify options...<BR>
<BR>
Best Regards,<BR>
<BR>
<BR>
El mar, 18-07-2017 a las 12:44 +0000, LAURE Xavier escribió:
<BLOCKQUOTE TYPE=CITE>
    Hi francis,<BR>
    <BR>
     <BR>
    <BR>
    Thank for your answer…<BR>
    <BR>
     <BR>
    <BR>
    In my first approach I was thinking to use a python script to send an advice to the user and his domain admin (for checking if the account is pirated of if it’s a normal use) for example  when this account is at a first level ( 80 % of the quota )… <BR>
    <BR>
     <BR>
    <BR>
    But it’s certainly better (an easier for me) if valvula can indicate a kind of “soft limit” with a log alarm.<BR>
    <BR>
    I can after make a script to send the appropriate mail to the good admin and trying to be “pro active” with the pirated account.<BR>
    <BR>
    For me, this approach is more user friendly than putting a too small quota.<BR>
    <BR>
     <BR>
    <BR>
    Thank for all your stuff…<BR>
    <BR>
    Best Regards,<BR>
    <BR>
     <BR>
    <BR>
     <BR>
    <BR>
     <BR>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <B>De :</B> Francis Brosnan Blázquez [mailto:francis.brosnan@aspl.es] <BR>
    <B>Envoyé :</B> mardi 18 juillet 2017 13:35<BR>
    <B>À :</B> LAURE Xavier <Xavier.LAURE@dr8.cnrs.fr><BR>
    <B>Cc :</B> valvula@lists.aspl.es<BR>
    <B>Objet :</B> Re: [Valvula] check user quota status before the quota limit<BR>
    <BR>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
     <BR>
    <BR>
    Hi Xavier,<BR>
    <BR>
    Currently, it is not possible to know from out side valvula's process<BR>
    current users' quota, as it is a living structure in memory...<BR>
    <BR>
    How you would expect it be checked/queried? <BR>
    <BR>
    Best Regards,<BR>
    <BR>
    <BR>
    El mar, 18-07-2017 a las 11:21 +0000, LAURE Xavier escribió: <BR>
    <BR>
    <BLOCKQUOTE>
        Hi,<BR>
        <BR>
         <BR>
        <BR>
        I’m evaluating  valvula and mod-quota for our site and it’seems to work fine.<BR>
        <BR>
         <BR>
        <BR>
        But I want to check the users quota account status before they reache the maximum allocated quota.<BR>
        <BR>
         <BR>
        <BR>
        Is-it possible to do this ? <BR>
        <BR>
         <BR>
        <BR>
        Regards,<BR>
        <BR>
         <BR>
        <BR>
        xavier<BR>
        <BR>
        ----------------------<BR>
        <BR>
          Xavier Laure<BR>
        <BR>
          CNRS- Délégation Centre Limousin Poitou-Charentes<BR>
        <BR>
          Campus CNRS d’Orléans<BR>
        <BR>
          3E Avenue de la recherche scientifique <BR>
        <BR>
          Tel : 0238257617<BR>
        <BR>
        -----------------------------------<BR>
        <BR>
         <BR>
        <BR>
         <BR>
        <BR>
        <BR>
        <BR>
<PRE>
 
_______________________________________________
Valvula mailing list
<A HREF="mailto:Valvula@lists.aspl.es">Valvula@lists.aspl.es</A>
<A HREF="http://lists.aspl.es/cgi-bin/mailman/listinfo/valvula">http://lists.aspl.es/cgi-bin/mailman/listinfo/valvula</A>
</PRE>
    </BLOCKQUOTE>
    <BR>
     <BR>
    <BR>
    <TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
-- Francis Brosnan Blázquez - ASPL 91 134 14 22 - 91 134 14 45 - 91 116 07 57 <BR>
<BR>
<A HREF="http://aspl.es">http://aspl.es</A> <A HREF="http://asplhosting.com">http://asplhosting.com</A> <A HREF="http://twitter.com/aspl_es">http://twitter.com/aspl_es</A> <A HREF="http://twitter.com/asplhosting">http://twitter.com/asplhosting</A> <BR>
<BR>
AVISO LEGAL <BR>
<BR>
Este mensaje se dirige exclusivamente a su destinatario. Los datos incluidos en el presente correo son confidenciales y sometidos a secreto profesional, se prohíbe divulgarlos, en virtud de las leyes vigentes. Si usted no lo es y lo ha recibido por error o tiene conocimiento del mismo por cualquier motivo, le rogamos que nos lo comunique por este medio y proceda a destruirlo o borrarlo. <BR>
<BR>
En virtud de lo dispuesto en la Ley Orgánica 15/1999, de 13 de diciembre, de Protección de Datos de Carácter Personal, le informamos de que sus datos de carácter personal, recogidos de fuentes accesibles al público o datos que usted nos ha facilitado previamente, proceden de bases de datos propiedad de Advanced Software Production Line, S.L. (ASPL). No obstante, usted puede ejercitar sus derechos de acceso, rectificación, cancelación y oposición dispuestos en la mencionada Ley Orgánica, notificándolo por escrito a: ASPL - Protección Datos, C/Antonio Suárez 10 A-102, 28802, Alcalá de Henares (Madrid). <BR>
<BR>
<BR>
</TD>
</TR>
</TABLE>
    <BR>
     <BR>
    <BR>
    <BR>
</BLOCKQUOTE>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
-- 
Francis Brosnan Blázquez - ASPL
91 134 14 22 - 91 134 14 45 - 91 116 07 57
<BR>
<BR>
<A HREF="http://aspl.es">http://aspl.es</A>
<A HREF="http://asplhosting.com">http://asplhosting.com</A>
<A HREF="http://twitter.com/aspl_es">http://twitter.com/aspl_es</A>
<A HREF="http://twitter.com/asplhosting">http://twitter.com/asplhosting</A>
<BR>
<BR>
AVISO LEGAL
<BR>
<BR>
Este mensaje se dirige exclusivamente a su destinatario. Los datos
incluidos en el presente correo son confidenciales y sometidos a secreto
profesional, se prohíbe divulgarlos, en virtud de las leyes vigentes. Si
usted no lo es y lo ha recibido por error o tiene conocimiento del mismo
por cualquier motivo, le rogamos que nos lo comunique por este medio y
proceda a destruirlo o borrarlo.
<BR>
<BR>
En virtud de lo dispuesto en la Ley Orgánica 15/1999, de 13 de
diciembre, de Protección de Datos de Carácter Personal, le informamos de
que sus datos de carácter personal, recogidos de fuentes accesibles al
público o datos que usted nos ha facilitado previamente, proceden de
bases de datos propiedad de Advanced Software Production Line, S.L.
(ASPL). No obstante, usted puede ejercitar sus derechos de acceso,
rectificación, cancelación y oposición dispuestos en la mencionada Ley
Orgánica, notificándolo por escrito a:
ASPL - Protección Datos, C/Antonio Suárez 10 A-102, 28802, Alcalá de
Henares (Madrid).
<BR>
<BR>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>