summaryrefslogtreecommitdiff
path: root/hosts/surtr/email/dovecot-pipe-bin
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-05-10 14:23:12 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2022-05-10 14:23:12 +0200
commit309ccbd03c262743cc339887e70082757b3cd247 (patch)
tree0ac49991dc451e94f29c863f0f2602bc3793b2ec /hosts/surtr/email/dovecot-pipe-bin
parent4f08f21232e31a31d76752f010c7b43b8f5e608f (diff)
downloadnixos-309ccbd03c262743cc339887e70082757b3cd247.tar
nixos-309ccbd03c262743cc339887e70082757b3cd247.tar.gz
nixos-309ccbd03c262743cc339887e70082757b3cd247.tar.bz2
nixos-309ccbd03c262743cc339887e70082757b3cd247.tar.xz
nixos-309ccbd03c262743cc339887e70082757b3cd247.zip
surtr: ...
Diffstat (limited to 'hosts/surtr/email/dovecot-pipe-bin')
-rw-r--r--hosts/surtr/email/dovecot-pipe-bin/learn_ham.sh3
-rw-r--r--hosts/surtr/email/dovecot-pipe-bin/learn_spam.sh3
2 files changed, 6 insertions, 0 deletions
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 @@
1#!/bin/bash -e
2
3exec 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 @@
1#!/bin/bash -e
2
3exec rspamc -h /run/rspamd/worker-controller.sock learn_spam