When I try to start postsrsd with sudo service postsrsd start
, it results in the following syslog entries:
Started SRS lookup table for Postfix.
/usr/sbin/postsrsd: option requires an argument -- 'd'
postsrsd.service: Main process exited, code=exited, status=1/FAILURE
The problem seems to be that variable SRS_DOMAIN in /etc/default/postsrsd
is not being initialized with
. I assume that postconf -h mydomain
/etc/init.d/postsrsd
is responsible for that, but I can't figure why it isn't doing it. The command
does yield the correct result.postconf -h mydomain
Any ideas?
I had upgraded from Ubuntu 12.04. There is a README in the postsrsd 1.2-1 Debian package which warns that postsrsd install will NOT overwrite any existing config files. I apt remove'd postsrsd, deleted /etc/init/postsrsd.conf, /etc/init.d/postsrsd, and /etc/default/postsrsd, then apt install'd postsrsd. This fixed the problem.