Install confusion

Mogens Melander mogens at fumlersoft.dk
Sat Jun 16 17:02:30 IST 2007


Hi all,

After my openprotect outdated, i decided to go for the "easy"
install packages, and ran the openprotect-uninstall script,
which really worked. No trace left of openprotect, anywhere :)

I got MailScanner-install-4.60.8 and install-Clam-0.90.3-SA-3.2.0,
and ran the install.sh in both. The install seem to run smooth,
besides, not all the cpan installed modules where found, so they
got installed again.

While checking config and scripts, i notice check_mailscanner
expect MailScanner.conf to reside in /etc/MailScanner but was
installed in /opt/MailScanner/etc. I moved etc to /etc/MailScanner,
and now MailScanner can't find the .conf. Ok, a symlink worked.

After some tweeking and customizing the conf, i flicked a startup
script together in /etc/rc.d/rc.mailscanner, and fired it up.

All good, it worked, spam stopped flooding in (tsunami style).

I does seem that MCP check is'nt working as the MCP score
always is 0, and no report about what rules was used.

I remembered install-clam-sa saying something about installing
RulesDuJour, so i got it, did a manual install, as the install
script seems confused about where to put things. I put it in
/etc/mail/spamassassin/RulesDuJour, and ran the upgrade script.

Edit MailScanner.conf setting "SpamAssassin Local Rules Dir" to
the above path. Restarting. No --lint errors or other.

Now i try to send some test-mail:

GTUBE (delivered), Eicar (caught), TBTF ping (delivered),
VIAGRA & CIALIS JOINT-CORPORATE RENEWAL/RE-ORDER PROGRAM (delivered),
THIS ENTERPRISE IS AWESOMELY FEATURED (delivered).

All tests (except eicar) have same headers:

X-TIT-GPH-MailScanner: Found to be clean
X-TIT-GPH-MailScanner-MCPCheck: MCP-Clean,
   MCP-Checker (score=0, required 5)
X-TIT-GPH-MailScanner-SpamCheck: not spam,
   SpamAssassin (not cached, score=0,required 4, autolearn=)
X-TIT-GPH-MailScanner-From: nobody at nowhere.com
X-Spam-Status: No

I believe only TBTF should have gotten here. No report in
maillog either.

If i comment out "SpamAssassin Local Rules Dir" all is fine
again, except MCP still does nothing. Spam-report is back,
both in headers and maillog.

X-TIT-GPH-MailScanner: Found to be clean
X-TIT-GPH-MailScanner-MCPCheck: MCP-Clean, MCP-Checker (score=0, required 5)
X-TIT-GPH-MailScanner-SpamCheck: not spam, SpamAssassin (not cached,
     score=-2.598, required 4, autolearn=not spam, BAYES_00 -2.60,
     DKIM_POLICY_SIGNSOME 0.00, DK_POLICY_SIGNSOME 0.00,
     HTML_MESSAGE 0.00)

I have no clue on what is going on.

I'm running Zenwalk 3.0 (slackware), sendmail 8.13.8

Any clues, anybody ?

-- 
Later

Mogens Melander
+45 40 85 71 38
+66 870 133 224



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the MailScanner mailing list