I am still a bit confuse, so I have to create "touch" the user mailbox
before hand? This seem odd. CUrrently, we are using procmail v3.1.3.
When we first create a new user, (assuming his mail is going to
/var/spool/mail/), there wouldn't be not mailbox there until the user
received his/her first mail! So what you are saying is that in order for
procmail to store or deliver the mail for the user in the maildir format,
I have to created an empty user mailbox before hand? (ie
/var/spool/mail/dwchan/)???
dwc
On Mon, 10 Jul 2000 guenther+procmail(_at_)gac(_dot_)edu wrote:
"Dominic W. Chan" <dwchan(_at_)webtechmedia(_dot_)com> writes:
I understand that the latest version of procmail support maildir (v3.1.4)
I any case I have couple of quick question
1. is this meet procmail support maildir format on both user inbox and
folder or just folder?
Version 3.14 does not (correctly) support mailspools in maildir format.
This has been fixed in 3.15pre, the current beta.
2. what is the switch or syntac to tell procmail delivery my mail in my
mailbox as maildir format (versus the traditional mbox format) in my
procmailrc?
To quote the procmailrc(5) manpage:
If it is a directory, the mail will be delivered to a newly
created, guaranteed 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". If the
mailbox is specified to be an MH folder or maildir folder,
procmail will create the necessary directories if they don't
exist, rather than treat the mailbox as a non-existent
filename. When procmail is delivering to directories, you
can specify multiple directories to deliver to (procmail
will do so utilising hardlinks).
So, put a trailing slash on the mailbox name and do not include the
trailing /tmp, /new, or /cur.
Philip Guenther
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail