Gary V wrote:
> If using sa-update to download SARE rules, it follows along to the
> newest directory, but it is a problem when running chrooted as I
> would image you would have to script something like this:
Running amavisd chrooted should not be a problem, SA loads
its rules files at startup time before chroot takes place.
It should not be necessary to provide a copy of rules files
in chroot jail.
This may not be a case with some additional custom SA plugins
which come with their own .pm file. Amavisd-new-2.4.3 provides
a way to pre-load such modules before chroot takes place by
listing them in @additional_perl_modules. From RELEASE_NOTES:
- added a global configuration variable @additional_perl_modules, which
is a list of additional Perl module names or absolute file names that
should be compiled/executed (by calling 'require') at a program startup
time by a master parent process, before chroot-ing and before changing
UID takes place. Its purpose is to pre-load additional non-standard
SpamAssassin plugins and similar modules that a standard SpamAssassin
initialization would miss, causing them to be loaded later by each
child process, which is inefficient and may not work in a chrooted
process. Example:
@additional_perl_modules = qw(
/usr/local/etc/mail/spamassassin/FuzzyOcr.pm
/usr/local/etc/mail/spamassassin/ImageInfo.pm
String::Approx Plugin::TextCat BayesStore::SDBM
);
Make sure these files are owned by root and not writable by unprivileged
users such as amavis!
Mark
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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/