Re: create nested maildirs as needed before creating a lock file?
LuKreme <[email protected]>
| Newsgroups | gmane.mail.procmail |
|---|---|
| Message-ID | <[email protected]> |
On 16-Dec-2010, at 14:25, Harald Dunkel wrote: > On 12/15/10 19:55, R.G. Ball wrote: >> If you know the possible directory trees beforehand then just create them. > > Actually a user is not allowed to login on the imap server to > create folders. It is already pretty painful to mount all the > users' home directories just to give procmail acess to the > .procmailrc files. If you are using IMAP, you should be using Maildir folders. These do not require lock files and the folders are created properly by the IMAP server when you write to a .folder/ > All I am asking for is some code in procmail to create > missing nested maildirs before the lockfile is created. If you MEAN maildirs, then this happens automatically. If you mean folders for mail that contain mbox files, then you have to jump through hoops to create sub-folders. > AFAICS the current procmail can create flat maildirs, but > this seems to be broken for using lockfiles. Maildirs do not need lockfiles. -- 'Why don't I feel angry?' GLANDS, said Death shortly. ADRENALIN AND SO FORTH. AND EMOTIONS. YOU DON'T HAVE THEM. ALL YOU HAVE NOW IS THOUGHT.