Howto install Razor2 plugin for SpamAssassin?
Ger Apeldoorn
g.apeldoorn at argoss.nl
Thu Apr 13 13:43:54 CEST 2006
Hi,
I've got some extra info:
This is from the /kolab/var/amavis/amavis.log file:
--------------------%<------------------------
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27012]: Perl version
5.008007
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: Module
Amavis::Conf 2.038
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: Module
Archive::Tar 1.24
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: Module
Archive::Zip 1.14
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: Module
Compress::Zlib 1.34
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: Module
Convert::TNEF 0.17
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: Module
Convert::UUlib 1.051
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: Module DB_File
1.811
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: Module
MIME::Entity 5.419
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: Module
MIME::Parser 5.419
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: Module
MIME::Tools 5.419
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: Module
Mail::Header 1.67
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: Module
Mail::Internet 1.67
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: Module
Mail::SpamAssassin 3.001000
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: Module Net::Cmd
2.26
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: Module Net::SMTP
2.29
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: Module
Net::Server 0.87
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: Module
Time::HiRes 1.68
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: Module
Unix::Syslog 0.99
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: Amavis::DB code
NOT loaded
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: Amavis::Cache
code NOT loaded
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: SQL base code
NOT loaded
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: SQL::Log code
NOT loaded
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: SQL::Quarantine
NOT loaded
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: Lookup::SQL
code NOT loaded
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: Lookup::LDAP
code NOT loaded
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: AM.PDP prot
code loaded
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: SMTP-in prot
code loaded
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: ANTI-VIRUS code
loaded
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: ANTI-SPAM code
loaded
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: Unpackers code
loaded
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: Found $file
at /kolab/bin/file
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: No $dspam,
not using it
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: Internal decoder
for .mail
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: Internal decoder
for .asc
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: Internal decoder
for .uue
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: Internal decoder
for .hqx
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: Internal decoder
for .ync
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: No decoder
for .F tried: unfreeze, freeze -d, melt, fcat
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: Found decoder
for .Z at /kolab/bin/gzip -d
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: Internal decoder
for .gz
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: Found decoder
for .bz2 at /kolab/bin/bzip2 -d
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: No decoder
for .lzo tried: lzop -d
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: No decoder
for .rpm
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: No decoder
for .cpio
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: Found decoder
for .cpio at /bin/cpio
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: No decoder
for .tar
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: Found decoder
for .tar at /bin/cpio
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: No decoder
for .deb
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: Internal decoder
for .zip
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: No decoder
for .rar tried: rar, unrar
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: No decoder
for .arj tried: arj, unarj
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: No decoder
for .arc tried: nomarch, arc
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: No decoder
for .zoo tried: zoo
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: Found decoder
for .lha at /usr/bin/lha
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: No decoder
for .doc
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: No decoder
for .cab
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: No decoder
for .tnef
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: Internal decoder
for .tnef
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: Found decoder
for .exe at /usr/bin/lha
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: Using internal
av scanner code for (primary) Clam Antivirus-clamd
Apr 13 13:41:27 mailserver.me.com /kolab/sbin/amavisd[27013]: Found secondary
av scanner Clam Antivirus - /kolab/bin/clamscan at /kolab/bin/clamscan
--------------------%<------------------------
It does not load the Razor2 module.. Where can I enable it?
Thanks again,
Ger.
Op donderdag 13 april 2006 11:40, schreef Ger Apeldoorn:
> Hi Gunnar,
>
> Thanks a lot for your helpful reply!
>
> However, it still does not work for me. Here's the X-Spam-Status of a
> testmail (not spam)
> --------------------%<------------------------
> X-Spam-Status: No, hits=-2.189 tagged_above=-5 required=5.3
> tests=[AWL=0.275, BAYES_00=-2.599, FORGED_RCVD_HELO=0.135
> --------------------%<------------------------
>
> In your local.cf file, I saw this directive:
> --------------------%<------------------------
> razor_config /etc/mail/razor/razor-agent.conf
> --------------------%<------------------------
>
> I dont have any file named that way. Could that be the problem?
>
> I added this to my local.cnf:
> --------------------%<------------------------
> loadplugin Mail::SpamAssassin::Plugin::Razor2
> use_razor2 1
> use_bayes 1
> report_safe 1
> --------------------%<------------------------
>
> I thought that this would do the trick. Did I miss anything?
>
> > Did you also set
> >
> > $sa_local_tests_only = 0;
> >
> > in your amavisd.conf.template at etc/kolab/templates ?
>
> Yes, I did.. :)
>
> > I also integrated razor2, pyzor and dcc into the Kolab/Gentoo
> > version. Use is optional and users can turn on these external checks
> > by setting the "spam" use flag.
>
> Where/how should the users set the "spam" use flag?
>
> > This is the local.cf that I use for the etc/kolab/templates directory:
> >
> > http://projects.gunnarwrobel.de/kolab/browser/ebuilds/net-mail/kolabd/fil
> >es /local.cf.template
>
> I only have a local.cf file, not a template for this. Can I create this and
> will it find its way to the right position then?
>
> > Regards,
> >
> > Gunnar
>
> Many thanks,
> Ger.
>
> _______________________________________________
> Kolab-users mailing list
> Kolab-users at kolab.org
> https://kolab.org/mailman/listinfo/kolab-users
More information about the users
mailing list