Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Nov 2011 07:13:46 GMT
From:      Volker Werth <vwe@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/162426: mail/postgrey bad postgrey_options default in rc.d file
Message-ID:  <201111100713.pAA7DkHp035105@red.freebsd.org>
Resent-Message-ID: <201111100720.pAA7K7NM044203@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         162426
>Category:       ports
>Synopsis:       mail/postgrey bad postgrey_options default in rc.d file
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 10 07:20:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Volker Werth
>Release:        8-STABLE
>Organization:
>Environment:
>Description:
update to postgrey 1.34_1 gives the following error message when running the rc.d file /usr/local/etc/rc.d/postgrey

Unknown option: inet:10023
/usr/local/etc/rc.d/postgrey: WARNING: failed to start postgrey

The issue has been already reported by hijacking a different PR - see ports/162188
>How-To-Repeat:
install / update postgrey to 1.34_1
>Fix:
To fix this, either use attached patch (mail/postgrey/files/postgrey.in) as a permanent fix or (the administrator may) temporarily set the following line in /etc/rc.conf:

postgrey_options="--inet=10023"

Patch attached with submission follows:

--- files/postgrey.in.orig	2011-11-10 07:45:30.835645415 +0100
+++ files/postgrey.in	2011-11-10 07:45:44.695692170 +0100
@@ -38,7 +38,7 @@
 
 postgrey_dbdir=${postgrey_dbdir:-"%%DBDIR%%"}
 postgrey_enable=${postgrey_enable:-"NO"}
-postgrey_options=${postgrey_options:-"--inet:10023"}
+postgrey_options=${postgrey_options:-"--inet=10023"}
 postgrey_pidfile=${postgrey_pidfile:-"/var/run/postgrey.pid"}
 postgrey_flags=${postgrey_flags:-"-d --pidfile=${postgrey_pidfile} \
 	--dbdir=${postgrey_dbdir} ${postgrey_options}"}


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111100713.pAA7DkHp035105>