NetBSD Problem Report #5694

Received: (qmail 1842 invoked from network); 2 Jul 1998 23:04:57 -0000
Message-Id: <199807022252.SAA05245@acheron.middleboro.ma.us>
Date: Thu, 2 Jul 1998 18:52:51 -0400 (EDT)
From: mason@acheron.middleboro.ma.us
Reply-To: mason@acheron.middleboro.ma.us
To: gnats-bugs@gnats.netbsd.org
Subject: procmail package uses /usr/local/etc/procmailrc
X-Send-Pr-Version: 3.95

>Number:         5694
>Category:       pkg
>Synopsis:       procmail package uses /usr/local/etc/procmailrc
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    gnats-admin
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 02 16:20:00 +0000 1998
>Closed-Date:    Fri Jul 03 14:54:43 +0000 1998
>Last-Modified:  Fri Jul 03 15:01:12 +0000 1998
>Originator:     Mason Loring Bliss
>Release:        package system, 1.3.2
>Organization:
>Environment:
System: NetBSD acheron.middleboro.ma.us 1.3.2 NetBSD 1.3.2 (MLB) #2: Sat Jun 27 09:14:25 EDT 1998 mason@acheron.middleboro.ma.us:/usr/src/sys/arch/i386/compile/MLB i386


>Description:

The procmail package uses /usr/local/etc/procmailrc as a global procmail rc
file. Correct behaviour would be to use either /etc/procmailrc or
/usr/pkg/etc/procmailrc.

>How-To-Repeat:

Try using a global procmailrc file anywhere but /usr/local/etc.

>Fix:

*** config.h    Thu Jul  2 18:50:54 1998
--- config.h.correct    Thu Jul  2 18:51:45 1998
***************
*** 71,81 ****
        is not found, maildelivery will proceed as normal to the default
        system mailbox. */

! #define ETCRC   "/usr/local/etc/procmailrc"       /* optional global procmailrc startup
                                           file (will only be read if procmail
        is started with no rcfile on the command line). */

! #define ETCRCS  "/usr/local/etc/procmailrcs/"     /* optional trusted path prefix for
                                           rcfiles which will be executed with
        the uid of the owner of the rcfile (this only happens if procmail is
        called with the -m option, without variable assignments on the command
--- 71,81 ----
        is not found, maildelivery will proceed as normal to the default
        system mailbox. */

! #define ETCRC   "/etc/procmailrc"       /* optional global procmailrc startup
                                           file (will only be read if procmail
        is started with no rcfile on the command line). */

! #define ETCRCS  "/etc/procmailrcs/"     /* optional trusted path prefix for
                                           rcfiles which will be executed with
        the uid of the owner of the rcfile (this only happens if procmail is
        called with the -m option, without variable assignments on the command

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: frueauf 
State-Changed-When: Fri Jul 3 07:54:43 PDT 1998 
State-Changed-Why:  
I committed a fix that adjusts the path according to $LOCALBASE, thanx. 

Greets 
Thorsten 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.