™.. SA-UPDATE - Online Linux Manual PageSection : 1
Updated : 2013-12-05
Source : perl v5.10.1
Note : User Contributed Perl Documentation

NAMEsa−update − automate SpamAssassin rule updates

SYNOPSISsa-update [options] Options: ​ −−channel channel Retrieve updates from this channel ​ Use multiple times for multiple channels ​ −−channelfile file Retrieve updates from the channels in the file ​ −−checkonly Check for update availability, do not install ​ −−install filename Install updates directly from this file. Signature ​ verification will use "file.asc" and "file.sha1" ​ −−allowplugins Allow updates to load plugin code ​ −−gpgkey key Trust the key id to sign releases ​ Use multiple times for multiple keys ​ −−gpgkeyfile file Trust the key ids in the file to sign releases ​ −−gpghomedir path Store the GPG keyring in this directory ​ −−gpg and −−nogpg Use (or do not use) GPG to verify updates ​ (−−gpg is assumed by use of the above ​ −−gpgkey and −−gpgkeyfile options) ​ −−import file Import GPG key(s) from file into sa−update's ​ keyring. Use multiple times for multiple files ​ −−updatedir path Directory to place updates, defaults to the ​ SpamAssassin site rules directory ​ (default: /var/lib/spamassassin/3.003001) ​ −−refreshmirrors Force the MIRRORED.BY file to be updated ​ −D, −−debug [area=n,...] Print debugging messages ​ −v, −−verbose Be more verbose, like print updated channel names ​ −V, −−version Print version ​ −h, −−help Print usage message

DESCRIPTIONsa-update automates the process of downloading and installing new rules and configuration, based on channels. The default channel is ​updates.spamassassin.org, which has updated rules since the previous release. Update archives are verified using SHA1 hashes and GPG signatures, by default. Note that \*(C`sa\-update\*(C'\fR will not restart \f(CW\*(C`spamd\*(C'\fR or otherwise cause a scanner to reload the now-updated ruleset automatically. Instead, ​\*(C`sa\-update\*(C'\fR is typically used in something like the following manner: ​ sa−update && /etc/init.d/spamassassin reload This works because \*(C`sa\-update\*(C'\fR only returns an exit status of \f(CW0\fR if it has successfully downloaded and installed an updated ruleset.

OPTIONS−−channel sa-update can update multiple channels at the same time. By default, it will only access updates.spamassassin.org, but more channels can be specified via this option. If there are multiple additional channels, use the option multiple times, once per channel. i.e.: ​ sa−update −−channel foo.example.com −−channel bar.example.com −−channelfile Similar to the −−channel option, except specify the additional channels in a file instead of on the commandline. This is useful when there are a lot of additional channels. −−checkonly Only check if an update is available, don't actually download and install it. The exit code will be 0 or 1 as described below. −−install Install updates offline, from the named tar.gz file, instead of performing ​DNS lookups and HTTP invocations. Files named file.sha1 and file.asc will be used for the SHA−1 and GPG signature, respectively. The filename provided must contain a version number of at least 3 digits, which will be used as the channel's update version number. Multiple −−channel switches cannot be used with −−install. To install multiple channels from tarballs, run \*(C`sa\-update\*(C'\fR multiple times with different ​−−channel and −−install switches, e.g.: ​ sa−update −−channel foo.example.com −−install foo−34958.tgz ​ sa−update −−channel bar.example.com −−install bar−938455.tgz −−allowplugins Allow downloaded updates to activate plugins. The default is not to activate plugins; any \*(C`loadplugin\*(C'\fR or \f(CW\*(C`tryplugin\*(C'\fR lines will be commented in the downloaded update rules files. −−gpg, −−nogpg sa-update by default will verify update archives by use of a SHA1 checksum and GPG signature. SHA1 hashes can verify whether or not the downloaded archive has been corrupted, but it does not offer any form of security regarding whether or not the downloaded archive is legitimate (aka: non-modifed by evildoers). GPG verification of the archive is used to solve that problem. If you wish to skip GPG verification, you can use the −−nogpg option to disable its use. Use of the following gpgkey-related options will override −−nogpg and keep GPG verification enabled. Note: Currently, only GPG itself is supported (ie: not PGP). v1.2 has been tested, although later versions ought to work as well. −−gpgkey sa-update has the concept of release trusted GPG keys. When an archive is downloaded and the signature verified, sa-update requires that the signature be from one of these release trusted keys or else verification fails. This prevents third parties from manipulating the files on a mirror, for instance, and signing with their own key. By default, sa-update trusts key id \*(C`265FA05B\*(C'\fR, which is the standard SpamAssassin release key. Use this option to trust additional keys. See the ​−−import option for how to add keys to sa-update's keyring. For sa-update to use a key it must be in sa-update's keyring and trusted. For multiple keys, use the option multiple times. i.e.: ​ sa−update −−gpgkey E580B363 −−gpgkey 298BC7D0 Note: use of this option automatically enables GPG verification. −−gpgkeyfile Similar to the −−gpgkey option, except specify the additional keys in a file instead of on the commandline. This is extremely useful when there are a lot of additional keys that you wish to trust. −−gpghomedir Specify a directory path to use as a storage area for the \*(C`sa\-update\*(C'\fR \s-1GPG\s0 keyring. By default, this is ​ /etc/mail/spamassassin/sa−update−keys −−import Use to import GPG key(s) from a file into the sa-update keyring which is located in the directory specified by −−gpghomedir. Before using channels from third party sources, you should use this option to import the GPG key(s) used by those channels. You must still use the −−gpgkey or −−gpgkeyfile options above to get sa-update to trust imported keys. To import multiple keys, use the option multiple times. i.e.: ​ sa−update −−import channel1−GPG.KEY −−import channel2−GPG.KEY Note: use of this option automatically enables GPG verification. −−refreshmirrors Force the list of sa-update mirrors for each channel, stored in the MIRRORED.BY file, to be updated. By default, the MIRRORED.BY file will be cached for up to 7 days after each time it is downloaded. −−updatedir By default, \*(C`sa\-update\*(C'\fR will use the system-wide rules update directory: ​ /var/lib/spamassassin/3.003001 If the updates should be stored in another location, specify it here. Note that use of this option is not recommended; if you're just using sa-update to download updated rulesets for a scanner, and sa-update is placing updates in the wrong directory, you probably need to rebuild SpamAssassin with different ​\*(C`Makefile.PL\*(C'\fR arguments, instead of overriding sa-update's runtime behaviour. −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 example, to produce diagnostic output on channel, gpg, and http, use: ​ sa−update −D channel,gpg,http 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-update version and exit.

EXIT CODESAn exit code of 0 means an update was available, and was downloaded and installed successfully if −−checkonly was not specified. An exit code of 1 means no fresh updates were available. An exit code of 2 means that at least one update is available but that a lint check of the site pre files failed. The site pre files must pass a lint check before any updates are attempted. An exit code of 4 or higher, indicates that errors occurred while attempting to download and extract updates.

SEE ALSOMail::SpamAssassin(3)Mail::SpamAssassin::Conf(3)spamassassin(1)spamd(1) <http://wiki.apache.org/spamassassin/RuleUpdates>

PREREQUESITES\*(C`Mail::SpamAssassin\*(C'\fR

BUGSSee <http://issues.apache.org/SpamAssassin/>

AUTHORSThe Apache SpamAssassin(tm) Project <http://spamassassin.apache.org/>

COPYRIGHTSpamAssassin is distributed under the Apache License, Version 2.0, as described in the file \*(C`LICENSE\*(C'\fR included with the distribution.
0
Johanes Gumabo
Data Size   :   27,326 byte
man-sa-update.1Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 231,378
Visitor ID   :     :  
Visitor IP   :   18.225.55.42   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (parse_manual_page_|249|sa-update.1|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\| )         (htmlprn|149|sa-update.1|36/37|.el══─{─══. ds --  —  |.el══─{─══. ds -- \|\(em\| )         (parse_manual_page_|249|sa-update.1|41|br══─}─══|'br══─}─══ )         (htmlprn|149|sa-update.1|41|'br══─}─══ |'br══─}─══ )         (rof_nr_x|149|sa-update.1|51/52|\nF|.ie \nF ══─{─══. de IX )         (rof_unit_scale_px|41|sa-update.1|51/52|F|.ie \nF ══─{─══. de IX )         (rof_if|19|sa-update.1|51/52|\nF|.ie \nF ══─{─══. de IX )         (htmlprn|149|sa-update.1|51/52|.ie \nF ══─{─══. de IX|.ie \nF ══─{─══. de IX )         (rof_escape_sequence|91|sa-update.1|53|\$1\t\\n%\t"\\$2" |. tm Index:\\$1\t\\n%\t"\\$2" )         (parse_manual_page_|249|sa-update.1|57|══─}─══|.══─}─══ )         (htmlprn|149|sa-update.1|57|.══─}─══ |.══─}─══ )         (rof_escape_sequence|91|sa-update.1|175|\*(C`sa\-update\*(C'\fR will not restart \f(CW\*(C`spamd\*(C'\fR or otherwise cause |Note that \f(CW\*(C`sa\-update\*(C'\fR will not restart \f(CW\*(C`spamd\*(C'\fR or otherwise cause )         (rof_escape_sequence|91|sa-update.1|177|\*(C`sa\-update\*(C'\fR is typically used in something like the following manner: |\&\f(CW\*(C`sa\-update\*(C'\fR is typically used in something like the following manner: )         (rof_escape_sequence|91|sa-update.1|183|\*(C`sa\-update\*(C'\fR only returns an exit status of \f(CW0\fR if |This works because \f(CW\*(C`sa\-update\*(C'\fR only returns an exit status of \f(CW0\fR if )         (rof_escape_sequence|91|sa-update.1|217|\*(C`sa\-update\*(C'\fR multiple times with different |multiple channels from tarballs, run \f(CW\*(C`sa\-update\*(C'\fR multiple times with different )         (rof_escape_sequence|91|sa-update.1|227|\*(C`loadplugin\*(C'\fR or \f(CW\*(C`tryplugin\*(C'\fR lines will be commented |activate plugins; any \f(CW\*(C`loadplugin\*(C'\fR or \f(CW\*(C`tryplugin\*(C'\fR lines will be commented )         (rof_escape_sequence|91|sa-update.1|252|\*(C`265FA05B\*(C'\fR, which is the standard |By default, sa-update trusts key id \f(CW\*(C`265FA05B\*(C'\fR, which is the standard )         (rof_escape_sequence|91|sa-update.1|271|\*(C`sa\-update\*(C'\fR \s-1GPG\s0 |Specify a directory path to use as a storage area for the \f(CW\*(C`sa\-update\*(C'\fR \s-1GPG\s0 )         (rof_escape_sequence|91|sa-update.1|299|\*(C`sa\-update\*(C'\fR will use the system-wide rules update directory: |By default, \f(CW\*(C`sa\-update\*(C'\fR will use the system-wide rules update directory: )         (rof_escape_sequence|91|sa-update.1|310|\*(C`Makefile.PL\*(C'\fR arguments, instead of overriding sa-update's runtime behaviour. |\&\f(CW\*(C`Makefile.PL\*(C'\fR arguments, instead of overriding sa-update's runtime behaviour. )         (rof_escape_sequence|91|sa-update.1|353|\*(C`Mail::SpamAssassin\*(C'\fR |\&\f(CW\*(C`Mail::SpamAssassin\*(C'\fR )         (rof_escape_sequence|91|sa-update.1|363|\*(C`LICENSE\*(C'\fR included with the distribution. |described in the file \f(CW\*(C`LICENSE\*(C'\fR included with the distribution. )