Hello Benny,

Benny Pedersen wrote:
> On Sun, May 6, 2007 23:48, MrC wrote:
> 
>> A new version of the Amavis log reporting utility is available.
>> The updates since my Feb 1st announcement are:
> 
> what log level in amavisd.conf is needed ?
> 

I use $log_level=2, and have for sometime.


> and is default log_templ used ?

amavis-logwatch matches against the default log_templ.  On my ToDo list 
is to support modifications to log_templ, but will require a significant 
amount of work; it also places additional requirements on the logwatch 
project.  I may fork the project and implement log_templ formats, but I 
still need to investigate.

> 
> amavisd-logwatch only shows sa tags when log level 3 is used, but this is imho
> overkill :-)
> 

Yes, level 3 is quite verbose, and is not nessasary.  Again, I use level 
2.  Check your syslog configuration as well.  I have three simultaneous 
amavis logs, one at the default log level, and two at levels 2, one 
using syslog INFO and one DEBUG.


> if log_templ is defined in amavisd.conf the sa tags is shown in log level 0

log_templ is defined in the amavisd code itself - this is where the 
default log_templ comes from.  Perhaps amavis is modified in your 
installation?

> 
> so my question is how to get the best results out of it ?

Here are my settings in amavisd.conf

     $log_level = 2;                # verbosity 0..5, -d
     $syslog_facility = 'local5';   # Syslog facility as a string

and in syslog.conf:

     local5.notice              -/var/log/amavisd.log
     local5.info                -/var/log/amavisd-info.log
     local5.debug               -/var/log/amavisd-debug.log


At these settings, you should see lines in your logs such as:

... SPAM, <[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>, Yes, score=7.196 tag=x 
tag2=6.2 kill=6.9 tests=[AWL=-1.862, BAYES_60=1, DKIM_POLICY_SIGNSOME=0, 
HTML_MESSAGE=0.001, MIME_HTML_ONLY=1.457, RAZOR2_CF_RANGE_51_100=2, 
RAZOR2_CF_RANGE_E4_51_100=1.5, RAZOR2_CHECK=3, RDNS_DYNAMIC=0.1], 
autolearn=no, quarantine xxx(spam-quarantine)

or SPAM-TAG lines when your tag level is low enough.  Do you have such 
entries ?  If not, perhaps show your various tag and quarantine related 
settings.

> 
> my testing olso change how Mailgraph works here, just will try to awoid it
> 

I'm not sure I understand what you mean here, in terms of relevance to 
the above?

MrC

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
AMaViS-user mailing list
[email protected]
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