Created
October 1, 2023 12:04
-
-
Save fatalbanana/3fb182ab8a37ddec7de0d561a573353c to your computer and use it in GitHub Desktop.
Conveniently load a message into `rspamadm lua` REPL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- rspamadm lua -s load.lua -a message.eml | |
rspamd_task = require 'rspamd_task' | |
ok, task = rspamd_task.load_from_file(arg[1]) | |
assert(ok) | |
assert(task:process_message()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment