Durk,
> If I start amavisd-new with debug-sa (/etc/init.d/amavis debug-sa) I
> expect to see a lot of debugging output from SpamAssassin, but when
> an e-mail is processed I only see a line like: [...]
> Is this intented behaviour? Do I need to set some other debugging/logging
> settings in Amavisd-new or SpamAssassim?
Noel Jones writes:
> That command is intended to be run from the command line in
> the foreground, not as an argument to the daemon startup script.
> # /usr/local/sbin/amavisd debug-sa
> (lots of output on your screen)
> ^C to quit.
> To increase logging of the daemon, adjust the $log_level
> parameter in amavisd.conf.
Right. Beyond the full-or-nothing SpamAssassin logging (achievable
through debug-sa command line option or $sa_debug boolean setting),
it is possible to specify fine-grained SA logging areas through
a -d command line option to amavisd.
>From release notes:
- allow command-line option -d to specify a list of SA debug areas
(also called 'facilities'); some useful examples:
amavisd -d plugin,dkim,dk,spf debug-sa
amavisd -d auto-whitelist,bayes,learn debug-sa
amavisd -d dcc,razor2,pyzor,util debug-sa
amavisd -d dns,uri,uridnsbl debug-sa
amavisd -d received-header,metadata debug-sa
amavisd -d rules,check debug-sa
- when parsing SpamAssassin log areas/facilities, recognize negations
(a name prefixed by 'no') and remove duplicates, last entry wins, e.g.
amavisd -d rules,noall,norules,dcc,norules,rules debug-sa
is equivalent to:
amavisd -d noall,dcc,rules debug-sa
Mark
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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/