procmail
[Top] [All Lists]

Re: Procmail and default mailbox??

2000-09-25 01:43:52
Subba Rao <subb3(_at_)attglobal(_dot_)net> writes:
I have upgraded procmail to 3.15 and when I type "procmail -v" I get the
following output.

Your system mailbox:    /var/spool/mail/subb3

In my $HOME/.procmailrc, I do have the following entries,

PATH=$HOME/bin:/usr/bin:/usr/ucb:/bin:/usr/local/bin:.
MAILDIR=$HOME/Maildir 
DEFAULT=$MAILDIR
LOGFILE=procmail.log
LOCKFILE=$HOME/.lockmail

During procmail compilation, I did not see any option that would allow me to
set my system mailbox to $HOME/Maildir. Can this be done?

Well, there's this comment in the config.h file that reads:


/* This usually allowed you to define SYSTEM_MBOX.  This has changed.
   If you want mail delivery to custom mail-spool-files, edit the
   src/authenticate.c file and change the content of:  auth_mailboxname()
   (either directly, or through changing the definitions in the same file
   of MAILSPOOLDIR, MAILSPOOLSUFFIX, MAILSPOOLHASH or MAILSPOOLHOME) */

but it's below the "stop here unless you've done this before" line.
Hmm, I should change that.

Anyway, if you uncomment the MAILSPOOLHOME #define at the top of the
src/authenticate.c file at set its value to "/Maildir", then procmail
will deliver to it as a file or a inode-numbered directory.  If it's
supposed to be in maildir format (ala qmail), then set MAILSPOOLHOME to
"/Maildir/".

#define MAILSPOOLHOME "/Maildir/"


Philip Guenther



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