Hi, Some inspection on spamassassin learned me that there are some dependencies missing on a plain The Perfect Setup - Debian Sarge (3.1) ISPConfig 2.2.6 system. /home/admispconfig/ispconfig/tools/spamassassin/usr/bin/spamassassin -D --lint 2>&1 | tee /tmp/output.txt cat /tmp/output.txt | grep fail [15726] dbg: diag: module not installed: IO::Zlib ('require' failed) [15726] dbg: diag: module not installed: Mail::SPF::Query ('require' failed) [15726] dbg: diag: module not installed: IP::Country::Fast ('require' failed) [15726] dbg: diag: module not installed: Razor2::Client::Agent ('require' failed) [15726] dbg: diag: module not installed: Net::Ident ('require' failed) [15726] dbg: diag: module not installed: IO::Socket::INET6 ('require' failed) [15726] dbg: diag: module not installed: IO::Socket::SSL ('require' failed) [15726] dbg: diag: module not installed: Archive::Tar ('require' failed) [15726] dbg: plugin: registering glue method for check_for_spf_softfail (Mail::SpamAssassin:lugin::SPF=HASH(0x9115e00)) [15726] dbg: plugin: registering glue method for check_for_spf_helo_softfail (Mail::SpamAssassin:lugin::SPF=HASH(0x9115e00)) [15726] dbg: plugin: registering glue method for check_for_spf_fail (Mail::SpamAssassin:lugin::SPF=HASH(0x9115e00)) [15726] dbg: bayes: opportunistic call attempt failed, DB not readable Is it just me or does the system benifit from the extra installed perlmodules ? Is is a concious desision by the designers of ISPConfig to not include these ? The solution would be: perl -MCPAN -e shell install IO::Zlib install Mail::SPF::Query install IP::Country::Fast install Razor2::Client::Agent install Net::Ident install IO::Socket::INET6 install IO::Socket::SSL install Archive::Tar Is there anything agains this ? Could is create havoc in any shape or way ? Maybe its a good addition or optional addition to TPS docs. It might as well be an overkill. On a debian system one might do apt-get install razor pyzor dcc-client And add to spam assassins: /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/local.cf # dcc use_dcc 1 dcc_path /usr/bin/dccproc dcc_add_header 1 dcc_dccifd_path /usr/sbin/dccifd #pyzor use_pyzor 1 pyzor_path /usr/bin/pyzor pyzor_add_header 1 #razor use_razor2 1 razor_config /etc/razor/razor-agent.conf #bayes use_bayes 1 use_bayes_rules 1 bayes_auto_learn 1 And peform A: razor-admin -create razor-admin -register Afterward Are there any pitfalls to do so on a ISPConfig System ?? I really like to know the opinions on this topic Thanks Ivo Schaap
I think i got it figured When i looked closer i saw that the above mentioned perlmodules get reconized in a later stadium. I discoverd that spamassassin is updateble with this command /home/admispconfig/ispconfig/tools/spamassassin/usr/bin/sa-update --updatedir /home/admispconfig/ispconfig/tools/spamassassin/usr/share/spamassassin
I have implenmented this on Mandriva without any hassles - but loading the perl modules via rpm's from Mandriva's site. I do however have problems with 3 perl modules on ubuntu 6.10. install Razor2::Client::Agent << CPAN have no module like this to install. install Net::Ident << these 3 need to be installed with "force" install IO::Socket::INET6 install IO::Socket::SSL Anther is on ISPC 2.2.9 I get messages about some of the settings you made to local.cf those was Either defined elseware and or not understandable. I commented those that gave me errors. It does bother me and obvious does it not all work. Can you assist with these? I have also read about accumilating known spam in a single mail mailbox and then "training" the setup with it. maybe you can clarify this for me.
I think you can install them through apt. Just search for the appropriate packages with Code: apt-cache search [I]search_string[/I]
Thank you Falko, I'm still bit nOOb with ubuntu I loaded The Perfect Setup - Ubuntu 6.10 Server (Edgy Eft) and ISPConfig as per Installation instructions and had to run some extra installs to get razor, pyzor, dcc-client going. Execute the test Code: /home/admispconfig/ispconfig/tools/spamassassin/usr/bin/spamassassin -D --lint 2>&1 | tee /tmp/output.txt check the errors Code: cat /tmp/output.txt | grep fail If any perl modules is listed you can follow the insturctions below To install the missing data file Code: su cd /root/.spamassassin/ wget http://www.fsl.com/support/bayes-Linux-SA-3.0-starter-db.tar.gz tar xvfz bayes-Linux-SA-3.0-starter-db.tar.gz cd bayes mv * ../ cd .. rmdir bayes Now for the applications, we install the main apps 1st as they install some missing perl modules automatically. Code: apt-get install razor pyzor dcc-client apt-get install libarchive-tar-perl apt-get install libio-socket-ssl-perl apt-get install libio-socket-inet6-perl apt-get install libnet-ident-perl apt-get install libmail-spf-query-perl then the last 2 modules we need to MCPAN Code: perl -MCPAN -e shell Answer no to the manual setup question as most of us do not know what is gong on there anycase, we need to trust the gutfeel of the coder. Also just enter past the questions asked with the install of install LWP::UserAgent Code: install IP::Country::Fast install LWP::UserAgent Execute the test again to verify Code: /home/admispconfig/ispconfig/tools/spamassassin/usr/bin/spamassassin -D --lint 2>&1 | tee /tmp/output.txt check the errors Code: cat /tmp/output.txt | grep fail If you still have missing stuff - plse google or use Code: apt-cache search for the missing modules. After all this I have found some more issues in the report that concerns me. Code: cat /tmp/output.txt | grep "local tests only" [10786] dbg: pyzor: local tests only, disabling Pyzor [10786] dbg: razor2: local tests only, skipping Razor [10786] dbg: reporter: local tests only, disabling SpamCop [10786] dbg: rules: local tests only, ignoring RBL eval Iguess the local user files need to enable these per-user basis, but i do not know how to confirm this or what settings I need to do to enable these! Please assit!
Take a look here: http://www.mail-archive.com/[email protected]/msg32799.html http://lists.mailscanner.info/pipermail/mailscanner/2007-January/069206.html
Answer Okay so In short those are not errors but is skipped because we only tested for syntax issues, in real situation those will actuallt run. Thank you.