<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Thank you Shawn,</p>
    <p>It seems you are right.</p>
    <p>root@ns:/home/laskov# ls -la /root/.spamassassin<br>
      ........<br>
      -rw-------  1 root root   2580480 oct  2 14:49
      bayes_toks.expire9947<br>
      -rw-------  1 root root   1306624 oct 29 14:58
      bayes_toks.expire9954<br>
      -rw-------  1 root root   2535424 dec 11 13:38
      bayes_toks.expire9984<br>
      -rw-------  1 root root   2465792 oct 25 10:52
      bayes_toks.expire9990<br>
      -rw-------  1 root root   2572288 sep 26 05:38
      bayes_toks.expire9992<br>
      -rw-r--r--  1 root root      1869 oct 19  2016 user_prefs<br>
      <br>
      root@ns:/home/laskov# ls -la
      /root/.spamassassin/bayes_toks.expire* | wc -l<br>
      4573<br>
    </p>
    But I still have no idea how to resolve this.<br>
    <br>
    <div class="moz-cite-prefix">На 03.01.2018 г. в 13:17, Shawn Iverson
      написа:<br>
    </div>
    <blockquote type="cite"
cite="mid:CABu_8z+NkX-1R15NDJpQrVg8Mukd4rRmsSPP6PNKJCLicS7cmQ@mail.gmail.com">
      <div dir="ltr">Going to take a guess, I think bayes may be the
        primary issue....
        <div><br>
        </div>
        <div><span style="font-size:12.8px">__alarm__ignore__(26/::Plugin:</span><span
            style="font-size:12.8px"><wbr>:Check::run_eval_tests/1105)</span><br>
        </div>
        <div><span style="font-size:12.8px"><br>
          </span></div>
        <div><span style="font-size:12.8px">You can also remove this
            file, unless it contains custom code you need move into
            CustomAction.pm:</span></div>
        <div><span style="font-size:12.8px"><br>
          </span></div>
        <div><span style="font-size:12.8px">Skipping Custom Function
            file CustomAction.pm.orig as its name does not end in .pm or
            .pl</span><span style="font-size:12.8px"><br>
          </span></div>
        <div><span style="font-size:12.8px"><br>
          </span></div>
        <div><span style="font-size:12.8px">And these, which could be
            related...seems that email metadata is lost in the process
            of scanning the email...probably need to fix bayes first and
            see what happens.</span></div>
        <div><span style="font-size:12.8px"><br>
          </span></div>
        <div><span style="font-size:12.8px">mktemp: invalid option --
            '-'</span><br style="font-size:12.8px">
          <span style="font-size:12.8px">Usage: mktemp [-V] | [-dqtu]
            [-p prefix] [template]</span><span style="font-size:12.8px"><br>
          </span></div>
        <div><span style="font-size:12.8px"><br>
          </span></div>
        <div><span style="font-size:12.8px">Can't use an undefined value
            as an ARRAY reference at /usr/share/MailScanner/perl/Ma</span><span
            style="font-size:12.8px"><wbr>ilScanner/Sendmail.pm line
            731.</span><br style="font-size:12.8px">
        </div>
        <div><span style="font-size:12.8px"><br>
          </span></div>
        <div><span style="font-size:12.8px"><br>
          </span></div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Wed, Jan 3, 2018 at 5:31 AM,
          Valentin Laskov <span dir="ltr"><<a
              href="mailto:it@festa.bg" target="_blank"
              moz-do-not-send="true">it@festa.bg</a>></span> wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi and
            Happy New Year!<br>
            <br>
            I see a great delay in the work of MailScanner and
            SpamAssassin. I increased SpamAssassin timeout in
            MailScanner.conf but I know this is not a solution. I still
            have<br>
            <br>
            # cat /var/log/maillog | grep "SpamAssassin timed out" | wc
            -l<br>
            90<br>
            <br>
            Please help me to debug my configuration!<br>
            <br>
            This is the output of MailScanner --debug-sa<br>
            .....<br>
            10:39:11 Jan  3 10:39:11.708 [11536] dbg: rules: compiled
            meta tests<br>
            10:39:11 Jan  3 10:39:11.718 [11536] dbg: check: is spam?
            score=4.178 required=5<br>
            10:39:11 Jan  3 10:39:11.720 [11536] dbg: check:
            tests=MISSING_DATE,MISSING_HEA<wbr>DERS,MISSING_SUBJECT,NO_RECEIV<wbr>ED,NO_RELAYS<br>
            10:39:11 Jan  3 10:39:11.721 [11536] dbg: check:
            subtests=__BODY_TEXT_LINE,__DK<wbr>IM_DEPENDABLE,__EMPTY_BODY,__<wbr>GATED_THROUGH_RCVD_REMOVER,__H<wbr>AS_FROM,__HAS_MESSAGE_ID,__HAS<wbr>_MSGID,__KHOP_NO_FULL_NAME,__<wbr>MISSING_REF,__MISSING_REPLY,__<wbr>MSGID_OK_DIGITS,__MSGID_OK_HOS<wbr>T,__MSOE_MID_WRONG_CASE,__NONE<wbr>MPTY_BODY,__NOT_SPOOFED,__SANE<wbr>_MSGID,__SUBJ_SHORT,__TO_NO_<wbr>ARROWS_R,__UNUSABLE_MSGID<br>
            10:39:11 Jan  3 10:39:11.724 [11536] dbg: check: tagrun -
            tag DKIMDOMAIN is still blocking action 0<br>
            10:39:11 Jan  3 10:39:11.733 [11536] dbg: plugin:
            Mail::SpamAssassin::Plugin::Ba<wbr>yes=HASH(0x418ddc0)
            implements 'learner_close', priority 0<br>
            10:39:11 Jan  3 10:39:11.736 [11536] dbg: bayes: untie-ing<br>
            =>10:39:11 Building a message batch to scan...<br>
            =>10:51:59 Have a batch of 1 message.<br>
            10:52:00 Stopping now as you are debugging me.<br>
            <br>
            This is the output of MailScanner --lint . The timeout is
            just after "Connected to SpamAssassin cache database"<br>
            <br>
            Trying to setlogsock(unix)<br>
            Skipping Custom Function file CustomAction.pm.orig as its
            name does not end in .pm or .pl<br>
            <br>
            Reading configuration file /etc/MailScanner/MailScanner.c<wbr>onf<br>
            Reading configuration file /etc/MailScanner/conf.d/README<br>
            Reading configuration file /etc/MailScanner/conf.d/custom<wbr>.laskov.conf<br>
            Read 1501 hostnames from the phishing whitelist<br>
            Read 12755 hostnames from the phishing blacklists<br>
            <br>
            Checking version numbers...<br>
            Version number in MailScanner.conf (5.0.3) is correct.<br>
            <br>
            Your envelope_sender_header in spamassassin.conf is correct.<br>
            <br>
            Checking for SpamAssassin errors (if you use it)...<br>
            Using SpamAssassin results cache<br>
            Connected to SpamAssassin cache database<br>
            bayes: expire_old_tokens: __alarm__ignore__(26/::Plugin:<wbr>:Check::run_eval_tests/1105)<br>
            SpamAssassin reported no errors.<br>
            Connected to Processing Attempts Database<br>
            Created Processing Attempts Database successfully<br>
            There are 0 messages in the Processing Attempts Database<br>
            Using locktype = posix<br>
            MailScanner.conf says "Virus Scanners = clamd"<br>
            mktemp: invalid option -- '-'<br>
            Usage: mktemp [-V] | [-dqtu] [-p prefix] [template]<br>
            Found these virus scanners installed: clamd<br>
            ==============================<wbr>==============================<wbr>===============<br>
            Can't use an undefined value as an ARRAY reference at
            /usr/share/MailScanner/perl/Ma<wbr>ilScanner/Sendmail.pm
            line 731.<br>
            <br>
            <br>
            Thank you!<span class="HOEnZb"><font color="#888888"><br>
                <br>
                Valentin Laskov<br>
                <br>
                <br>
                <br>
                <br>
                -- <br>
                MailScanner mailing list<br>
                <a href="mailto:mailscanner@lists.mailscanner.info"
                  target="_blank" moz-do-not-send="true">mailscanner@lists.mailscanner.<wbr>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/<wbr>mailman/listinfo/mailscanner</a><br>
                <br>
              </font></span></blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <div class="gmail_signature" data-smartmail="gmail_signature">
          <div dir="ltr">
            <div>
              <div dir="ltr">
                <div>
                  <div dir="ltr">
                    <div>
                      <div dir="ltr">
                        <div>
                          <div dir="ltr">
                            <div dir="ltr">
                              <div dir="ltr">Shawn Iverson, CETL
                                <div>Director of Technology</div>
                                <div>Rush County Schools</div>
                                <div>765-932-3901 x1171</div>
                                <div><a
                                    href="mailto:iversons@rushville.k12.in.us"
                                    target="_blank"
                                    moz-do-not-send="true">iversons@rushville.k12.in.us</a></div>
                                <div><br>
                                </div>
                                <div><img
src="https://docs.google.com/uc?export=download&id=0Bw5iD0ToYvs_cy1OZFNIZ0drYVU&revid=0Bw5iD0ToYvs_UitIcHVIWkJVVTl2VGpxVUE0d0FQcHBIRXk4PQ"
                                    style="font-size:12.8px"
                                    moz-do-not-send="true" width="96"
                                    height="96"><img
src="https://docs.google.com/uc?export=download&id=0Bw5iD0ToYvs_Zkh4eEs3R01yWXc&revid=0Bw5iD0ToYvs_QWpBK2Y2ajJtYjhOMDRFekZwK2xOamk5Q3Y0PQ"
                                    moz-do-not-send="true"><br>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">

</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Поздрави!

Валентин Ласков
Отговорник КИПО
"Феста Холдинг" АД
бул. "Вл. Варненчик" 48
9000 гр. Варна
тел.:   +359 52 669137
GSM: +359 888 669137
Fax:   +359 52 669110
</pre>
  </body>
</html>