I thought I had noted this to the list a few years ago, but I couldn't find
a record of it. I swear at least one other person said they'd find this
useful. ;)
We patch our amavisd with the following:
--- //depot/zimbra/main/ThirdParty/amavisd/amavisd-new-2.7.0-pre14/amavisd
2011-02-18 22:28:40.000000000 -0800
+++ /home/quanah/p4/main/ThirdParty/amavisd/amavisd-new-2.7.0-pre14/amavisd
2011-02-18 22:28:40.000000000 -0800
@@ -398,7 +398,7 @@
$spamcontrol_obj
$helpers_home $sa_configpath $sa_siteconfigpath
$sa_local_tests_only $sa_timeout $sa_debug
- $dspam $sa_spawned
+ $dspam $sa_spawned $sa_userprefs_file
)],
'platform' => [qw(
$can_truncate $unicode_aware $my_pid
@@ -24332,6 +24335,7 @@
home_dir_for_helpers => $helpers_home,
rules_filename => $sa_configpath,
site_rules_filename => $sa_siteconfigpath,
+ userprefs_filename => $sa_userprefs_file,
# LOCAL_STATE_DIR => '/var/lib',
# PREFIX => '/usr/local',
# DEF_RULES_DIR => '/usr/local/share/spamassassin',
And then add the following to our amavisd.conf file:
# $sa_debug = 1;
$sa_configpath = '/opt/zimbra/conf/spamassassin';
$sa_siteconfigpath = '/opt/zimbra/conf/salocal.cf';
$sa_userprefs_file = '/opt/zimbra/conf/sauser.cf';
This allows the end admin to do some additional customization of SA.
Anyhow, since 2.7.0 is being worked on, didn't know if you'd like to
include it if it is indeed useful to others.
--Quanah
--
Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
Please visit http://www.ijs.si/software/amavisd/ regularly
For administrativa requests please send email to rainer at openantivirus dot
org