rspamc --header 'X-Test: 1' symbols < message.eml

Category: Mail Servers & Postfix

rspamc --header 'X-Test: 1' symbols < message.eml

Scan a message with a custom header

Adds an extra HTTP header to the scan request, which some setups use to pass context into custom rules or to test header-based logic. Options come before the command name. Combine with -i and -u to fully simulate an SMTP transaction.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.