* On Wed, Oct 25, 2006 at 01:21:37PM +1000, Sonia Hamilton wrote:
> * On Wed, Oct 25, 2006 at 10:23:39AM +1000, Penedo wrote:
> > On 24/10/06, Dave Kempe <[EMAIL PROTECTED]> wrote:
> > >
> > >easier. A decent setup with postfix/amavis/postgrey gets most people
> > >most of the way with filtering. Maia is strictly for the hardcore :)
> > 
> > 
> > (I'm asking because I see this subject raised on a parallel Linux mailing
> > list, I'm getting the feeling that the entire net is now trying to tackle
> > this problem right now).
> 
> Penedo, see FuzzyOcrPlugin for spamassassin
> http://wiki.apache.org/spamassassin/FuzzyOcrPlugin. I've written up a
> quick install at http://www.snowfrog.net/?q=node/417

PS as a quick fix in procmail - rate images higher:

# test if body contains gif, html, etc, and get procmail score
:0 Bc
* 2.5^0 Content-Type: image/gif
* 1^0 Content-Type: text/html
/dev/null
SCORE_PM=$=

# pull out SA score and required; if 2 scores > SA req'd, ISGT = 1 (true)
SCORE_SA=`formail -c -xX-Spam-Status: | awk '{print $2}' | awk -F= '{print $2}'`
REQD_SA=`formail -c -xX-Spam-Status: | awk '{print $3}' | awk -F= '{print $2}'`
ISGT=`echo "${SCORE_SA} + ${SCORE_PM} > ${REQD_SA}" | bc -l`

# test if ISGT = 1, if so, spam prob
:0 :
* ISGT ?? ^^1^^
.y_spam_probable/

--
Sonia Hamilton. GPG key A8B77238.
.
One OS to rule them all, One OS to find them.
One OS to call them all, And in salvation bind them.
In the bright land of Linux, Where the hackers play. 
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to