|
NAMEsa-compile - compile SpamAssassin ruleset into native codeSYNOPSISsa-compile [options]Options: --list Output base string list to STDOUT --sudo Use 'sudo' for privilege escalation --keep-tmps Keep temporary files instead of deleting -C path, --configpath=path, --config-file=path Path to standard configuration dir -p prefs, --prefspath=file, --prefs-file=file Set user preferences file --siteconfigpath=path Path for site configs (default: /usr/local/etc/mail/spamassassin) --updatedir=path Directory to place updates (default: /var/db/spamassassin/compiled/<perlversion>/4.000000) --cf='config line' Additional line of configuration -D, --debug [area=n,...] Print debugging messages -V, --version Print version -h, --help Print usage message DESCRIPTIONsa-compile uses "re2c" to compile the site-wide parts of the SpamAssassin ruleset. No part of user_prefs or any files included from user_prefs can be built into the compiled set.This compiled set is then used by the "Mail::SpamAssassin::Plugin::Rule2XSBody" plugin to speed up SpamAssassin's operation, where possible, and when that plugin is loaded. "re2c" can match strings much faster than perl code, by constructing a DFA to match many simple strings in parallel, and compiling that to native object code. Not all SpamAssassin rules are amenable to this conversion, however. This requires "re2c" (see "http://re2c.org/"), and the C compiler used to build Perl XS modules, be installed. Note that running this, and creating a compiled ruleset, will have no effect on SpamAssassin scanning speeds unless you also edit your "v320.pre" file and ensure this line is uncommented: loadplugin Mail::SpamAssassin::Plugin::Rule2XSBody Additionally, "sa-compile" will not restart "spamd" or otherwise cause a scanner to reload the now-compiled ruleset automatically. OPTIONS
SEE ALSOMail::SpamAssassin(3) spamassassin(1) spamd(1)PREREQUISITES"Mail::SpamAssassin" "re2c" "Mail::SpamAssassin::Plugin::Rule2XSBody"BUGSSee <http://issues.apache.org/SpamAssassin/>AUTHORSThe Apache SpamAssassin(tm) Project <https://spamassassin.apache.org/>LICENSE AND COPYRIGHTSpamAssassin is distributed under the Apache License, Version 2.0, as described in the file "LICENSE" included with the distribution.Copyright (C) 2015 The Apache Software Foundation
Visit the GSP FreeBSD Man Page Interface. |