<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix"><br>
      <br>
      <br>
      Hi,<br>
      this fix i tried already.<br>
      Works two times and then stalls again.<br>
      Also i created a new package of python-mysqldb pulling from
      sourceforge (1.2.4b4) which changed nothing.<br>
      So, the bug must be in the sqlalchemy code of the smtp policy
      python script.<br>
      I think the spawned processes are deadlocking the mysql connection
      until a timeout happens.<br>
      <br>
      25854 ?        S      0:00 spawn -n sender_policy_incoming -t unix
      user=kolab-n argv=/usr/lib/postfix/kolab_smtp_access_policy
      --verify-sender --allow-unauthenticated -d 9 -l info<br>
      25857 ?        S      0:00 spawn -n recipient_policy_incoming -t
      unix user=kolab-n argv=/usr/lib/postfix/kolab_smtp_access_policy
      --verify-recipient --allow-unauthenticated -d 9 -l info<br>
      25864 ?        S      0:00 spawn -n sender_policy_incoming -t unix
      user=kolab-n argv=/usr/lib/postfix/kolab_smtp_access_policy
      --verify-sender --allow-unauthenticated -d 9 -l info<br>
      25869 ?        Ss     0:00 /usr/bin/python
      /usr/lib/postfix/kolab_smtp_access_policy --verify-sender
      --allow-unauthenticated -d 9 -l info<br>
      25871 ?        Ss     0:00 /usr/bin/python
      /usr/lib/postfix/kolab_smtp_access_policy --verify-recipient
      --allow-unauthenticated -d 9 -l info<br>
      <br>
       344 | kolab | localhost | kolab | Query   | 30   | updating |
      DELETE FROM policy_result WHERE policy_result.created <
      1394876634 |<br>
      <br>
      Rgds.<br>
      <br>
      Franz<br>
      <br>
      <br>
      Am 15.03.14 22:10, schrieb Scott Newton:<br>
    </div>
    <blockquote cite="mid:1696578.5LVBqu9Lc8@alpha" type="cite">
      <meta name="qrichtext" content="1">
      <style type="text/css">
p, li { white-space: pre-wrap; }
</style>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
        margin-right:0px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;">On Sat, 15 Mar 2014 12:03:39 Franz Skale
        wrote:</p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
        margin-right:0px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;">> Perhaps someone has a fix for it ?</p>
      <p style="-qt-paragraph-type:empty; margin-top:0px;
        margin-bottom:0px; margin-left:0px; margin-right:0px;
        -qt-block-indent:0; text-indent:0px; "> </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
        margin-right:0px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;">Not a code fix but to manually fix it do:</p>
      <p style="-qt-paragraph-type:empty; margin-top:0px;
        margin-bottom:0px; margin-left:0px; margin-right:0px;
        -qt-block-indent:0; text-indent:0px; "> </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
        margin-right:0px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;"><span style=" font-family:'courier std';">1.
          Stop postfix</span></p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
        margin-right:0px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;"><span style=" font-family:'courier std';">2.
          delete * from policy_result;</span></p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
        margin-right:0px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;"><span style=" font-family:'courier std';">3.
          Start postfix</span></p>
      <p style="-qt-paragraph-type:empty; margin-top:0px;
        margin-bottom:0px; margin-left:0px; margin-right:0px;
        -qt-block-indent:0; text-indent:0px; "> </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
        margin-right:0px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;">I've had this happen to me twice but haven't
        been able to figure out what causes it. I suspect something to
        do with upgrading/restarting but nothing definitive.</p>
      <p style="-qt-paragraph-type:empty; margin-top:0px;
        margin-bottom:0px; margin-left:0px; margin-right:0px;
        -qt-block-indent:0; text-indent:0px; "> </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
        margin-right:0px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;">Hope this helps.</p>
      <p style="-qt-paragraph-type:empty; margin-top:0px;
        margin-bottom:0px; margin-left:0px; margin-right:0px;
        -qt-block-indent:0; text-indent:0px; "> </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
        margin-right:0px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;">-- </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
        margin-right:0px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;">Regards</p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
        margin-right:0px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;">Scott Newton</p>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.kolab.org">users@lists.kolab.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kolab.org/mailman/listinfo/users">https://lists.kolab.org/mailman/listinfo/users</a></pre>
    </blockquote>
    <br>
  </body>
</html>