This discussion is locked
Simon Morley

Q: Amavis Not Marking Mail as Spam

Hi,

I've been going round and round with this for weeks now and despite following everyone's advice, I cannot get the mail server to mark spam, as spam.

We've setup two local users, junk and not junk and have fed thousands of messages into the junk folder. We've then manually ran the learn junkmail script and it seems to finish ok.

Amavis.conf is set with the following:

$satag_leveldeflt = -999; # add spam info headers if at, or above that level
$satag2_leveldeflt = 1.0; # add 'spam detected' headers at that level

Junk messages come in with the following headers:

Return-Path: <Elfinn-3537347@LMXMEDIA.COM>
Received: from murder ([unix socket])
by goliath.xxxxxxx.net (Cyrus v2.2.12-OS X 10.4.8) with LMTPA;
Wed, 25 Jun 2008 12:00:13 +0100
X-Sieve: CMU Sieve 2.2
Received: from localhost (localhost.localdomain [127.0.0.1])
by goliath. xxxxxxx.net (Postfix) with ESMTP id C8CFD404F55
for <simon@xxxxxxx.com>; Wed, 25 Jun 2008 12:00:11 +0100 (BST)
Received: from goliath. xxxxxxx.net ([127.0.0.1])
by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with ESMTP
id 08193-03 for <simon@ xxxxxxx.com>; Wed, 25 Jun 2008 11:59:51 +0100 (BST)
Received: from 76-14-167-131.wsac.wavecable.com (76-14-167-131.wsac.wavecable.com [76.14.167.131])
by goliath. xxxxxxx.net (Postfix) with ESMTP id ECC9C404F45
for <simon@ xxxxxxx.com>; Wed, 25 Jun 2008 11:59:50 +0100 (BST)
To: simon@ xxxxxxx.com
Subject: Make money this way
From: Elfinn <Elfinn-3537347@LMXMEDIA.COM>
Content-Type: text/plain; format=flowed; delsp=yes; charset=koi8-r
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Date: Fri, 25 Jul 2008 04:00:16 -0700
Message-ID: <kr.jjtzkwdhscqbag@suicide-1dceb94>
User-Agent: Opera Mail/9.50 (Win32)
X-Virus-Scanned: by amavisd-new at xxxxxxx.net

There doesn't seem to be a log file for amavis although there is a folder filled with stuff at /var/amavis

It's infurating not being able to get this to work! Would anyone be able to help please?

Thanks in advance,

Simon

G5, Mac OS X (10.4.11)

Posted on Jun 26, 2008 2:52 AM

Close

Q: Amavis Not Marking Mail as Spam

  • All replies
  • Helpful answers

Previous Page 2
  • by Simon Morley,

    Simon Morley Simon Morley Jul 2, 2008 7:23 AM in response to pterobyte
    Level 1 (110 points)
    Jul 2, 2008 7:23 AM in response to pterobyte
    Thanks,

    Just rebooted the server and now it's marking as spam correctly, with the scores etc.

    Not actually sure what changed...

    If we have our junkmail and notjunkmail boxes, should we be using the learn junk mail apple script and shouldn't this be done automatically? Do I need to set a cron to do so?

    Thanks,

    Simon
Previous Page 2