Filip, > for testing purposes I'd welcome not to use SpamAssassin module and to > force usage of spamd. I just found theese three commented lines near > 'sub check {' in amavisd but nothing more in Google, docs, mailing-lists > etc. Need help, please! I'm desperate! :) > > # expects spamd started like the following: > # spamd -H /var/amavis/home -r /var/amavis/home/spamd.pid -s user \ > # -u vscan -g vscan -x -P -m 20
The Amavis::SpamControl::SpamdClient module is experimental, its only purpose was to exercise/troubleshoot spamd by feeding it queries from amavisd and comparing results to direct checking, then logging a result only, and NOT contributing to results. One problem is service stability/predictability, as spamd spawns additional child processes on demand, which clashes with the fixed number of available services assumed by amavisd. One technical problem still not completely solved is a requirement of a spamc/spamd protocol to know the exact message size in advance, which is difficult to meet under certain circumstances. Not to be used for production use! If you want to experiment, the following change (to 2.6.2) enables it and fixes one bug: --- amavisd.orig 2008-12-15 01:50:09.000000000 +0100 +++ amavisd 2009-02-01 15:51:49.000000000 +0100 @@ -13405,5 +13405,5 @@ { @Amavis::Conf::av_scanners = @Amavis::Conf::av_scanners_backup = () } -undef $extra_code_antispam_spamc; # just disable it, only used for testing +#undef $extra_code_antispam_spamc; # just disable it, only used for testing my($bpscm) = ca('bypass_spam_checks_maps'); @@ -20739,5 +20739,5 @@ defined $nbytes or die "Error reading: $!"; } - $spamd_handle->dataend; $smtp_session->transaction_ends; + $spamd_handle->dataend; $spamd_handle->flush; undef $hdr_prefix; # release storage Then grep the log (log level at least 2, preferably 5), search for 'spamd'. Mark ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/