<html>
  <head>
    <meta content="text/html; charset=ISO-8859-15"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Paul,<br>
    running amavis in debug mode has unveiled a misconfiguration, I'm a
    bit embarassed to say that. I've been too sure that I had made no
    mistake during bootstrapping kolab and it turned out that the fqdn
    was incomplete. After I had corrected the amavis configuration,
    postfix complained exactly the same, so I corrected that and also
    the settings in kolab.conf. Since then the server works fine. Thanks
    for showing me how to run parts of kolab in debug mode, this is very
    very helpful.<br>
    Best regards,<br>
    Dirk<br>
    <br>
    On 05/25/2012 06:24 PM, Paul Klos wrote:
    <blockquote cite="mid:2108597.PPT5AMJjt7@apollo" 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:80px;
        margin-right:80px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;">Hi Dirk, </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:80px;
        margin-right:80px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;"> </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:80px;
        margin-right:80px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;">I understood your German message just fine,
        but usually the language here is English, so that's what I
        replied in. </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:80px;
        margin-right:80px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;"> </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:80px;
        margin-right:80px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;">From the logging you posted I'd say that
        amavisd isn't running, that's why ps shows nothing and 10024
        doesn't show in netstat. </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:80px;
        margin-right:80px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;"> </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:80px;
        margin-right:80px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;">It does seem however, from the amavisd.log
        you posted, that it does start, because you do get this Perl
        version message </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:80px;
        margin-right:80px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;"> </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:80px;
        margin-right:80px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;">Perl version 5.010000 </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:80px;
        margin-right:80px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;"> </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:80px;
        margin-right:80px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;">So it seems for some reason amavisd doesn't
        stay running. If that's true, there can be any number of
        reasons, such as some issue in the config file, or certain file
        privileges, a port conflict, etc. </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:80px;
        margin-right:80px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;"> </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:80px;
        margin-right:80px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;">If you start kolab, amavisd will start as a
        deamon and run in the background. Your only information will
        come from the log file, which doesn't tell us a lot. </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:80px;
        margin-right:80px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;"> </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:80px;
        margin-right:80px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;">That's where my question came from. So, you
        might try these steps: </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:80px;
        margin-right:80px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;"> </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:80px;
        margin-right:80px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;"># Stop the daemon </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:80px;
        margin-right:80px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;">/kolab/bin/openpkg rc amavisd stop </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:80px;
        margin-right:80px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;"># then run amavisd 'by hand' </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:80px;
        margin-right:80px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;">/kolab/sbin/amavisd -u kolab-r -c
        /kolab/etc/amavisd/amavisd.conf debug </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:80px;
        margin-right:80px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;"> </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:80px;
        margin-right:80px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;">Not 100% sure about the command, I've never
        tried this. I got the options from running /kolab/sbin/amavisd
        -h. </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:80px;
        margin-right:80px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;"> </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:80px;
        margin-right:80px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;">A quick internet search also gave me this: </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:80px;
        margin-right:80px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;"><a moz-do-not-send="true"
          href="http://www.ijs.si/software/amavisd/#faq-trouble"><span
            style=" text-decoration: underline; color:#00458a;">http://www.ijs.si/software/amavisd/#faq-trouble</span></a>
      </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:80px;
        margin-right:80px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;"> </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:80px;
        margin-right:80px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;">So there's more info out there about how to
        do this. </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:80px;
        margin-right:80px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;"> </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:80px;
        margin-right:80px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;">Anyway, once you get amavisd running in your
        console window in debug mode, hopefully you'll get some more
        info that will helpl you solve this. </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:80px;
        margin-right:80px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;"> </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:80px;
        margin-right:80px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;">Please post any strange stuff you might find
        that you have no explanation for. </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:80px;
        margin-right:80px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;"> </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:80px;
        margin-right:80px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;">Cheers, </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:80px;
        margin-right:80px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;"> </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:80px;
        margin-right:80px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;">Paul </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:80px;
        margin-right:80px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;"> </p>
    </blockquote>
    <br>
  </body>
</html>