procmail
[Top] [All Lists]

Re: INCLUDERC problems

2004-09-10 09:48:53
Kenneth Andresen wrote:


This is how I have done it:


INCLUDERC= ./procmailfilters/nkvir-20040909

whereas the file is in
-rw-r--r--    1 root     root  /etc/procmailfilters/nkvir-20040909

The exact error message:

procmail: Couldn't read "./procmailfilters/nkvir-20040909"

What can be wrong?

That procmail's cwd at the time isn't /etc?

Procmail's default cwd is $HOME unless you use the -m option or the first rcfile specified on the command line begins "./", in which cases it's dot. Change your INCLUDERC assignment to an absolute path:

 INCLUDERC= /etc/procmailfilters/nkvir-20040909

____________________________________________________________
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>