Re: create nested maildirs as needed before creating a lock file?

Patrick Shanahan <[email protected]>
Newsgroups gmane.mail.procmail
Organization Ptilopteri in Pandemonium
Message-ID <[email protected]>
* Richard Ball <[email protected]> [12-26-10 12:06]:
> On 26-12-2010 3:14, Harald Dunkel wrote:
> >and a/b/c doesn't exist, then an incoming EMail matching this
> >rule becomes inaccessible. It is not lost, but it is stored
> >somewhere in mbox format. This is surely not correct.
> >
> The "somewhere" was answered.
> 
> What happens to the mail if the trailing : on the :0: construct is removed?

read the manpages for procmail/procmailrc about locks

removing the trailing ":" will have no effect for maildir as locks are
not needed/used(?), but necessary for mdir to keep two processes from
writing the same file at the same time (which equals corrumption).

-- 
Patrick Shanahan         Plainfield, Indiana, USA        HOG # US1244711
http://wahoo.no-ip.org     Photo Album:  http://wahoo.no-ip.org/gallery2
Registered Linux User #207535                    @ http://counter.li.org
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.