spam will be deleted if it has score > 12 (specified on /var/qmail/control/simcontrol) if you install qmailadmin with option --define 'spambox 1' qmt will put spam message in SPAM folder
if you also wanto to delete them, you can also use script at
http://wiki.qmailtoaster.com/index.php/Maintain_Trash_and_Spam_folder
--or--
if your already install qtp-plus, you can run
# qtp-clean-spam

you have the same behaviour as as I did. At first I was worried since spam still getting in then I was too low specifying require_score and spam_hits which also make valid email didn't pass/deleted

after first install, spamassasin need 200 token of spam and non-spam for it's bayes databases. after that your spam score will be increasing.
to check your spam bayes db run this
# sudo -u vpopmail -H sa-learn --dump magic

from what I see in your messages below
you have specified require_score 2 in your /etc/mail/spamassassin/local.cf
that's too low. 5 is the average required_score

Cinghiuz wrote:
Hi there!

I'm running a qmailtoaster server and i'm really satisfied about it and i
would like to delete spam or stop spam at smtp level.

I installed all updates and also qmail-toaster-plus package, so my
configuration is with Qmail+Spamassassin+Clamav+Simscan+Qmail-dk, my
tcp.smtp files is configured like this:

:allow,BADMIMETYPE="",BADLOADERTYPE="M",CHKUSER_RCPTLIMIT="50",CHKUSER_WRONG
RCPTLIMIT="10",DKVERIFY="DEGIJKfh",QMAILQUEUE="/var/qmail/bin/simscan",DKQUE
UE="/var/qmail/bin/qmail-queue.orig",DKSIGN="/var/qmail/control/domainkeys/%
/private"

My /var/qmail/control/simcontrol files was:
:clam=yes,spam=yes,spam_hits=12,attach=.mp3:.src:.bat:.pif

I also added spam_passthru=no

But i continue to receive spam and i want to delete it, not to place in a
separate folder.

Can someone help me?

Thank you very much in advance!!

Cinghiuz

Here is a sample of the header of a spam message:

Return-Path: <xxx>
Delivered-To: yyy
Received: (qmail 24117 invoked by uid 89); 5 Mar 2008 10:19:45 -0000
Delivered-To: yyy
Received: (qmail 24111 invoked by uid 89); 5 Mar 2008 10:19:45 -0000
Delivered-To: yyy
Received: (qmail 24102 invoked by uid 89); 5 Mar 2008 10:19:45 -0000
DomainKey-Status: no signature
Received: by simscan 1.3.1 ppid: 24094, pid: 24097, t: 1.8439s
         scanners: attach: 1.3.1 clamav: 0.92/m:45/d:5787 spam: 3.2.4
X-Spam-Flag: YES
X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on
        mail.mydomain.mytopleveldomain
X-Spam-Level: **
X-Spam-Status: Yes, score=2.7 required=2.0
tests=BAYES_00,DATE_IN_FUTURE_12_24,
        HTML_MESSAGE,RDNS_NONE,SOGGETTO_SESSO_B autolearn=no version=3.2.4
X-Spam-Report: * 3.0 SOGGETTO_SESSO_B Subject contains sesso
        *  2.2 DATE_IN_FUTURE_12_24 Date: is 12 to 24 hours after Received:
date
        *  0.0 HTML_MESSAGE BODY: HTML included in message
        * -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1%
        *      [score: 0.0000]
        *  0.1 RDNS_NONE Delivered to trusted network by a host with no rDNS
Received: from unknown (HELO 12q6bekxds0raiv.kornet) (121.159.163.233)
  by mail.mydomain.mytopleveldomain with SMTP; 5 Mar 2008 10:19:43 -0000
Received-SPF: none (mail.mydomain.mytopleveldomain: domain at
theeglengroup.com does not designate permitted sender hosts)
Received: from [121.159.163.233] by smtp.secureserver.net; Wed, 6 Mar 2008
19:19:42 +0900
From: "Willie Lilly" <xxx>
To: <yyy>
Subject: ***SPAM*** Avere il sesso come un campione del mondo? Date: Wed, 6 Mar 2008 19:19:42 +0900
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: multipart/alternative;
        boundary="----=_NextPart_000_0006_01C87FBF.076C5380"
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.2616
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
Importance: Normal
X-Spam-Prev-Subject: Avere il sesso come un campione del mondo?

---------------------------------------------------------------------
     QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
    QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to