From eeb7e42ab4ad53ddbd129166de7b84b8eec4633b Mon Sep 17 00:00:00 2001 From: Damian Myrda Date: Sat, 7 Sep 2024 17:06:22 -0500 Subject: [PATCH] Fix dkim --- setup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index 3f81be6..49630dd 100755 --- a/setup.sh +++ b/setup.sh @@ -6,6 +6,7 @@ docker compose exec -it mail setup email add damian@prime8.dev docker compose restart mail docker compose exec -it mail setup alias add postmaster@prime8.dev damian@prime8.dev docker compose exec -it mail setup config dkim -docker exec -it mail cat /tmp/docker-mailserver/opendkim/keys/prime8.dev/mail.txt +docker compose exec mail sed -i "s|/etc/opendkim/|/tmp/docker-mailserver/opendkim/|g" /etc/opendkim.conf +docker compose exec -it mail cat /tmp/docker-mailserver/opendkim/keys/prime8.dev/mail.txt docker compose restart mail echo "services are set up" -- 2.43.4