--- Dave Sill <[EMAIL PROTECTED]> wrote:
> Joe Janitor <[EMAIL PROTECTED]> wrote:
> 
> >I made some modifications to the homedir files:
> >
> >$HOME/.qmail now has
> >| preline /usr/bin/procmail -m
> /home/joe/.procmailrc
> >
> >(the -m file was previously mis-named)
> >
> >and $HOME/.procmailrc has 
> >PATH=/bin:/usr/bin:/usr/bin:$PATH
> >ORGMAIL=$HOME/Mailbox
> >MAILDIR=$HOME/mail
> >DEFAULT=$HOME/Mailbox   #completely optional
> >LOGFILE=$MAILDIR/procmail.log
> >
> >Does this mean I have to have these two files in 
> >every home directory!?
> 
> No. First, procmail doesn't need the -m flag. See
> the procmail section
> in LWQ:
> 
>   http://www.lifewithqmail.org/lwq.html#procmail
> 
> Also, if you want delivery via procmail to be the
> default, specify
> that on the qmail-start command line, or in the
> control/defaultdelivery file if you installed using
> LWQ.

I think I was already doing this, my
/etc/rc.d/init.d/qmail script called qmail-start
'|preline procmail' splogger qmail &

> Finally, you can specify a systemwide default
> procmailrc in
> /etc/procmailrc.

I read about that, but since that file didn't already
exist on my system, I wondered if it would be looked
for at all (if I created it). I never got around to
testing it.
 
> >And does it also mean that any
> >user can screw his mail up by accidentally deleting
> >these files? I have to say, though this works, I'm
> not
> >particularly comfortable with it...
> 
> You can't really save your users from themselves...

But you can make it harder for them to auto-hank...

In any case, I've since downloaded the procmail
source, edited src/authenticate.c to include
#define MAILSPOOLHOME "/Mailbox" 
and recompiled.

Now it works great without any $HOME/.qmail or
$HOME/.procmailrc or /etc/procmailrc

Thanks for writing.

Joe


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

Reply via email to