I already know that it is reading the system-wide rc file first through a simular experiment. The section of the manpage that seems to support this is the following: <quote> If no rcfiles and no -p have been specified on the command line, procmail will, _prior_ to reading $HOME/.procmailrc, interpret commands from /etc/procmailrc (if present).... </quote> But the man page says -p is to Preserve any old environment. Not sure what that is getting at, so I didn't test it. TimH > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of > Patrick R. Wade > Sent: Thursday, August 30, 2001 10:47 AM > To: [EMAIL PROTECTED] > Subject: [EUG-LUG:2577] Re: procmailrc > > > On Thu, Aug 30, 2001 at 08:39:17AM -0700, Tim Howe wrote: > >Return-Path: <[EMAIL PROTECTED]> > > > >if somebody has a quick answer to this, it might save me a > little time.. > > > >I use procmail, but the way I am calling it (I think), it reads the > >/etc/procmailrc before it looks for /home/user/.procmailrc. > What I want is > >to read the users file first, and if it isn't there, read > the global one. > > > >This is my .forward > >---- > >"|IFS=' ' && exec /usr/local/bin/procmail -f $p&&exec $p > -Yf-||exit 75 > >#thowe" > >---- > > > >Anybody know what has to change? > > > > Hm; according to my manpages, it should read the .procmailrc > first, and > then /etc/procmailrc ... > > You might try the following experiment ; put this in your .procmailrc > --- > # to see if .procmailrc is parsed first > :0: > * > local > --- > and this in /etc/procmailrc > --- > # to see if systemwide is parsed first > :0: > * > $HOME/system > --- > This should cause all mail to wind up in either a mailbox named local > (if .procmailrc is parsed first), or one named system (if > /etc/procmailrc > is parsed first). Let us know how it comes out... > > -- > "If my son wants to be a pimp when he grows up, that's fine > with me. I > hope he's a good one and enjoys it and doesn't get caught. > I'll support > him in this. But if he wants to be a network administrator, > he's out of > the house and not part of my family." Steve Wozniak, http://www.woz.org
