Correction

This commit is contained in:
Clément ROUSSEAU 2019-12-11 19:45:04 +01:00
parent a1906c05fb
commit 9e02d888f5

View File

@ -152,7 +152,6 @@ then
mv mailserver.key private/ mv mailserver.key private/
mv mailserver.crt certs/ mv mailserver.crt certs/
openssl dhparam -out /etc/postfix/dh2048.pem 2048 openssl dhparam -out /etc/postfix/dh2048.pem 2048
openssl dhparam -out /etc/postfix/dh512.pem 512
echo "-- Certificats générés !" echo "-- Certificats générés !"
touch /etc/postfix/mysql-virtual-mailbox-domains.cf touch /etc/postfix/mysql-virtual-mailbox-domains.cf
echo -e "hosts = 127.0.0.1\nuser = postfix\npassword = $MARIADB_POSTFIX_PASSWORD\ndbname = postfix\nquery = SELECT domain FROM domain WHERE domain='%s' and backupmx = 0 and active = 1" >> /etc/postfix/mysql-virtual-mailbox-domains.cf echo -e "hosts = 127.0.0.1\nuser = postfix\npassword = $MARIADB_POSTFIX_PASSWORD\ndbname = postfix\nquery = SELECT domain FROM domain WHERE domain='%s' and backupmx = 0 and active = 1" >> /etc/postfix/mysql-virtual-mailbox-domains.cf