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
[$smtphost]:$smtpport $username:$password
EOF
postmap /etc/postfix/sasl_passwd
postmap /etc/aliases
postmap /etc/postfix/sasl_passwd > /dev/null 2>&1
postmap /etc/aliases > /dev/null 2>&1
chown root:root /etc/postfix/sasl_passwd
chown root:root /etc/postfix/sasl_passwd.db
chmod 0600 /etc/postfix/sasl_passwd