"=?ISO-8859-1?Q?Gjermund S=8F8rseth?=" <gjermund(_at_)nextel(_dot_)no> writes:
> Why don't you just compile the correct mailbox path into procmail? Put
>
> #define MAILSPOOLHOME "/.mail/"
>
> at the top of src/authenticate.c to have procmail deliver to $HOME/.mail/
> (i.e., $HOME/.mail as a maildir folder) by default. It'll even create
> it as a directory for you then.
Hmm... I've discovered a bug I think. I define MAILSPOOLHOME like
you suggest. Then I add a test user to the password file:
gtest:x:110:110:Test:/tmp/gtest:/bin/sh
And create his home directory /tmp/gtest. Then I run procmail from the
command line to simulate a maildir message delivery:
# procmail -f foo -d gtest
Now a directory called "/tmp/gtes" is created! The last character seems
to be stripped away. A system call trace looks like this:
stat("/tmp/gtes", 0xEFFFFB08) Err#2 ENOENT <-- LOOK HERE!!
Confirmed. This will be fixed in version 3.14.1 when it comes out some
time soon, probably this week. I can send you the patch if you want to
do this now.
Philip Guenther