Correction : postgrey : socket dans le chroot de postfix.
authorJulien Moutinho <julm+heureux-cyclage@autogeree.net>
Sat, 25 May 2013 10:40:44 +0000 (12:40 +0200)
committerJulien Moutinho <julm+heureux-cyclage@autogeree.net>
Sat, 25 May 2013 10:40:44 +0000 (12:40 +0200)
etc/postfix/main.cf
etc/sv/postgrey/run

index 8348003..b5d3da3 100644 (file)
@@ -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
index a1bbcda..5a1684c 100755 (executable)
@@ -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