procmail
[Top] [All Lists]

Re: procmail can't read filter files

2008-02-29 00:32:23
At 22:38 2008-02-28 -0700, Robert Holtzman wrote:
these are recipe files

-rw-r--r-- 1    500    500  1333 2007-09-29 11:32 basics.rc
-rw-r--r-- 1    500    500   224 2007-09-29 11:32 backup.rc

Numeric-only owner and group?  I trust this is at least the user which 
procmail is running for?

from my .procmailrc:

INCLUDERC=basics.rc
INCLUDERC=backup.rc

The questions, of course, are why? and how do I make procmail read them?

What directory are they in, realative to the .procmailrc?  Are the two 
INLCLUDERC's the sum total of the .procmailrc (can't be - you have a 
logfile).  Have you set MAILDIR, and is it SOMEWHERE OTHER THAN WHERE THE 
RC FILES ARE?  MAILDIR is for all intents and purposes, a 'cd', and affects 
the relative location of all files.

I myself set the base path for the user near the top of the procmailrc, and 
set a PMDIR variable (NOT a procmail-defined variable), to point to my 
procmail files, and all INCLUDERC's use that as a prefix, so that it 
doesn't matter what MAILDIR is set to:

INCLUDERC=$PMDIR/basics.rc
INCLUDERC=$PMDIR/backup.rc

---
  Sean B. Straw / Professional Software Engineering

  Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
  Please DO NOT carbon me on list replies.  I'll get my copy from the list.

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>