From 1e088983f6a80b6fd47543d0b4989e9ddb3234d5 Mon Sep 17 00:00:00 2001 From: Cullum Smith Date: Fri, 4 Oct 2024 21:59:59 -0400 Subject: add imap stuff --- .../usr/local/libexec/dovecot/sieve-pipe/report-ham.sh.imap_server | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 files/usr/local/libexec/dovecot/sieve-pipe/report-ham.sh.imap_server (limited to 'files/usr/local/libexec/dovecot/sieve-pipe/report-ham.sh.imap_server') 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 -- cgit v1.2.3