After a fresh install of security/amavisd-new the daemon can be started but not stopped/restarted. from ${LOCALBASE}/etc/rc.d/amavisd: pidfile=${amavisd_pidfile-"/var/run/amavisd.pid"} from ${LOCALBASE}/etc/amavisd.conf $MYHOME = '/var/amavis' $pid_file = "$MYHOME/var/amavisd.pid"; (both commented out, defaults?)
Additionally in amavisd.conf \&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd.sock.sock"], Leading to failure.
Please ignore the pid-file part, that I managed to do to myself. Will check later, /var/amavis/var/run/amavisd.pid seems awkward as well
A commit references this bug: Author: flo Date: Tue Dec 13 14:52:24 UTC 2016 New revision: 428490 URL: https://svnweb.freebsd.org/changeset/ports/428490 Log: - fix clamd socket file location in default config file [1] - prevent error messages from amavisd-p0fanalyzer rc script [2] - add a patch to fix dkim siging that was broken in 2.11.0 [3] PR: 200036 [1], 209038 [2], 214202 [3] Submitted by: barnerd [1] Miroslav Lachman <000.fbsd@quip.cz> [2] ari@stonepile.fi [3] Changes: head/security/amavisd-new/Makefile head/security/amavisd-new/files/amavis-p0fanalyzer.in head/security/amavisd-new/files/patch-amavisd
Committed. Thanks.