<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><tt>Try setting this temporarily and see what happens:</tt></p>
    <p><tt>Rebuild Bayes Every = 0</tt></p>
    <p><tt>Wait During Bayes Rebuild = no<br>
      </tt></p>
    <p><tt>I'm wondering if your child is hung waiting on a bayes
        rebuild that never completes.<br>
      </tt></p>
    <div class="moz-cite-prefix">On 8/1/20 9:01 AM, Shawn Iverson via
      MailScanner wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:ba44a295-2d12-0dd9-c0f2-7a1b71cd76c5@summitgrid.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <p><tt>The child dying is normal. What is not normal is the end of
          your log.</tt></p>
      <p><tt>You should see the parent spawning a new child, which it
          does...</tt></p>
      <p><tt>Aug  1 19:45:00 border MailScanner[3918]: MailScanner Email
          Processor version 5.3.3 starting...</tt></p>
      <p><tt> but it appears it is stalling because there are no entries
          that it is reading in your configs.</tt></p>
      <div class="moz-cite-prefix">On 8/1/20 8:51 AM, Budi F wrote:<br>
      </div>
      <blockquote type="cite"
cite="mid:CAC+B5EJtHWx7s9NH0JdDTNGq8KMgVwy6QJA9c=egqMiRX-zwyA@mail.gmail.com">
        <meta http-equiv="content-type" content="text/html;
          charset=UTF-8">
        <div dir="ltr">I found this in maillog,
          <div><br>
          </div>
          <div>is this normal rebuild is due, Found 0 messages, and
            mailscanner child dying after bayes rebuild?<br>
            <div><br>
            </div>
            <div>=====start</div>
            <div>Aug  1 19:44:58 border MailScanner[3910]: MailScanner
              Email Processor version 5.3.3 starting...<br>
              Aug  1 19:44:58 border MailScanner[3910]: Reading
              configuration file /etc/MailScanner/MailScanner.conf<br>
              Aug  1 19:44:58 border MailScanner[3910]: Reading
              configuration file /etc/MailScanner/conf.d/README<br>
              Aug  1 19:44:58 border MailScanner[3910]: Read 1500
              hostnames from the phishing whitelist<br>
              Aug  1 19:44:58 border MailScanner[3910]: Read 8480
              hostnames from the phishing blacklists<br>
              Aug  1 19:44:58 border MailScanner[3910]: Config: calling
              custom init function MailWatchLogging<br>
              Aug  1 19:44:58 border MailScanner[3910]: MailWatch:
              Started MailWatch SQL Logging child<br>
              <b>*Aug  1 19:44:58 border MailScanner[3910]: Bayes
                database rebuild is due</b><br>
              Aug  1 19:44:58 border MailScanner[3910]: Using
              SpamAssassin results cache<br>
              Aug  1 19:44:58 border MailScanner[3910]: Connected to
              SpamAssassin cache database<br>
              Aug  1 19:44:58 border MailScanner[3910]: SpamAssassin
              Bayes database rebuild starting<br>
              Aug  1 19:44:59 border MailScanner[3910]: SpamAssassin
              Bayes database rebuild completed<br>
              Aug  1 19:44:59 border MailScanner[3910]: Enabling
              SpamAssassin auto-whitelist functionality...<br>
              Aug  1 19:45:00 border MailScanner[3910]: Connected to
              Processing Attempts Database<br>
              <b>*Aug  1 19:45:00 border MailScanner[3910]: Found 0
                messages in the Processing Attempts Database</b><br>
              Aug  1 19:45:00 border MailScanner[3910]: Using locktype =
              flock<br>
              Aug  1 19:45:00 border MailScanner[3910]: Config: calling
              custom end function MailWatchLogging<br>
              <b>*Aug  1 19:45:00 border MailScanner[3910]: MailScanner
                child dying after Bayes rebuild</b><br>
              Aug  1 19:45:00 border MailScanner[3918]: MailScanner
              Email Processor version 5.3.3 starting...<br>
            </div>
            <div>=====end</div>
          </div>
          <div><br>
          </div>
          <div>Regards</div>
        </div>
        <br>
        <div class="gmail_quote">
          <div dir="ltr" class="gmail_attr">On Sat, Aug 1, 2020 at 7:12
            PM Shawn Iverson via MailScanner <<a
              href="mailto:mailscanner@lists.mailscanner.info"
              moz-do-not-send="true">mailscanner@lists.mailscanner.info</a>>
            wrote:<br>
          </div>
          <blockquote class="gmail_quote" style="margin:0px 0px 0px
            0.8ex;border-left:1px solid
            rgb(204,204,204);padding-left:1ex">
            <div>
              <p><tt>Any clues in /var/log/maillog or /var/log/messages
                  in regard to the MailScanner daemon?<br>
                </tt></p>
              <div>On 8/1/20 12:18 AM, Budi F wrote:<br>
              </div>
              <blockquote type="cite">
                <div dir="ltr">Hi,
                  <div><br>
                  </div>
                  <div>I'm trying to install mailscanner in centos 7
                    with postfix</div>
                  <div><br>
                  </div>
                  <div>It's working fine, but at least in every 3,4
                    hours all the email stuck in incoming directory, </div>
                  <div>/var/spool/postfix/hold</div>
                  <div><br>
                  </div>
                  <div>Restarting the mailscanner will solved the
                    problem, all emails in hold directory fill be
                    delivered, but then this will happen again</div>
                  <div><br>
                  </div>
                  <div>Temporary, with cron, I restart the mailscanner
                    service in every 2 hours</div>
                  <div><br>
                  </div>
                  <div>My configuration:</div>
                  <div>Centos 7</div>
                  <div>postfix-2.10.1-9.el7.x86_64<br>
                  </div>
                  <div>MailWatch Version: 1.2.15<br>
                  </div>
                  <div>spamassassin-3.4.0-5.el7_7.x86_64<br>
                  </div>
                  <div>clamd-0.102.3-1.el7.x86_64<br>
                  </div>
                  <div><br>
                  </div>
                  <div>drwxrwx---. 2 postfix mtagroup    6 Aug  1 11:02
                    hold<br>
                  </div>
                  <div><br>
                  </div>
                  <div>And the files under hold directory are own by
                    postfix.postfix</div>
                  <div> <br>
                  </div>
                  <div>Member of mtagroup</div>
                  <div>postfix mail clamscan apache <br>
                  </div>
                  <div><br>
                  </div>
                  <div>Why is sometime the emails stuck in the hold
                    directory, and what are the solutions?</div>
                  <div><br>
                  </div>
                  <div>Regards</div>
                </div>
                <br>
                <fieldset></fieldset>
              </blockquote>
              <div>-- <br>
                <img
                  src="http://mailserver.summitgrid.org/logo_text_sig.png"
                  moz-do-not-send="true"><br>
                Shawn Iverson<br>
                <a href="mailto:shawniverson@summitgrid.com"
                  target="_blank" moz-do-not-send="true">shawniverson@summitgrid.com</a><br>
              </div>
            </div>
            <br>
            <br>
            -- <br>
            MailScanner mailing list<br>
            <a href="mailto:mailscanner@lists.mailscanner.info"
              target="_blank" moz-do-not-send="true">mailscanner@lists.mailscanner.info</a><br>
            <a
              href="http://lists.mailscanner.info/mailman/listinfo/mailscanner"
              rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
            <br>
          </blockquote>
        </div>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
      </blockquote>
      <div class="moz-signature">-- <br>
        <img src="http://mailserver.summitgrid.org/logo_text_sig.png"
          moz-do-not-send="true"><br>
        Shawn Iverson<br>
        <a class="moz-txt-link-abbreviated"
          href="mailto:shawniverson@summitgrid.com"
          moz-do-not-send="true">shawniverson@summitgrid.com</a><br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">

</pre>
    </blockquote>
    <div class="moz-signature">-- <br>
      <img src="http://mailserver.summitgrid.org/logo_text_sig.png"><br>
      Shawn Iverson<br>
      <a class="moz-txt-link-abbreviated" href="mailto:shawniverson@summitgrid.com">shawniverson@summitgrid.com</a><br>
    </div>
  </body>
</html>