From dc5b214b931bfbfd99517e8a129b9e0df0a207a1 Mon Sep 17 00:00:00 2001 From: Julien Moutinho Date: Sat, 25 May 2013 12:40:44 +0200 Subject: [PATCH] Correction : postgrey : socket dans le chroot de postfix. --- etc/postfix/main.cf | 2 +- etc/sv/postgrey/run | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/postfix/main.cf b/etc/postfix/main.cf index 8348003..b5d3da3 100644 --- a/etc/postfix/main.cf +++ b/etc/postfix/main.cf @@ -134,7 +134,7 @@ smtpd_recipient_restrictions = permit_sasl_authenticated reject_unauth_destination # NOTE: ne pas passer par SPFCheck / Postgrey si le mail n'est pas pour nous ou quelqu'un pour lequel on tient lieu de backup_mx - check_policy_service unix:/run/postgrey/socket + check_policy_service unix:postgrey/socket # NOTE: Postgrey (greylisting) check_policy_service unix:private/spfcheck permit_auth_destination diff --git a/etc/sv/postgrey/run b/etc/sv/postgrey/run index a1bbcda..5a1684c 100755 --- a/etc/sv/postgrey/run +++ b/etc/sv/postgrey/run @@ -3,7 +3,7 @@ exec 2>&1 sv=${PWD#/etc/sv/} install -d -m 2710 -o postgrey -g postfix \ - /run/postgrey + /var/spool/postfix/postgrey exec /usr/bin/chpst \ -u "$sv":"$sv" \ @@ -13,4 +13,4 @@ exec /usr/bin/chpst \ --delay=65 \ --max-age=35 \ --privacy \ - --unix=/run/postgrey/socket + --unix=/var/spool/postfix/postgrey/socket -- 2.20.1