On 1/30/10, Dave McGuire wrote:
> On Jan 30, 2010, at 7:09 PM, Gary V wrote:
> >> I installed my mail server using ISPConfig3 on Ubntu9.10 Server...
> >> I'm interested in using the two-level spam treatment configuring
> >> SPAM tag
> >> level,SPAM tag2 level and SPAM kill level...
> >>
> >> The server works perfectly but the mail that it receives don't
> >> show the
> >> effects of the spamassassin's intervention such as the X-Spam
> >> Level header,
> >> etc.
> >> So I'm not sure that the antispam check works really fine....
> >> In the log file I can't find any messages about spamassassin...
> >> Generally I created the same thing using postfix+procmail
> >> +spamassassin and
> >> it worked well but in that case spamassassin is invoked as command
> >> line
> >> executable..
> >>
> >> How can I make me sure that every check is executed ?
> >> Thanks..
> >
> > I have no idea how ISPConfig3 configures amavisd-new, but I can tell
> > you that amavisd-new calls the Mail::SpamAssassin Perl module, so
> > there is no need to run spamc, spamd, or spamassassin. See if you have
> > entries in your mail log for amavis, as opposed to spamassassin:
> >
> > cat /var/log/mail.log | grep amavis
>
>   Oh good heavens.
>
>   grep amavis /var/log/mail.log
>
> --
> Dave McGuire
> Port Charlotte, FL

Yeah, sorry about that, but it looks like ISPConfig3 does configure
amavisd-new to use SQL with a custom database and custom queries. In
the dbispconfig database, spamfilter.policy table, the default
spam_tag_level is set to 3, so only spam that scores over 3 will
include X-Spam headers. This can be modified of course so that all
local mail will get tagged. I'm going to assume that if the recipient
is in the database, and spam filtering is enabled for the user, that
the user is considered local. This is how you might change the
policies:

Log into mysql:
mysql -p

and set spam_tag_level for all 7 policies to -999
UPDATE `dbispconfig`.`spamfilter_policy` SET `spam_tag_level` = '-999';

-- 
Gary V

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
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/ 

Reply via email to