create nested maildirs as needed before creating a lock file?

Harald Dunkel <[email protected]>
Newsgroups gmane.mail.procmail
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi folks,

Is there some magic to tell procmail to create nested maildirs as
necessary _before_ it tries to set a lock?

I found a lot of messages like this in the procmail log:

procmail: Locking "harri/mailing lists/vger.kernel.org/a/b/c/linux-kernel/.lock"
procmail: Error while writing to "harri/mailing lists/vger.kernel.org/a/b/c/linux-kernel/__rB+_tPCNB.sylvester.afaics."


The procmailrc entry was:

:0:
* ^(From|Cc:|To:).*linux-kernel@vger\.kernel\.org
$LOGNAME/mailing\ lists/vger.kernel.org/a/b/c/linux-kernel/


The "a/b/c/linux-kernel" subdirectory tree did not exist in
this test case. It would be very nice if procmail could create
the missing nested directories automagically.


Any helpful comment would be highly appreciated.


Regards

Harri
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk0JA9gACgkQUTlbRTxpHjdUogCfRJGKhD0YPJsXOJiTRiXQuNwp
AHAAn3eS6OXVz316juuUtG9ZQCVSXTsE
=PBfc
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.