summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2023-12-21 14:47:07 +0100
committerDaniel Weipert <code@drogueronin.de>2023-12-21 14:47:07 +0100
commit42c5221f862dd8e2e3049c8a2f94d39bf35d754f (patch)
tree692942dcb41ab85b50ed0dc35b6209fe8798c649
parent6132112a547a5a41c178d4627346d7358edfaa67 (diff)
[services/mail/server] add convenience scriptsHEADmain
-rwxr-xr-xApplications/Services/mail/server/bin/check-sieve5
-rwxr-xr-xApplications/Services/mail/server/bin/mail3
2 files changed, 8 insertions, 0 deletions
diff --git a/Applications/Services/mail/server/bin/check-sieve b/Applications/Services/mail/server/bin/check-sieve
new file mode 100755
index 0000000..9f18b8c
--- /dev/null
+++ b/Applications/Services/mail/server/bin/check-sieve
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+for file in $(docker compose exec mailserver bash -c "ls /tmp/docker-mailserver/*.dovecot.sieve"); do
+ docker compose exec mailserver sievec "${file}"
+done
diff --git a/Applications/Services/mail/server/bin/mail b/Applications/Services/mail/server/bin/mail
new file mode 100755
index 0000000..8a7b0cf
--- /dev/null
+++ b/Applications/Services/mail/server/bin/mail
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+docker compose exec mailserver setup $@