Bug 200036 - security/amavisd-new: clamd socket file incorrect
Summary: security/amavisd-new: clamd socket file incorrect
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Florian Smeets
Depends on:
Reported: 2015-05-07 20:22 UTC by Bernard Spil
Modified: 2016-12-13 16:11 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (gabor)


Note You need to log in before you can comment on or make changes to this bug.
Description Bernard Spil freebsd_committer 2015-05-07 20:22:24 UTC

Comment 1 Bernard Spil freebsd_committer 2015-05-07 20:26:15 UTC
After a fresh install of security/amavisd-new the daemon can be started but not stopped/restarted.

from ${LOCALBASE}/etc/rc.d/amavisd:

from ${LOCALBASE}/etc/amavisd.conf
$MYHOME = '/var/amavis'
$pid_file  = "$MYHOME/var/amavisd.pid";
(both commented out, defaults?)
Comment 2 Bernard Spil freebsd_committer 2015-05-07 20:39:46 UTC
Additionally in amavisd.conf

  \&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd.sock.sock"],

Leading to failure.
Comment 3 Bernard Spil freebsd_committer 2015-05-07 20:43:01 UTC
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
Comment 4 commit-hook freebsd_committer 2016-12-13 14:53:07 UTC
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

  - 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]

Comment 5 Florian Smeets freebsd_committer 2016-12-13 16:11:54 UTC
Committed. Thanks.