diff options
Diffstat (limited to 'files/usr/local/libexec/dovecot/sieve-pipe/report-spam.sh.imap_server')
-rw-r--r-- | files/usr/local/libexec/dovecot/sieve-pipe/report-spam.sh.imap_server | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/files/usr/local/libexec/dovecot/sieve-pipe/report-spam.sh.imap_server b/files/usr/local/libexec/dovecot/sieve-pipe/report-spam.sh.imap_server new file mode 100644 index 0000000..825113f --- /dev/null +++ b/files/usr/local/libexec/dovecot/sieve-pipe/report-spam.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_spam |