mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-20 20:22:38 +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
257 B
Bash
Executable File
6 lines
257 B
Bash
Executable File
#!/bin/bash
|
|
|
|
tee >(rspamc -h {{ ANTISPAM_WEBUI_ADDRESS }} -P mailu learn_spam /dev/stdin) \
|
|
>(rspamc -h {{ ANTISPAM_WEBUI_ADDRESS }} -P mailu -f 13 fuzzy_del /dev/stdin) \
|
|
| rspamc -h {{ ANTISPAM_WEBUI_ADDRESS }} -P mailu -f 11 fuzzy_add /dev/stdin
|