mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-14 10:53:30 +02:00
885a0b5167
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
|