Hello Folks,

I am using Spamassassin 3.2.5 with Sendmail 8.14.1 in an installation for office and offsite users. The initial setup was to have Spamassassin to rewrite the subject so that the users could setup a filter in Outlook. Problem is that some users are setup to have their email forwarded to their cellphone/blackberry and the spam is in that inbox. So I found some articles and decided to have the spam go to a file. The following is the new version of the /etc/procmailrc:

DROPPRIVS=yes


LOGFILE=/var/log/procmail.log
VERBOSE=yes
LOGABSTRACT=all

:0fw
| /usr/bin/spamc


# Mail that is very likely spam (>15) can be dropped on the floor.
# Move the # down one line to drop it.
# Note that dropping mail on the floor is a *bad*
# idea unless you really, really believe no false positives will
# have a score greater than 15.
SPAMFOLDER=spam
:0:
* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
#/dev/null
almost-certainly-spam

:0 w :$SPAMFOLDER/.lock
* ^X-Spam-Status: Yes
$SPAMFOLDER/.




No spam is going to the spam file in /var/spool/mail although the main offsite user did have a .lock . I even dropped the level from 8 to 5 . The main offsite user is being flooded and sees all the spam on his phone. I even rebooted the server (Fedora Linux Core 6) last night. Also, what ownership should the logfile(procmail.log) have? I did 660 and tried mail.mail and it still complains in the maillog that it cannot write to the logfile.

Ideas would be most welcome.

Thanks,
Robert A. Ober


Reply via email to