mirror of
https://github.com/optim-enterprises-bv/Mailu.git
synced 2026-01-09 16:51:48 +00:00
This PR add a rspamc fuzzy_del to ham & spam scripts, in order to cover move from Junk list to Ham list and vice versa
6 lines
250 B
Bash
Executable File
6 lines
250 B
Bash
Executable File
#!/bin/bash
|
|
|
|
tee >(rspamc -h {{ ANTISPAM_WEBUI_ADDRESS }} -P mailu learn_ham /dev/stdin) \
|
|
>(rspamc -h {{ ANTISPAM_WEBUI_ADDRESS }} -P mailu -f 11 fuzzy_del /dev/stdin) \
|
|
| rspamc -h {{ ANTISPAM_WEBUI_ADDRESS }} -P mailu -f 13 fuzzy_add /dev/stdin
|