aboutsummaryrefslogtreecommitdiff
path: root/files/usr/local/libexec/dovecot/sieve-pipe/report-ham.sh.imap_server
diff options
context:
space:
mode:
Diffstat (limited to 'files/usr/local/libexec/dovecot/sieve-pipe/report-ham.sh.imap_server')
-rw-r--r--files/usr/local/libexec/dovecot/sieve-pipe/report-ham.sh.imap_server7
1 files changed, 7 insertions, 0 deletions
diff --git a/files/usr/local/libexec/dovecot/sieve-pipe/report-ham.sh.imap_server b/files/usr/local/libexec/dovecot/sieve-pipe/report-ham.sh.imap_server
new file mode 100644
index 0000000..e09674a
--- /dev/null
+++ b/files/usr/local/libexec/dovecot/sieve-pipe/report-ham.sh.imap_server
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+exec /usr/local/bin/rspamc \\
+ --connect="${rspamd_host}.${domain}" \\
+ --password="${rspamd_rw_password}" \\
+ --key="${rspamd_pubkey}" \\
+ learn_ham