EnglishFrenchSpanish

OnWorks favicon

sa-compilep - Online in the Cloud

Run sa-compilep in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command sa-compilep that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


sa-compile - compile SpamAssassin ruleset into native code

SYNOPSIS


sa-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: /etc/spamassassin)
--updatedir=path Directory to place updates
(default: /var/lib/spamassassin/compiled/<perlversion>/3.004001)
--cf='config line' Additional line of configuration
-D, --debug [area=n,...] Print debugging messages
-V, --version Print version
-h, --help Print usage message

DESCRIPTION


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


--list
Output the extracted base strings to STDOUT, instead of generating the C extension
code.

--sudo
Use sudo(8) to run code as 'root' when writing files to the compiled-rules storage
area (which is "/var/lib/spamassassin/compiled/5.020/3.004001" by default).

--quiet
Produce less diagnostic output. Errors will still be displayed.

--keep-tmps
Keep temporary files after the script completes, instead of deleting them.

-C path, --configpath=path, --config-file=path
Use the specified path for locating the distributed configuration files. Ignore the
default directories (usually "/usr/share/spamassassin" or similar).

--siteconfigpath=path
Use the specified path for locating site-specific configuration files. Ignore the
default directories (usually "/etc/spamassassin" or similar).

--updatedir
By default, "sa-compile" will use the system-wide rules update directory:

/var/lib/spamassassin/compiled/5.020/3.004001

If the updates should be stored in another location, specify it here.

Note that use of this option is not recommended; if sa-compile is placing the compiled
rules the wrong directory, you probably need to rebuild SpamAssassin with different
"Makefile.PL" arguments, instead of overriding sa-compile's runtime behaviour.

--cf='config line'
Add additional lines of configuration directly from the command-line, parsed after the
configuration files are read. Multiple --cf arguments can be used, and each will be
considered a separate line of configuration.

-p prefs, --prefspath=prefs, --prefs-file=prefs
Read user score preferences from prefs (usually "$HOME/.spamassassin/user_prefs") .

-D [area,...], --debug [area,...]
Produce debugging output. If no areas are listed, all debugging information is
printed. Diagnostic output can also be enabled for each area individually; area is
the area of the code to instrument.

For more information about which areas (also known as channels) are available, please
see the documentation at <http://wiki.apache.org/spamassassin/DebugChannels>.

-h, --help
Print help message and exit.

-V, --version
Print sa-compile version and exit.

Use sa-compilep online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    GenX
    GenX
    GenX is a scientific program to refine
    x-ray refelcetivity, neutron
    reflectivity and surface x-ray
    diffraction data using the differential
    evolution algorithm....
    Download GenX
  • 2
    pspp4windows
    pspp4windows
    PSPP is a program for statistical
    analysis of sampled data. It is a free
    replacement for the proprietary program
    SPSS. PSPP has both text-based and
    graphical us...
    Download pspp4windows
  • 3
    Git Extensions
    Git Extensions
    Git Extensions is a standalone UI tool
    for managing Git repositories. It also
    integrates with Windows Explorer and
    Microsoft Visual Studio
    (2015/2017/2019). Th...
    Download Git Extensions
  • 4
    eSpeak: speech synthesis
    eSpeak: speech synthesis
    Text to Speech engine for English and
    many other languages. Compact size with
    clear but artificial pronunciation.
    Available as a command-line program with
    many ...
    Download eSpeak: speech synthesis
  • 5
    Sky Chart / Cartes du Ciel
    Sky Chart / Cartes du Ciel
    SkyChart is a software to draw chart of
    the night sky for the amateur astronomer
    from a bunch of stars and nebulae
    catalogs. See main web page for full
    download...
    Download Sky Chart / Cartes du Ciel
  • 6
    GSmartControl
    GSmartControl
    GSmartControl is a graphical user
    interface for smartctl. It allows you to
    inspect the hard disk and solid-state
    drive SMART data to determine its
    health, as w...
    Download GSmartControl
  • More »

Linux commands

  • 1
    abc2abc
    abc2abc
    abc2abc - a simple abc
    checker/re-formatter/transposer ...
    Run abc2abc
  • 2
    abc2ly
    abc2ly
    abc2ly - manual page for abc2ly
    (LilyPond) 2.18.2 ...
    Run abc2ly
  • 3
    coqmktop
    coqmktop
    coqmktop - The Coq Proof Assistant
    user-tactics linker ...
    Run coqmktop
  • 4
    coqtop
    coqtop
    coqtop - The Coq Proof Assistant
    toplevel system ...
    Run coqtop
  • 5
    g.copygrass
    g.copygrass
    g.copy - Copies available data files in
    the current mapset search path to the
    user�s current mapset. KEYWORDS:
    general, map management ...
    Run g.copygrass
  • 6
    g.dirsepsgrass
    g.dirsepsgrass
    g.dirseps - Internal GRASS utility for
    converting directory separator
    characters. Converts any directory
    separator characters in the input string
    to or from na...
    Run g.dirsepsgrass
  • More »

Ad