From 309ccbd03c262743cc339887e70082757b3cd247 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 10 May 2022 14:23:12 +0200 Subject: surtr: ... --- hosts/surtr/email/dovecot-pipe-bin/learn_ham.sh | 3 +++ hosts/surtr/email/dovecot-pipe-bin/learn_spam.sh | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 hosts/surtr/email/dovecot-pipe-bin/learn_ham.sh create mode 100644 hosts/surtr/email/dovecot-pipe-bin/learn_spam.sh (limited to 'hosts/surtr/email/dovecot-pipe-bin') diff --git a/hosts/surtr/email/dovecot-pipe-bin/learn_ham.sh b/hosts/surtr/email/dovecot-pipe-bin/learn_ham.sh new file mode 100644 index 00000000..6e0bb076 --- /dev/null +++ b/hosts/surtr/email/dovecot-pipe-bin/learn_ham.sh @@ -0,0 +1,3 @@ +#!/bin/bash -e + +exec rspamc -h /run/rspamd/worker-controller.sock learn_ham diff --git a/hosts/surtr/email/dovecot-pipe-bin/learn_spam.sh b/hosts/surtr/email/dovecot-pipe-bin/learn_spam.sh new file mode 100644 index 00000000..91dbd6c1 --- /dev/null +++ b/hosts/surtr/email/dovecot-pipe-bin/learn_spam.sh @@ -0,0 +1,3 @@ +#!/bin/bash -e + +exec rspamc -h /run/rspamd/worker-controller.sock learn_spam -- cgit v1.2.3