Usage: rspamc-4.2.3 [OPTION…] - run rspamc client Summary: Rspamd client version 4.2.3 Release id: release Help Options: -?, --help Show help options Application Options: -h, --connect Specify host and port -P, --password Specify control password -c, --classifier Classifier to learn spam or ham -w, --weight Weight for fuzzy operations -f, --flag Flag for fuzzy operations -p, --pass-all Pass all filters -v, --verbose More verbose output -i, --ip Emulate that message was received from specified ip address -u, --user Emulate that message was received from specified authenticated user -d, --deliver Emulate that message is delivered to specified user (for LDA/statistics) -F, --from Emulate that message has specified SMTP FROM address -r, --rcpt Emulate that message has specified SMTP RCPT address --helo Imitate SMTP HELO passing from MTA --hostname Imitate hostname passing from MTA -t, --timeout Time in seconds to wait for a reply -b, --bind Bind to specified ip address --commands List available commands -R, --human Output human readable report -j, --json Output json reply --compact Output compact json reply --headers Output HTTP headers --raw Input is a raw file, not an email file --ucl Output ucl reply from rspamd -n, --max-requests Maximum count of parallel requests to rspamd --extended-urls Output urls in extended format --key Use specified pubkey to encrypt request -e, --exec Execute the specified command and pass output to it -m, --mime Write mime body of message with headers instead of just a scan's result --header Add custom HTTP header to query (can be repeated) --metadata-header Add custom field to v3 metadata headers as KEY=VALUE or KEY:VALUE (can be repeated) --exclude Exclude specific glob patterns in file names (can be repeated) --sort Sort output in a specific order (name, weight, frequency, hits) -E, --empty Allow empty input instead of reading from stdin -S, --fuzzy-symbol Learn the specified fuzzy symbol -z, --compressed Enable zstd compression --profile Profile symbols execution time -D, --dictionary Use dictionary to compress data --skip-images Skip images when learning/unlearning fuzzy --skip-attachments Skip attachments when learning/unlearning fuzzy --protocol-v3 Use v3 multipart protocol (structured metadata, multipart response) --msgpack Use msgpack for v3 metadata and response (requires --protocol-v3) -U, --user-agent Use specific User-Agent instead of "rspamc" --files-list Read one or more newline separated filenames to scan from file --queue-id Set Queue-ID header for the request --log-tag Set Log-Tag header for the request --output-body Save rewritten message body to file --settings Set Settings header as JSON/UCL for the request