JoJava
08-15-2001, 07:04 AM
I am new to procmail. I have looked at the sites. I understand how to setup procmail for a single user. I want to set it up for the whole server to prevent viruses and spam. I understand I have to setup a procmail.rc in the /etc/. Here comes the question:
# Set to yes when debugging
VERBOSE=no
RBOSE=on # "on" for more log info than you can stand
SHELL=/bin/sh # be smart - use only sh here!
SENDMAIL=/usr/lib/sendmail
INCLUDERC="$HOME/.acks/.incrc" # set yours as needed. Mine sets
# $DATE=yymmdd as clarified below
LOGFILE=$HOME/.plogs/$DATE # logs > 7 days to get purged by cron!
MAILDIR=$HOME/Mail # set active maildrop directory
ORGMAIL=/var/spool/mail/user # fall-through maildrop
PATH=$HOME/bin:/usr/local/bin:/usr/bin:/bin
Where it says 'user' is where I put a user name. What do I put there in my case of wanting to procmail the whole server? Thanks for any help.
# Set to yes when debugging
VERBOSE=no
RBOSE=on # "on" for more log info than you can stand
SHELL=/bin/sh # be smart - use only sh here!
SENDMAIL=/usr/lib/sendmail
INCLUDERC="$HOME/.acks/.incrc" # set yours as needed. Mine sets
# $DATE=yymmdd as clarified below
LOGFILE=$HOME/.plogs/$DATE # logs > 7 days to get purged by cron!
MAILDIR=$HOME/Mail # set active maildrop directory
ORGMAIL=/var/spool/mail/user # fall-through maildrop
PATH=$HOME/bin:/usr/local/bin:/usr/bin:/bin
Where it says 'user' is where I put a user name. What do I put there in my case of wanting to procmail the whole server? Thanks for any help.