procmail
[Top] [All Lists]

forcing Maildir

2001-09-26 08:23:43

What are the proper defines to be put in src/authenticate.c
for MAILSPOOL* to create Maildir format mailboxes in the user's
home directory?  There seem to have been a number of questions
in the archive about this same issue but no definitive answer.

How about an example?:

        A /usr/home partition with all user's home directories

        Using Maildir format storage with the primary inbox
        being the maildir format directory named ".maildir"
        in the user's home directory
        (e.g. /usr/home/brenda/.maildir)


Now what should we change in src/authenticate.c:

#ifndef MAILSPOOLDIR
#define MAILSPOOLDIR    "/usr/home/"         /* watch the trailing / */
#endif
#ifndef MAILSPOOLSUFFIX
#define MAILSPOOLSUFFIX "/"           /* suffix to force maildir or MH style
*/
#endif
#ifndef MAILSPOOLHASH
#define MAILSPOOLHASH   0      /* 2 would deliver to /var/spool/mail/b/a/bar
*/
#endif
#define MAILSPOOLHOME "/.maildir"                      /* watch the leading
/ */
                                                  /* delivers to $HOME/.mail
*/



Vance Shipley
Motivity Telecom Inc.
+1 519 579 5816

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>