This is a discussion on Re: [AMaViS-user] sa_local_tests_only not available in Policy Banks? within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; David wrote: > I'm getting an error trying to set sa_local_tests_only in a Policy Bank. > Is it not ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
David wrote:
> I'm getting an error trying to set sa_local_tests_only in a Policy Bank. > Is it not available? Is there a list somewhere of what can and can't be > set in a Policy? > Thanks. > -David I would not think this particular setting would be a viable option because it is only used when the program starts: # called at startup, before the main fork sub init() { do_log(1, "SpamControl: initializing Mail::SpamAssassin"); my($saved_umask) = umask; $spamassassin_obj = Mail::SpamAssassin->new({ debug => $sa_debug, save_pattern_hits => $sa_debug, dont_copy_prefs => 1, local_tests_only => $sa_local_tests_only, home_dir_for_helpers => $helpers_home, stop_at_threshold => 0, # DEF_RULES_DIR => '/usr/local/share/spamassassin', # LOCAL_RULES_DIR => '/etc/mail/spamassassin', #see man Mail::SpamAssassin for other options }); Other than that, I can only suggest you read: http://www.ijs.si/software/amavisd/a...cs.html#pbanks Gary V ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/...fo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/ |