table of contents
other versions
OA-COMPILE(1) | User Commands | OA-COMPILE(1) |
NAME¶
oa-compile - Testing tool that parses PAD rule set files and runs a match against message.
DESCRIPTION¶
usage: oa-compile [-h] [-n NICE] [-P] [-se] [--show-unknown]
- [-sp SERIALIZEPATH] [-r | -k] [-D] [-dl] [-v] [-C CONFIGPATH] [-S SITEPATH] [-p PREFSPATH] [-t] [-R] [path [path ...]]
Testing tool that parses PAD rule set files and runs a match against message. Prints out any matching rules.
positional arguments:¶
- path
- Paths to messages or directories containing messages (default: [[<_io.BufferedReader name='<stdin>'>]])
optional arguments:¶
- -h, --help
- show this help message and exit
- -n NICE, --nice NICE
- set 'nice' level (default: 0)
- -P, --paranoid
- Die upon user errors (default: False)
- -se, --serialize
- Allow serialization (default: False)
- --show-unknown
- Show warnings about unknown parsing errors (default: False)
- -sp SERIALIZEPATH, --serializepath SERIALIZEPATH
- Path to the file with serialized ruleset (default: ~/.spamassassin/serialized_ruleset)
- -r, --report
- Report the message as spam (default: False)
- -k, --revoke
- Revoke the message as spam (default: False)
- -D, --debug
- Enable debugging output (default: False)
- -dl, --deactivate-lazy
- Deactivate lazy loading of rules/regex (default: False)
- -v, --version
- show program's version number and exit
- -C CONFIGPATH, --configpath CONFIGPATH
- Path to standard configuration directory (default: /usr/share/spamassassin)
- -S SITEPATH, --sitepath SITEPATH, --siteconfigpath SITEPATH
- Path to standard configuration directory (default: /etc/mail/spamassassin)
- -p PREFSPATH, --prefspath PREFSPATH, --prefs-file PREFSPATH
- Path to user preferences. (default: ~/.spamassassin/user_prefs)
- -t, --test-mode
- Pipe message through and add extra report to the bottom (default: False)
- -R, --report-only
- Only print the report instead of the adjusted message. (default: False)
October 2017 | oa-compile 1.0b |