procmail
[Top] [All Lists]

Re: procmail/linux problems

1996-06-19 15:55:06
Michael Ghens <mghens(_at_)picard(_dot_)sbcc(_dot_)cc(_dot_)ca(_dot_)us> writes:
I am setting up a Redhat Linux (kernel 2.0) box. Procmail 3.10 (I cannot
get smartlist 3.11pre4 to work, so I am keeping the 3.10) is set up as the
local mailer. 

MAILDIR does not work. I keep on getting cannot change directories error.


Also the INCLUDERC command does not work. 

It may be that procmail is being started in some directory other than
your home directory.  Try putting

        MAILDIR = $HOME

At the top of your .procmailrc, or at the top of whatever procmailrc is
given on the command line.


BTW: in sendmailV8 this is controlled by the 'D=' directive on the prog
mailer.  If it were to say:

Mprog,          P=/bin/sh, F=lsDFMPeu, S=10, R=20/40, D=/,
                A=sh -c $u

then programs would always be run from the root directory.  The normal
setting looks like:

Mprog,          P=/bin/sh, F=lsDFMPeu, S=10, R=20/40, D=$z:/,
                A=sh -c $u

In which case it would first try cd'ing in to $z (the controlling
user's home directory) before falling back on the root directory.  If
this is the setup for your sendmail then you should look for reasons
for that first cd to fail.


Philip Guenther

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