Hi guys: I was asked to provide a few more details on my configuration, so here it is:
I was using the default local.cf file with the latest release version of SpamAssassin (2.60). It's called from postfix (2.0.16) on Solaris 2.6 and is used in conjunction with Anomy, which I just realized is actually what's doing the HTML/IMG parsing, so don't worry about that. I tried adding this to the local.cf file to turn off the bayes database, but why would there be a problem with lock file conflicts? I'm using the spamd version of spamassasin. /var/spool/filter is a temporary area used by the filters to work on incoming mail. It is also defined as a tmpfs file system under Solaris (RAM-Disk) for faster transactions. This is in my postfix master.cf file: filter unix - n n - - pipe flags=Rq user=filter argv=/usr/local/anomy/filter.sh -f ${sender} -- ${recipient} And this is filter.sh #!/bin/sh # # spamc.sh # # Simple filter to plug SpamAssassin only # into the Postfix MTA, using the spamc / spamd # daemon version of SpamAssassin. # # (Should result in higher performance on busy servers) # # NOTE: spamd must be running before using this script! # # For use with: # Postfix 20010228 or later # SpamAssassin 2.42 or later # # Note: Modify the file locations to match your particular # server # File locations: # (CHANGE AS REQUIRED TO MATCH YOUR SERVER) SENDMAIL="/usr/lib/sendmail -i" ANOMY=/usr/local/anomy ANOMY_CONF=/usr/local/anomy/anomy.conf ANOMY_LOG=/dev/null SPAMC=/usr/local/bin/spamc export ANOMY # Exit codes from <sysexits.h> EX_TEMPFAIL=75 EX_UNAVAILABLE=69 cat | $SPAMC -f -u filter 2>/dev/null \ | $ANOMY/bin/sanitizer.pl $ANOMY_CONF 2>>$ANOMY_LOG \ | $SENDMAIL "$@" || \ { echo Message content rejected; exit $EX_UNAVAILABLE; } exit 0 My local.cf file # This is the right place to customize your installation of SpamAssassin. # See 'perldoc Mail::SpamAssassin::Conf' for details of what can be # tweaked. # ######################################################################## ### # #rewrite_subject 0 #report_safe 1 required_hits 7.0 skip_rbl_checks 1 use_bayes 0 Thanks! Eric -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric McDonald Sent: Tuesday, September 23, 2003 11:20 AM To: [EMAIL PROTECTED] Subject: [SAtalk] A problem and a general question for SpamAssassin Hi There: I'm having a problem with spamd creating lockfiles in the home directory of my filtering agent. I get these errors after starting spamd: Cannot open bayes databases /var/spool/filter/.spamassassin/bayes_* R/W: lock failed: File exists Cannot open bayes databases /var/spool/filter/.spamassassin/bayes_* R/W: lock failed: File exists Cannot open bayes databases /var/spool/filter/.spamassassin/bayes_* R/W: lock failed: File exists Cannot open bayes databases /var/spool/filter/.spamassassin/bayes_* R/W: lock failed: File exists Cannot open bayes databases /var/spool/filter/.spamassassin/bayes_* R/W: lock failed: File exists Cannot open bayes databases /var/spool/filter/.spamassassin/bayes_* R/W: lock failed: File exists Also, is there a way for spamd to parse an HTML document for bad things but not muck with HREF and IMG tags? Thanks, Eric McDonald Systems Admin, RAIN Network ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk