Koozali.org: home of the SME Server

spamassassin problems...

jaydye

spamassassin problems...
« on: February 17, 2004, 10:09:42 AM »
Hi,

I'm having a spamassassin issue with SME6.0 and the spamassassin contrib on this site.

Some spam is marked with a single rating;
[SPAM 13.51] > Turn $250 into $500+/day - Starting Today < vcvdaapdofy

..and others are marked with a double rating;
[SPAM 13.40] [SPAM 29.60] beef up the size of your johns0n!

Mails with the single spam rating do not get moved to the junkmail folder. The double rated do.

How can I fix it so all spam is moved to the junkmail folder ?

Below is my user .procmailrc

Also; is there a way to bounce the mail and mark it as an unknown user ?

TIA
Jay


#------------------------------------------------------------
# DO NOT MODIFY THIS FILE! It is updated automatically by the
# SME Server software. Instead, modify the source template in
# an /etc/e-smith/templates-custom directory. For more
# information, see http://www.e-smith.org/custom/
#
# copyright (C) 1999-2003 Mitel Networks Corporation
#------------------------------------------------------------

# ---------------------------------------
# Default Shell, Program & file locations
# ---------------------------------------
SHELL=/bin/bash
DEFAULT=$HOME/Maildir/
FORMAIL=/usr/bin/formail
MAILDIR=$HOME/Maildir/
PMDIR=$HOME
SENDMAIL=/usr/sbin/sendmail

# ------------
# some logging
# ------------
VERBOSE=no
LOGFILE=$HOME/procmail.log

# -------------------------------
# SpamAssassin Router
# -------------------------------
:0fw
| /usr/bin/spamc


# -------------------------------------------------------------------------
# Mails with a score of 15 or higher are almost certainly spam (with 0.05%
# false positives according to rules/STATISTICS.txt). Let's put them in a
# different mbox or simply delete them. (This one is optional.)
# --------------------------------------------------------------------------
:0
* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
\dev\null

# -------------------------------------------------------------------------
# All mail tagged as spam (eg. with a score higher than the set threshold)
# is moved to spam@ mailbox
# -------------------------------------------------------------------------
#:0
#* ^X-Spam-Status: Yes
#! spam@domain.com


# -------------------------------------------------------------------------
# All mail tagged as spam (eg. with a score higher than the set threshold)
# is moved to the junkmail folder
# -------------------------------------------------------------------------
:0
* ^X-Spam-Status: Yes
$MAILDIR/junkmail/



# -------------------------------
# Spamassassin sort to junkmail
# -------------------------------
:0
* ^X-Spam-Status: Yes
$MAILDIR/junkmail/




# --------------------------
# all else goes to the inbox
# --------------------------
:0
$DEFAULT

ergozd

spamassassin problems...
« Reply #1 on: February 17, 2004, 11:08:00 AM »
I think you have modify

Maildir/junkmail/ directory

to
Maildir/;junkmail/

jaydye

spamassassin problems...
« Reply #2 on: February 17, 2004, 04:42:34 PM »
top marks! that _seems_ to have resolved the junkmail problem.

Many thanks
Jay

ergozd

spamassassin problems...
« Reply #3 on: February 17, 2004, 07:48:16 PM »
Nice to hear that helped.