Hi Helgi, --- Helgi Örn Helgason <[EMAIL PROTECTED]> wrote: > 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
I've tried putting this into /etc/procmailrc and also /home/$username/.procmailrc all to no available, mail still gets delivered to /var/spool/mail. In checking my sendmail setup, I have the "local_procmail" feature enabled in sendmail.mc and it shows up correctly in sendmail.cf, but still when I send mail it gets delivered to /var/spool/mail. I have no idea why. Michael. http://search.yahoo.com.au - Yahoo! Search - Looking for more? Try the new Yahoo! Search -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list