Re: [AMaViS-user] sa_local_tests_only not available in Policy Banks?

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 ...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-15-2005
Gary V
 
Posts: n/a
Default Re: [AMaViS-user] sa_local_tests_only not available in Policy Banks?

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/
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:46 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0