From afce5b5bf4c8cce8ebbef4c6c60193ca698b1c14 Mon Sep 17 00:00:00 2001 From: josh Date: Tue, 7 May 2024 08:11:54 -0400 Subject: [PATCH] salt --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index 86fd9d5..e5f702a 100644 --- a/main.go +++ b/main.go @@ -177,6 +177,7 @@ func modifyPasswordFile(email, password string) bool { out.WriteString("\n") } out.Close() + os.Rename("/root/docker/mail/config/postfix-accounts.cf", "/root/docker/mail/config/postfix-accounts.cf.old") os.Rename("/root/docker/mail/config/postfix-accounts.cf.tmp", "/root/docker/mail/config/postfix-accounts.cf") return true }