diff options
author | Daniel Weipert <code@drogueronin.de> | 2023-12-21 14:47:07 +0100 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2023-12-21 14:47:07 +0100 |
commit | 42c5221f862dd8e2e3049c8a2f94d39bf35d754f (patch) | |
tree | 692942dcb41ab85b50ed0dc35b6209fe8798c649 | |
parent | 6132112a547a5a41c178d4627346d7358edfaa67 (diff) |
-rwxr-xr-x | Applications/Services/mail/server/bin/check-sieve | 5 | ||||
-rwxr-xr-x | Applications/Services/mail/server/bin/mail | 3 |
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 $@ |