Browse Source

Add `maildomain` to adddomain.sh

pull/329/head
xarraxyl 3 months ago
committed by GitHub
parent
commit
8f03827990
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      adddomain.sh

+ 1
- 0
adddomain.sh View File

@@ -5,6 +5,7 @@ domain="$1"


domain="$1" domain="$1"
subdom="mail" subdom="mail"
maildomain="$subdom.$domain"


# Add the domain to the valid postfix addresses. # Add the domain to the valid postfix addresses.
grep -q "^mydestination.*$domain" /etc/postfix/main.cf || grep -q "^mydestination.*$domain" /etc/postfix/main.cf ||


Loading…
Cancel
Save