]> prime8.dev >> repos - p8d.git/commitdiff
Fix dkim
authorDamian Myrda <monkey.damianek@gmail.com>
Sat, 7 Sep 2024 22:06:22 +0000 (17:06 -0500)
committerDamian Myrda <monkey.damianek@gmail.com>
Sat, 7 Sep 2024 22:06:22 +0000 (17:06 -0500)
setup.sh

index 3f81be6d3d04e7bf34102bf43bad428961b89fca..49630dd990c8bc65e529ee05dba6ee9091870145 100755 (executable)
--- 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"