Re: create nested maildirs as needed before creating a lock file?
Michelle Konzack <[email protected]>
| Newsgroups | gmane.mail.procmail |
|---|---|
| Organization | Tamay Dogan Network |
| Message-ID | <20101220190244.GD4196@michelle1> |
Hello Harald Dunkel,
Am 2010-12-20 18:55:08, hacktest Du folgendes herunter:
> I didn't know that lockfiles are obsolete for Maildirs.
> But AFAIK their are not forbidden, either. Creating the
> Maildirs early would improve stability.
"improve stability"? What do you mean?
> Nested subdirectories (e.g. vger.kernel.org/a/b/c/linux-kernel
> as in the example) are not created at all. I would guess this
> could be easy to extend?
This works only, if you virtualizer yourenvironment.
Speak: You setup fiter rules and instead og using
:0
* 1st rule
* 2nd rule
path/to/folder/
you can do:
:0
* 1st rule
* 2nd rule
{ DESTINATION="path/to/folder1/" }
:0E
* 3st rule
* 4nd rule
{ DESTINATION="path/to/folder2/" }
:0
* ? test -n "${DESTINATION}"
{
DUMMY_EXEC=`mkdir -p ${BASEDIR}${DESTINATION} ; chown ${USER}: ${BASEDIR}${DESTINATION}`
:0
${BASEDIR}${DESTINATION}
}
Do not forget the "E" at the beginning of the Rules
> Many thanx to all for your helpful comments.
> Harri
Thanks, Greetings and nice Day/Evening
Michelle Konzack
--
##################### Debian GNU/Linux Consultant ######################
Development of Intranet and Embedded Systems with Debian GNU/Linux
itsystems@tdnet France EURL itsystems@tdnet UG (limited liability)
Owner Michelle Konzack Owner Michelle Konzack
Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France 77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix
<http://www.itsystems.tamay-dogan.net/> <http://www.flexray4linux.org/>
<http://www.debian.tamay-dogan.net/> <http://www.can4linux.org/>
Jabber [email protected]
ICQ #328449886
Linux-User #280138 with the Linux Counter, http://counter.li.org/