/etc/init/postsrsd.conf is in postsrsd 1.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | description "Postfix Sender Rewriting Scheme daemon"
author "Timo Röhling <timo.roehling@gmx.de>"
start on (filesystem and net-device-up)
stop on runlevel [!2345]
respawn
env DEFAULTFILE=/etc/default/postsrsd
script
SRS_DOMAIN=`postconf -h mydomain || true`
SRS_FORWARD_PORT=10001
SRS_REVERSE_PORT=10002
SRS_SECRET=/etc/postsrsd.secret
SRS_EXCLUDE_DOMAINS=
RUN_AS=nobody
CHROOT=/var/lib/postsrsd
if [ -r "$DEFAULTFILE" ]; then
. "$DEFAULTFILE"
fi
exec /usr/sbin/postsrsd -f"$SRS_FORWARD_PORT" -r"$SRS_REVERSE_PORT" -d"$SRS_DOMAIN" -s"$SRS_SECRET" -u"$RUN_AS" -c"$CHROOT" -X"$SRS_EXCLUDE_DOMAINS"
end script
|