Suppress postmap output

This commit is contained in:
thorstenspille 2023-10-04 06:45:19 +02:00
parent 77477348f5
commit 99438a44a4

View File

@ -479,8 +479,8 @@ EOF
cat << EOF > /etc/postfix/sasl_passwd cat << EOF > /etc/postfix/sasl_passwd
[$smtphost]:$smtpport $username:$password [$smtphost]:$smtpport $username:$password
EOF EOF
postmap /etc/postfix/sasl_passwd postmap /etc/postfix/sasl_passwd > /dev/null 2>&1
postmap /etc/aliases postmap /etc/aliases > /dev/null 2>&1
chown root:root /etc/postfix/sasl_passwd chown root:root /etc/postfix/sasl_passwd
chown root:root /etc/postfix/sasl_passwd.db chown root:root /etc/postfix/sasl_passwd.db
chmod 0600 /etc/postfix/sasl_passwd chmod 0600 /etc/postfix/sasl_passwd