procmail
[Top] [All Lists]

MAILSPOOLDIR: (was) mail to homeuser

1998-10-01 23:18:58
On Wed, 30 Sep 1998, Philip Guenther wrote:

Don't bother trying to do this from the procmailrc, as procmail does
some checking before then on the mailspool using the compiled in
location.  You should make sure you have the source for procmail
3.11pre7, then you'll need to change src/authenticate.c to tell procmail
to store the mail in the home directory.  You'll need to decide what
file in the home directory it should be stored in.  Let's say you choose
the file named ".mailspool".  You would then find the line in
src/authenticate.c that reads: 

/*#define MAILSPOOLHOME "/.mail"                      /* watch the leading / 
*/

A change it to instead say:

#define MAILSPOOLHOME "/.mailspool"                 /* watch the leading / */

The recompile and reinstall.

what about MAILSPOOLDIR "/var/spool/mail/" ? what does it do? do we need
to change it also?

---
u s l s N E T   university of st. la salle, bacolod city, philippines
. . . . . . .   PGP key at ftp://ftp.usls.edu/pub/pgpkeys/francis.pgp
francis vidal   tel. nos. (6334).435.2324 / 433.3526

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