Bug 84104 - mail/clamav 0.86.2 milter not starting
Summary: mail/clamav 0.86.2 milter not starting
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-26 04:00 UTC by Erin Fortenberry
Modified: 2005-07-27 18:22 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erin Fortenberry 2005-07-26 04:00:35 UTC
Starting clamav-milter with the stock options gives an error: /usr/local/sbin/clamav-milter: --timeout must not be given if --external is not given

The milter will not start.

Fix: 

Add "--timeout=0" to clamav_milter_flags in /etc/rc.conf. For example:
clamav_milter_flags="--timeout=0 --postmaster-only --local --outgoing --max-children=50"
How-To-Repeat: Install clamav and start the milter.
Comment 1 Sergey Matveychuk freebsd_committer freebsd_triage 2005-07-26 09:05:19 UTC
Please, send it to clamav port maintainer first.

-- 
Sem.
Comment 2 Sergey Matveychuk freebsd_committer freebsd_triage 2005-07-26 09:06:37 UTC
Hi Rob!

Can you take a look at the PR please?
-- 
Sem.
Comment 3 clive 2005-07-27 15:19:24 UTC
I'm second to this.

patch may like

--- files/clamav-milter.sh.in~  Wed Jul 27 22:00:04 2005
+++ files/clamav-milter.sh.in   Wed Jul 27 22:00:29 2005
@@ -41,6 +41,6 @@
 load_rc_config $name
 : ${clamav_milter_enable="NO"}
 : ${clamav_milter_socket="%%CLAMAV_MILTER_SOCKET%%"}
-: ${clamav_milter_flags="--postmaster-only --local --outgoing --max-children=50"}
+: ${clamav_milter_flags="--postmaster-only --local --outgoing --timeout=0 --max-children=50"}
 
 run_rc_command "$1"

I think PORTREVISION should be bumped as well.

Cheers,
Clive Tong-I Lin | http://tongi.org | PGP KeyID: A008C03E
Comment 4 Sergey Matveychuk freebsd_committer freebsd_triage 2005-07-27 18:22:23 UTC
State Changed
From-To: open->closed

A fix committed, thanks!