Le mar mars � 11:39:08 Steve <[EMAIL PROTECTED]> a �crit notamment:
> Nick Rout wrote:
>
>>What you are doing wrong is that you are not reading the procmail
>>documentation :)
>>
>>To deliver to a maildir you need to add a / at the end of the directory
>>name like:
>>
>>:0:
>>* ^Subject:.*aardvark
>>Aardvark/
>>
>>
>>Otherwise it does the standard deliver to mbox.
>>
>>
> In one!
> Thanks (everyone) -- I wonder why this gem is so well hidden in most
> docs? Hmmm.
>From man procmailrc (one of the most delightful man pages):
Anything else will be taken as a mailbox name (either a filename or a
directory, absolute or relative to the current directory (see
MAILDIR)). If it is a (possibly yet nonexistent) filename, the
mail will be appended to it.
If it is a directory, the mail will be delivered to a newly
created, guaran- teed to be unique file named $MSGPREFIX* in the
specified directory. If the mailbox name ends in "/.", then this
directory is presumed to be an MH folder; i.e., procmail will use
the next number it finds available. If the mailbox name ends in
"/", then this directory is presumed to be a maildir folder; i.e.,
procmail will deliver the message to a file in a subdirectory named
"tmp" and rename it to be inside a subdirectory named "new".
"hidden" might be an exaggeration :-)
cheers,
--
Jean Magnan de Bornier | Cours Victor Hugo
e-mots: jean at bornier.net | 13980 Alleins France
T 08 70 39 34 03 | P 06 09 17 35 87
--
[email protected] mailing list