Hello,

> 
> I am running spammassasin  on  a  RH  linux  box  with  postfix  and
amavisd-new.

So do I.

> 
> - How do I confirm that spamassassin is actually processing the SPAM and 
> learning it into its bayes db ?

You should  get  log  entries  in  your  /var/log/maillog  related  to
amavisd-new's activity and its  calling  SA,  provided  that  in  your
amavisd.conf file, you have:

$DO_SYSLOG = 1;                   # (defaults to false)

I have left the next line to its default:

#$SYSLOG_LEVEL = 'user.info';     # (defaults to 'mail.info')

So make sure that your syslog config file allows levels down to 'info'
with facility 'mail' to go to /var/log/maillog (or whatever file name
you chose)

Also, the amount of logging is set in:

$log_level = 3;           # (defaults to 0)

Then look for lines like:

May 30 13:17:29 mail-gate amavis[13670]: (13670-02) spam_scan: hits=7.1 
tests=AWL,BAYES_70,HTML_20_30,
MAILTO_TO_SPAM_ADDR,MIME_HTML_ONLY,MISSING_OUTLOOK_NAME,RCVD_IN_OSIRUSOFT_COM,US_DOLLARS_3
May 30 13:17:29 mail-gate amavis[13670]: (13670-02) SPAM, <[EMAIL PROTECTED]> -> 
<[EMAIL PROTECTED]>,
 Yes, hits=7.1 tag1=3.0 tag2=5.0 kill=5.0 tests=AWL, BAYES_70, HTML_20_30, 
MAILTO_TO_SPAM_ADDR, MIME_H
TML_ONLY, MISSING_OUTLOOK_NAME, RCVD_IN_OSIRUSOFT_COM, US_DOLLARS_3

I  can't  see  any  track  of  spam  being  fed  to Bayes in my logs
(although  I  know  that it is being done). Maybe you have to increase
$log_level to actually see it.

You can see when Bayes matches spam when there are BAYES_xx words in the list
of tests as above.

> 
> 
> - How do i confirm (or configure) that i am using spamtracking databases, 
> such as Vipul's Razor and forwarding spam to them ?

Look for "RAZOR2_CHECK" in the names above.

I  don't  report  spam to them (yet) so I can't tell what the relevant
log entries look like.

> 
> 
> - How do i get more detailed debug info into my maillog ?
> 

Read the doc :-) ... look for comments amove '$log_level' in amavisd.conf

> 
> - What exactly does this command do, and will it change anything after 
> being run ? (seems like it changes rulesets ?), spamassassin -D  --lint
> 

AFAIK it just does a thorough consistency check on your SA configuration,
and (because of -D) does it verbosely. It won't change anything.
If you use network tests (Razor2, DCC...) it will also test them.

Greets,
_Alain_


-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to