I am running procmail 3.21 and Apache on Red Hat 7.2. I have recently upgraded
my Spambouncer, and it is not functioning at all.
procmail is running, sendmail is running, and Apache is running. Just no
filtering. My file permissions are correct on the files and directories (none
of the dirs or .rc files are group writeable, and .procmailrc is rwx by user
only).
Nothing is being written to my log either.
Below is my .procmailrc file.
SHELL=/bin/sh
LINEBUF=4096
PATH=$HOME/bin:/bin:/usr/bin:/usr/local/bin
SENDMAIL=/usr/sbin/sendmail
FORMAIL=/usr/bin/formail
MAILDIR=/home/mikeg/Mail
DEFAULT=/var/spool/mail/mikeg
HOMEDIR=/home/mikeg
ADMINFOLDER=/var/spool/mail/mikeg
BULKFOLDER=/var/spool/mail/mikeg
MYEMAIL=/home/mikeg/.myemail
VERBOSE=ON
LOGABSTRACT=YES
LOGFILE=/home/mikeg/Mail/log
DEBUG= NO
ALTFROM=spam(_at_)phoenixsoftware(_dot_)com
BLOCKFOLDER=/home/mikeg/Mail/block.incoming
BLOCKREPLY=SILENT
BYPASSWD=zeugma
FREEMAIL=INTERNAL
MYEMAIL=/home/mikeg/.myemail
NOBOUNCE=/home/mikeg/.nobounce
NOLOOP=${ALTFROM}
PATTERNMATCHING=SILENT
SBDIR=/home/mikeg/Spambouncer
SPAMFOLDER=/home/mikeg/Mail/spam.incoming
SPAMREPLY=SILENT
VIRUSFOLDER=/dev/null
#################### Checking senders' against outside spam databases #########
DORKSLCHECK=no
DULCHECK=no
ORBLCHECK=no
ORBZINCHECK=no
ORBZOUTCHECK=no
ORDBCHECK=no
OSDIALCHECK=no
OSSPAMCHECK=no
###############################################################################
# BEGIN RECIPES
# Create a backup cache of 100 most recent messages in case of mistakes
:0 c
backup
:0 ic
| cd backup && rm -f dummy `ls -t msg.* | sed -e 1,100d`
# Regenerate "From" lines to make sure they are valid
:0 fhw
| formail -I "From " -a "From "
# Call the Spam Bouncer to filter remaining mail for spam.
#INCLUDERC=${SBDIR}/sb.rc
# Sort out mail that really is to you from mail Bcc'd to you, or mail
# which doesn't have any of your email addresses on the To: or Cc: line.
# For this to work properly, you must create a text file named .myemail
# in your home directory and enter all email addresses that belong to
# you in it, one per line, just as you do with your .nobounce file.
#
# This does =wonders= in keeping spam from appearing in your personal
# mail. :)
#
# Substitute your shell account email address, custom domain, and any other
email
# address you may have for the entries below.
:0:
* ? test -f ${MYEMAIL} && \
(${FORMAIL} -zxFrom: -zxReply-To: |\
fgrep -i -f ${MYEMAIL})
| ${FORMAIL} -A"X-Folder: Default" >>${DEFAULT}
# Deliver email which passed spam filtering, but which wasn't sent to
# a recognizable personal email address of yours, to your "bulk mail"
# folder, for reading on a less-urgent basis.
:0:
| ${FORMAIL} -A"X-Folder: Bulk" >>${BULKFOLDER}