Problem trying to start postsrsd service in 16.04

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/FAILUREThe problem seems to be that variable SRS_DOMAIN in /etc/default/postsrsd is not being initialized with postconf -h mydomain. I assume that /etc/init.d/postsrsd is responsible for that, but I can't figure why it isn't doing it. The command postconf -h mydomain does yield the correct result.

Any ideas?

1 Answer

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.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like