I'm having some problems with SpamAssassin or more precisely the Bayes DBM module or whatever it is.
When I try to send some spam email from gmail to my mail server, the mail passes through like it was normal and /var/log/maillog gives me these troubles:
Code:
Nov 23 23:08:25 x-shells sm-mta[28377]: lANM8Ojs028377: from=<from@gmail.com>, size=4160, class=0, nrcpts=1, msgid=<98decb8e0711231336v417d1d8ala67fd78d556ea3d3@mail.gmail.com>, proto=ESMTP, daemon=MTA, relay=py-out-1112.google.com [64.233.166.179]
Nov 23 23:08:25 x-shells sm-mta[28377]: lANM8Ojs028377: Milter add: header: X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on x-shells.org
Nov 23 23:08:25 x-shells sm-mta[28377]: lANM8Ojs028377: Milter add: header: X-Virus-Status: Clean
Nov 23 23:08:25 x-shells spamd[28372]: spamd: connection from localhost [127.0.0.1] at port 58689
Nov 23 23:08:25 x-shells spamd[28372]: spamd: setuid to fire succeeded
Nov 23 23:08:25 x-shells spamd[28372]: bayes: bayes db version 0 is not able to be used, aborting! at lib/Mail/SpamAssassin/BayesStore/DBM.pm line 196.
Nov 23 23:08:25 x-shells spamd[28372]: spamd: processing message <98decb8e0711231336v417d1d8ala67fd78d556ea3d3@mail.gmail.com> for fire:1003
Nov 23 23:08:25 x-shells spamd[28372]: bayes: bayes db version 0 is not able to be used, aborting! at lib/Mail/SpamAssassin/BayesStore/DBM.pm line 196, <GEN10> line 90.
Nov 23 23:08:38 x-shells spamd[28372]: spamd: clean message (0.0/5.0) for fire:1003 in 13.2 seconds, 4568 bytes.
Nov 23 23:08:38 x-shells spamd[28372]: spamd: result: . 0 - HTML_MESSAGE,SPF_PASS scantime=13.2,size=4568,user=fire,uid=1003,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=58689,mid=<98decb8e0711231336v417d1d8ala67fd78d556ea3d3@mail.gmail.com>,autolea n=ham
Nov 23 23:08:38 x-shells sm-mta[28380]: lANM8Ojs028377: to=fire, delay=00:00:14, xdelay=00:00:13, mailer=local, pri=34475, dsn=2.0.0, stat=Sent
While running make test before installing SpamAssassin bayes_dbm was ok and bayes_sql tests were skipped.