<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Good morning,</p>
    <p><br>
    </p>
    <p>What happens if you launch the cyradm from a remote machine?. For
      instance in a FreeBSD with another Perl version?. Does it work?. <br>
    </p>
    <p><br>
    </p>
    <p>Best regards,<br>
    </p>
    <br>
    <div class="moz-cite-prefix">El 19/8/17 a las 13:18, Per olof
      Ljungmark escribió:<br>
    </div>
    <blockquote type="cite"
      cite="mid:3f6613f7-0fa1-6c0b-f26c-a9ea9da674ee@intersonic.se">
      <pre wrap="">Hi all,

Wonder if someone can offer help.

Host is FreeBSD 11.0-STABLE #0 r316644M and cyrus 2.5.11 in a jail.
If I run cyradm as user cyrus (admin) and issue the lq command, usually
there is a proper response at first, but subsequent commands fail. This
could very well be a FreeBSD problem but I thought I'll ask here first.

1st:

read(0,"lq user/<mailbox>\n",8192)                  = 15 (0xf)
write(3,"8 GETQUOTA user/<mailbox>\r\n",24)         = 24 (0x18)
select(4,{ 3 },{ },0x0,0x0)                      = 1 (0x1)
read(3,"* QUOTA user/<mailbox> (STORAGE 888619 10000000)\r\n8 OK
Completed\r\n",4096) = 63 (0x3f)
write(1," STORAGE 888619/10000000",24)           = 24 (0x18)
write(1," (8.88619%)",11)                        = 11 (0xb)
write(1,"\n",1)                                  = 1 (0x1)
write(1,"192.168.64.12> ",15)                    = 15 (0xf)

and following

read(0,"lq user/<mailbox>\n",8192)                  = 15 (0xf)
write(3,"10 GETQUOTA user/<mailbox>\r\n",25)        = 25 (0x19)
select(4,{ 3 },{ },0x0,0x0)                      = 1 (0x1)
read(3,"* QUOTA user/<mailbox> (STORAGE 888619 10000000)\r\n10 OK
Completed\r\n",4096) = 64 (0x40)
write(1,"192.168.64.12> ",15)                    = 15 (0xf)

As one can see, cyradm does not write out the info, just reads it.

There are no quota problems AFAICS, bin/quota and -f all works as
expected and mail agents sees proper quota info, so I am inclined to
think there is something fishy with cyradm or possibly something I
cannot see with the quotas.

Same with both quotas.db twoskip and quotalegacy. Other cyradm commands
works fine.

Thanks!

//per
----
Cyrus Home Page: <a class="moz-txt-link-freetext" href="http://www.cyrusimap.org/">http://www.cyrusimap.org/</a>
List Archives/Info: <a class="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="moz-txt-link-freetext" href="https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus">https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus</a>
</pre>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <style>
body {
        font-family:Helvetica, Arial, sans-serif;
        font-size:12px;
        color:#333;
}
.moz-signature { color:#333!important; }
.firmasarenet {
        font-family:Helvetica, Arial, sans-serif;
        text-align:left;
        color:#333333;
}
.titulosarenet {
        font-family:Helvetica, Arial, sans-serif;
        font-weight:bold;
        font-size:12px;
        color:#333333;
}
.textosarenet {
        font-family:Helvetica, Arial, sans-serif;
        font-weight:bold;
        font-size:12px;
        color:#333333;
}
.dptosarenet { }
.imgsarenet { margin:0px 0px 10px 0px }
.imgsarenet img { }
.lnksarenet {
        color:#007AC4!important;
        font-size:12px;
        line-height:1.2;
        text-decoration:underline;
}
.firmasarenet a { color:#007ac4!important }
.imprimirsarenet {
        font-family:Helvetica, Arial, sans-serif;
        font-weight:normal;
        font-size:10px;
        line-height:1.2;
        color:#006600
}
</style><br>
      <br>
      <div style="clear:both; text-align:left;" class="firmasarenet">
        <div style="margin:0 0 10px 0" class="imgsarenet"><img
            src="https://www.sarenet.es/estaticos/LogoSarenetEmails.png?newlogo"
            alt="sarenet"></div>
        <div style="font-family:Helvetica, Arial, sans-serif;
          font-weight:bold; font-size:14px; color:#333333"
          class="titulosarenet"><strong>Egoitz Aurrekoetxea</strong></div>
        <div style="font-family:Helvetica, Arial, sans-serif;
          font-weight:normal; font-size:12px; color:#333333"
          class="dptosarenet">Departamento de sistemas</div>
        <div style="font-family:Helvetica, Arial, sans-serif;
          font-weight:normal; font-size:12px; color:#333333"
          class="textosarenet">944 209 470<br>
          Parque Tecnológico. Edificio 103<br>
          48170 Zamudio (Bizkaia)</div>
        <div style="font-family:Helvetica, Arial, sans-serif;
          font-weight:normal; font-size:12px; color:#007AC4;
          line-height:1.2" class="lnksarenet"><a id="mailto" style="
            font-size:12px; color:#007AC4; text-decoration:underline;"
            href="mailto:egoitz@sarenet.es"><label id="label_email">egoitz@sarenet.es</label></a></div>
        <div style="font-family:Helvetica, Arial, sans-serif;
          font-weight:normal; font-size:12px; color:#007AC4;
          line-height:1.2" class="lnksarenet"><a
            href="https://www.sarenet.es" style=" font-size:12px;
            color:#007AC4; text-decoration:underline;">www.sarenet.es</a></div>
        <br>
        <div style="font-family:Helvetica, Arial, sans-serif;
          font-weight:normal; font-size:10px; color:#A0C361"
          class="imprimirsarenet">Antes de imprimir este correo
          electrónico piense si es necesario hacerlo.</div>
      </div>
    </div>
  </body>
</html>