Can anyone explain the relevance of the sa_tag_level_deflt and
sa_tag2_level_deflt variables in the amavis config file? These
apparently seem to set thresholds for spam detection with no regard
whatsoever to what is listed as the threshold in the spamassassin
local.cf file. Am I correct in this? If so, what is the
justification for this?
Best,
Gary
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
AMaViS-user mailing list
AMaVi...@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/
Check out the FAQ and docs for more info,
http://www.ijs.si/software/amavisd/#faq-spam
BR,
Martin
> Can anyone explain the relevance of the sa_tag_level_deflt and
> sa_tag2_level_deflt variables in the amavis config file? These
> apparently seem to set thresholds for spam detection with no regard
> whatsoever to what is listed as the threshold in the spamassassin
> local.cf file. Am I correct in this? If so, what is the
> justification for this?
Yes, that's the threshold.
sa_tag_level_deflt means: when you receive an email and the score is
above that score the emails gets tagged as possible spam. If so,
additional headers are inserted into the mail header like this:
X-Spam-Status: No, hits=4.699 tagged_above=3 required=6
tests=FROM_ENDS_IN_NUMS, HTML_40_50, HTML_MESSAGE,
MIME_HEADER_CTYPE_ONLY,MIME_HTML_ONLY, NO_REAL_NAME
If the score increases the sa_tag2_level_deflt then the subject is
rewritten to ***SPAM***, if you've configured this setting and the
mail gets tagged as spam (X-Spam-Status: Yes).The header looks like:
X-Spam-Status: Yes, hits=6.241 tagged_above=3 required=6 tests=....
These tag_levels are controlled by amavisd-new. The settings is your
local.cf have no effect.
When you have nowhere configured these sa_tag_level settings then the
above scores defines the standard for all users.
If this is what you wan than it's OK else you must define different
settings in amavisd.conf or in a sql database.
For example you can use:
#@spam_tag2_level_maps = (
# { 'us...@example.com' => 8.0, '.example.com' => 6.0 },
# \$sa_tag2_level_deflt, # catchall default
#);
on per user or domain level.
--
Best Regards
Daniel Luttermann
mailto:daniel.l...@t-online.de
Ok, that makes sense to me, but doesn't fit what I need for my current
application of amavisd. Is there an easy way to have amavisd key off
the value in the local.cf file or do I need to write a quick
assignment routine in my amavisd.conf file?
-Gary
I must be missing something. Why don't you simply edit the values in
the amavisd.conf file instead of in the local.cf file?
Is it because you have some other software that dynamically changes
the local.cf values? Otherwise it would seem that the simplest thing
is to simply edit the values amavisd uses.
-- Clifton
--
Clifton Royston -- clif...@tikitechnologies.com
Tiki Technologies Lead Programmer/Software Architect
Did you ever fly a kite in bed? Did you ever walk with ten cats on your head?
Did you ever milk this kind of cow? Well we can do it. We know how.
If you never did, you should. These things are fun, and fun is good.
-- Dr. Seuss
that's exactly why. I have a proof of concept project I'm putting
together for my bosses that requires a easy to use web interface.
Since it isn't allowed to dominate my time I used the Spamassassin
webmin module as my starting point. Once I can get a working
demonstration and get the bosses to sign off on it, I can do things
properly, but for the time being, the quick fix will be to have
amavisd get this value from the local.cf file.
-Gary
Gotcha. Have you checked if anybody has an amavisd webmin module?
That would be better yet.
-- Clifton
--
Clifton Royston -- clif...@tikitechnologies.com
Tiki Technologies Lead Programmer/Software Architect
Did you ever fly a kite in bed? Did you ever walk with ten cats on your head?
Did you ever milk this kind of cow? Well we can do it. We know how.
If you never did, you should. These things are fun, and fun is good.
-- Dr. Seuss
It would be, and yes, apparently there is a webmin module as
advertised by this page:
http://webuser.fh-furtwangen.de/~grund/AMaViSD/webmin-AMaViSD.html
However, the download link to his ftp is broken and he hasn't
responded to my email asking about it. It's too bad really because I
suspect that a number of people could really benefit from a webmin
module for amavisd. Perhaps if this project works out, I'll be given
the resources to write one myself.
-Gary
go here and select download in upper right corner.
http://www.webmin.com/index.html
-- Dale