procmail
[Top] [All Lists]

create nested maildirs as needed before creating a lock file?

2010-12-15 12:37:43
-----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:)(_dot_)*linux-kernel(_at_)vger\(_dot_)kernel\(_dot_)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-----
____________________________________________________________
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