Carlos E. R. wrote:
The Friday 2005-07-01 at 15:05 +0200, Cristian Del Carlo wrote:
i use suse 9.2/9.3 in my server mail with postfix, clamav and amavis-new. I don't understand how to change the control that amavis-new does with the spamassassin module.
Pity, there is little documentation in the distro.
I have collect some lines from FAQ in my local.cf: ##################################################### # Amavisd-new FAQ http://www.ijs.si/software/amavisd/ # Where to specify the SA options? In amavisd.conf or in SA's local.cf file? # # + There is hardly any choice. Options to control trigger levels for spam # (tag/tag2/kill level) must be in amavisd.conf, as it is the amavisd that # decides what to do with a mail based on the score level as calculated by SA. # The required_hits in local.cf has no effect on mail delivery or tagging. # + Similarly the header insertion/editing options must be specified in # amavisd.conf. It is the amavisd that is editing the message by itself. Header # and body rewriting options in SA have no external effect, as amavisd does # not use the modified message as prepared by SA. # + The $sa_local_tests_only must be specified in amavisd.conf, there are no # equivalent options in local.cf. The setting affects how SA is called from # the application (the API). # + The $sa_auto_whitelist, sinc SA 3.0, there is now an option use_auto_whitelist # to be specified in local.cf, and the $sa_auto_whitelist is ignored. # + White and blacklisting in amavisd-new and as provided by SA are similar in # concept, but different in implementation. Both can coexist, use the mechanism # that best suits the needs. # - The w/b listing in SA works on information from the header (e.g. on the # mail author -- the From: header field), and contributes large positive or # negative score points to the score being computed. # - The (hard) w/b listing in amavisd-new works on envelope sender address # (i.e. the return-path). If triggered, the call to SA is skipped to save # time, as it would not have a chance to overrule the w/b list decision # already taken. # - The (soft) w/b listing in amavisd-new (the @score_sender_maps, since 2.0) # also works on envelope sender address, but only modifies the spam score # as returned by SA, and does not bypass calling SA. # + SA sees and observes all options in local.cf. It is just that some of them # have no effect on the mail. Ciao Marco!