Subject: pkg/5694: procmail package uses /usr/local/etc/procmailrc
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mason@acheron.middleboro.ma.us>
List: netbsd-bugs
Date: 07/02/1998 18:52:51
>Number:         5694
>Category:       pkg
>Synopsis:       procmail package uses /usr/local/etc/procmailrc
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul  2 16:20:00 1998
>Last-Modified:
>Originator:     Mason Loring Bliss
>Organization:
>Release:        package system, 1.3.2
>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

>Audit-Trail:
>Unformatted: