procmail
[Top] [All Lists]

Re: Procmail & QPopper

2001-01-27 17:47:52

Grab the procmail source from
      ftp://ftp.procmail.org/pub/procmail/procmail.tar.gz

Then edit either the config.h or src/authenticate.c file and insert
the line

#define MAILSPOOLHASH   2

All the options for controlling the location of the mailspool are described
at the top of the src/authenticate.c file.

This is exactly what I was wondering.

Thank you VERY VERY much. 


Another interesting question, ... If you have, say 10,000 users on a
box, and each one has their own mail placed in /var/mail, won't that be
somewhat SLOW being so many names to be accessed in one directory?
isn't it better to do the above way?

Not necessarily: some UNIXes have file systems that can efficiently
support very large directories (IRIX's XFS comes to mind), in which
case the explicit hashing scheme that you describe will actually be
slower than a 'flat' directory.  There are also backwards compatibility
issues for many sites.  But yes, most 'large' sites should not store
mailboxes in a flat directory.

Do you have any idea where BSD is in this area of discussion?

Specific, FreeBSD 4.0. If it would be better to actually put everything in
ONE directory or have them sub'd?

Thanks again!

-Scott

_______________________________________________
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>