From dbd50c3656e53efb8d465fb448706fbb64695342 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A5=D0=B8=D1=80=D0=B5=D1=86=D0=BA=D0=B8=D0=B9=20=D0=9C?= =?UTF-8?q?=D0=B8=D1=85=D0=B0=D0=B8=D0=BB?= Date: Mon, 17 Sep 2018 15:10:09 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BD=D0=B0=D1=81=D1=82=D1=80=D0=BE?= =?UTF-8?q?=D0=B5=D0=BA=20=D0=BF=D0=BE=D1=87=D1=82=D0=BE=D0=B2=D0=BE=D0=B3?= =?UTF-8?q?=D0=BE=20=D1=81=D0=B5=D1=80=D0=B2=D0=B5=D1=80=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../revision/2018/20180917-fix_postfix_calculate_server | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/profiles/templates/3.6/6_ac_update_sync/revision/2018/20180917-fix_postfix_calculate_server b/profiles/templates/3.6/6_ac_update_sync/revision/2018/20180917-fix_postfix_calculate_server index a5022aca8..ded458892 100644 --- a/profiles/templates/3.6/6_ac_update_sync/revision/2018/20180917-fix_postfix_calculate_server +++ b/profiles/templates/3.6/6_ac_update_sync/revision/2018/20180917-fix_postfix_calculate_server @@ -2,8 +2,9 @@ #-ini(overlay-calculate.revision,#-cut(0,-,#-cl_pass_file-#)-#)-# -#?pkg(mail-mta/postfix)!=&&grep(/var/lib/calculate/calculate.env,sr_mail_set\s+=\s+on)!=&&grep(/etc/postfix/main.cf,^smtpd_relay_restriction)==# -echo "smtpd_relay_restriction = permit_mynetworks, permit_sasl_authenticated, defer_unauth_destination" >>/etc/postfix/main.cf +#?pkg(mail-mta/postfix)!=&&grep(/var/lib/calculate/calculate.env,sr_mail_set\s+=\s+on)!=&&grep(/etc/postfix/main.cf,^smtpd_relay_restrictions)==# +echo >>/etc/postfix/main.cf +echo "smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, defer_unauth_destination" >>/etc/postfix/main.cf #pkg# true