We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0f6f5a commit 9c2f1eeCopy full SHA for 9c2f1ee
bin/v-add-mail-domain
@@ -94,6 +94,14 @@ fi
94
# Generating timestamp
95
new_timestamp
96
97
+if [ -z "$ANTISPAM_SYSTEM" ]; then
98
+ antispam="no"
99
+ reject="no"
100
+fi
101
+if [ -z "$ANTIVIRUS_SYSTEM" ]; then
102
+ antivirus="no"
103
104
+
105
# Adding domain to mail.conf
106
s="DOMAIN='$domain' ANTIVIRUS='$antivirus' ANTISPAM='$antispam' REJECT='$reject' DKIM='$dkim' WEBMAIL=''"
107
s="$s SSL='no' LETSENCRYPT='no' CATCHALL='' ACCOUNTS='0' RATE_LIMIT='$RATE_LIMIT' U_DISK='0' SUSPENDED='no' TIME='$time'"
0 commit comments