From 8f03827990748942a97418cbbd2c47769109546c Mon Sep 17 00:00:00 2001 From: xarraxyl <110544951+xarraxyl@users.noreply.github.com> Date: Fri, 30 Aug 2024 18:16:26 +0200 Subject: [PATCH] Add `maildomain` to adddomain.sh --- adddomain.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/adddomain.sh b/adddomain.sh index d44b567..d456801 100755 --- a/adddomain.sh +++ b/adddomain.sh @@ -5,6 +5,7 @@ domain="$1" domain="$1" subdom="mail" +maildomain="$subdom.$domain" # Add the domain to the valid postfix addresses. grep -q "^mydestination.*$domain" /etc/postfix/main.cf ||