Remove binary apk and use sieve_imap for antispam learning, fixes #33

This commit is contained in:
Pierre Jaury
2016-12-11 19:15:09 +01:00
parent f1be8d7fd5
commit f2ff1eb955
7 changed files with 26 additions and 19 deletions

3
dovecot/sieve/bin/mailtrain Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/sh
rspamc -h antispam:11334 -P mailu "learn_$1" /dev/stdin <&0