On 2003-09-27, Michael Mansour wrote:
> Hi,
> 
> I'm using sendmail on RH8. What I'd like to do is
> modify the standard delivery of mail from:
> 
> /var/spool/mail/$USERNAME
> 
> to the
> 
> /home/mail
> 
> 
> directory. I want to do this as it will help in quota
> setup.
> 
> I've thought of the easiest approach by just moving
> /var/spool/mail to /home/mail and creating a softlink
> from /var/spool to /home/mail but I'd rather do this
> via the sendmail program. Looking at the sendmail FAQ
> it said it uses procmail to do the delivery. Looking
> at the procmail FAQ's things start to get hard to
> understand. Trying to join any of the procmail mailing
> lists fail.
> 
This is how the top of my /home/.procmailrc looks like (for filtering my
mail to /home/mail):

# Please check if all the paths in PATH are reachable, remove the ones
# that
# are not.
#
PATH=$HOME/bin:/usr/bin:/usr/ucb:/bin:/usr/local/bin:.
#MAILDIR=$DEFAULT       # If I want to use /var/spool/mail
MAILDIR=$HOME/mail      # You'd better make sure it exists
DEFAULT=$MAILDIR/mbox
LOGFILE=$HOME/.procmail.log
#VERBOSE=yes
VERBOSE=no
LOCKFILE=$HOME/.lockmail

HTH.
Cheers,
Helgi Örn

-- 
What is the difference between a Turing machine and the modern
computer?  It's the same as that between Hillary's ascent of Everest
and the establishment of a Hilton on its peak.


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to