From 4e3d429241ba7169eed13de7a3dbe83ea8bf12f8 Mon Sep 17 00:00:00 2001 From: CdRom1 <r.maliach@live.fr> Date: Sat, 8 Dec 2018 22:24:43 +0100 Subject: [PATCH] =?UTF-8?q?Correction=20convention=20=C3=A9criture=20param?= =?UTF-8?q?=C3=A8tres=20postfix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pica-mail-mta/entrypoint.sh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pica-mail-mta/entrypoint.sh b/pica-mail-mta/entrypoint.sh index 96b1edc4..dc4f7e31 100755 --- a/pica-mail-mta/entrypoint.sh +++ b/pica-mail-mta/entrypoint.sh @@ -94,12 +94,11 @@ service saslauthd restart service postfix restart #configuration DKIM -cat <<EOF >> /etc/postfix/main.cf -milter_default_action = accept -milter_protocol = 6 -smtpd_milters = local:/opendkim/opendkim.sock -non_smtpd_milters = local:/opendkim/opendkim.sock -EOF +postconf -e "milter_default_action = accept" +postconf -e "milter_protocol = 6" +postconf -e "smtpd_milters = local:/opendkim/opendkim.sock" +postconf -e "non_smtpd_milters = local:/opendkim/opendkim.sock" + #création des répertoires où transiteront les sockets + gestion des permissions mkdir /var/spool/postfix/opendkim chown -R opendkim:opendkim /etc/opendkim.conf /etc/dkimkeys -- GitLab