summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 $@