Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jul 2008 14:00:31 +0100 (BST)
From:      Thomas Sandford <freebsduser@paradisegreen.co.uk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        tabthorpe@FreeBSD.org
Subject:   ports/125538: [PATCH] mail/spamass-milter: allow local flags to be added to default
Message-ID:  <200807121300.m6CD0Vbb096559@miriam.paradisegreen.co.uk>
Resent-Message-ID: <200807121340.m6CDe2p1006667@freefall.freebsd.org>

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

>Number:         125538
>Category:       ports
>Synopsis:       [PATCH] mail/spamass-milter: allow local flags to be added to default
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 12 13:40:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Sandford
>Release:        FreeBSD 7.0-RELEASE i386
>Organization:
Paradise Green Technical Services
>Environment:
System: FreeBSD miriam.paradisegreen.co.uk 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
>Description:
With the present configuration, if you want to specify local flags to the
spamass-milter daemon [eg the -r NN option to reject at SMTP level mails
scoring above a certain level] you have to totally replace the default flags.

However the default flags are an appropriate minimum for almost all
installations.

This patch adds the option for local flags to be defined that are added to
the existing default (whilst still maintaining the option to replace the 
deafults altogether should this be required).

Port maintainer (tabthorpe@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77

>How-To-Repeat:
>Fix:

--- spamass-milter-0.3.1_6.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/mail/spamass-milter_orig/files/spamass-milter.in /usr/ports/mail/spamass-milter/files/spamass-milter.in
--- /usr/ports/mail/spamass-milter_orig/files/spamass-milter.in	2008-07-12 13:53:40.000000000 +0100
+++ /usr/ports/mail/spamass-milter/files/spamass-milter.in	2008-07-12 13:54:40.000000000 +0100
@@ -52,7 +52,7 @@
 load_rc_config $name
 : ${spamass_milter_enable="NO"}
 : ${spamass_milter_socket="/var/run/spamass-milter.sock"}
-: ${spamass_milter_flags="-f -p ${spamass_milter_socket}"}
+: ${spamass_milter_flags="-f -p ${spamass_milter_socket} ${spamass_milter_localflags}"}
 : ${spamass_milter_socket_owner="root"}
 : ${spamass_milter_socket_group="wheel"}
 : ${spamass_milter_socket_mode="644"}
--- spamass-milter-0.3.1_6.patch ends here ---

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



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