#!/bin/sh -eux
exec 2>&1
sv=${PWD#/etc/sv/}
+
+install -d -m 2710 -o postgrey -g postfix \
+ /var/spool/postfix/postgrey
+
exec /usr/bin/chpst \
-u "$sv":"$sv" \
/usr/sbin/postgrey \
--delay=65 \
--max-age=35 \
--privacy \
- --unix=/run/postgrey/socket
+ --unix=/var/spool/postfix/postgrey/socket