Hi once more,
I wonder whether my mails are going through the scanner (simscan) below is
a copy of my mails received header: ( I have followed the instrutions of
bill -- :allow,QMAILQUEUE=/var/qmail/bin/simscan)
Return-Path: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 9833 invoked by uid 507); 21 Nov 2008 04:28:26 -
Received: from unknown (HELO mail-bw0-f33.google.com) (209.85.218.33)
by 0 with SMTP; 21 Nov 2008 04:28:26 -
Received-SPF: pass (0: SPF record at _spf.google.com designates
209.85.218.33 as permitted sender)
Received: by bwz14 with SMTP id 14so38213bwz.6
for [EMAIL PROTECTED]; Thu, 20 Nov 2008 20:30:09 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=domainkey-signature:received:received:message-id:date:from:to
:subject:mime-version:content-type;
bh=L7DYWJbRyd7WjVclPcO8fnlEVCyVP6qu+x/sw3z5c2E=;
b=QoWm5V8pWXIZ6fRYDgxWKRvScZgaqqCidk2XPT8IRfThYmcBpIY7wtMcSaI0E56Q/J
SCeBwbJ3fg1R6ff61FZVe3yUZMGDMeLpv4xDAYghZMz3pEbdTTl+DuGvhskx2OAg+pTM
n9a+x3Qj8RUbFy4l3F/1H99Av0j4pYqeGPWeo=
DomainKey-Signature: a=rsa-sha1; c=nofws;
d=gmail.com; s=gamma;
h=message-id:date:from:to:subject:mime-version:content-type;
b=sVPXC905b463PDFHnDKmu/igLaiUwBtptmO/wfrrAmkCJqSyVz141RVvsuQ6tV5ubb
/leIlSg1MtX0qfKt+rqAKD6KHu81HGaBAbh9Ezo/u20gYFVi4ZlhxN0VUUqLZ7caDKhc
USRsieZ70B5fPnjGr4sy0e8Q8+pJ+uKVAAOK4=
Received: by 10.181.143.12 with SMTP id v12mr49460bkn.13.1227241809565;
Thu, 20 Nov 2008 20:30:09 -0800 (PST)
Received: by 10.181.4.6 with HTTP; Thu, 20 Nov 2008 20:30:09 -0800 (PST)
Message-ID: [EMAIL PROTECTED]
Date: Fri, 21 Nov 2008 07:30:09 +0300
From: emmanuel kiew [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Subject: test 730
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary==_Part_140853_29004067.1227241809544
Hi there,
Let's say, that among others, you have these directories:
/home/vpopmail/domains/example.com/user1/Maildir/cur
/home/vpopmail/domains/example.com/user1/Maildir/.spam/cur
The first is [EMAIL PROTECTED] Maildir inbox, the other is the spam folder
of that user.
Put your spam into the spam folder, and what's not spam into your inbox
(or any other folder, like ham-for-learning)
sa-learn --spam /home/vpopmail/domains/example.com/user1/Maildir/.spam/cur
sa-learn --ham /home/vpopmail/domains/example.com/user1/Maildir/cur
That should do it. you should not need more than 3000 spam messages for
that. It's always best to use spam and ham that is hitting you and not
some spam samples from elsewhere. Works better that way.
Good luck,
Maciej Soltysiak
On Wt Listopada 18 2008, 11:43 am, [EMAIL PROTECTED] wrote:
How do I teach spamassassin what actually is spam and what's not
by using sa-learn?
Hi,
[EMAIL PROTECTED] pisze:
How can i completely stop spam mails from going through my mail
server.
I
followed Bill's Linux Qmail Toaster instructions of installing qmail
but
spam mails are still coming in!
Hmm, debug your spamassassin.
Check out /var/log/spamd/currunt for things like access denied, error,
fail, permissions
and try to fix those. spamassassin usually runs on vpopmail user that's
a hint for permissions.
Also do a:
spamassassin --lint -D sa.log 21
and then inspect the sa.log file and look for things like: missing perl
modules, wrong paths, permissions, whatever.
Have you tought your spamassassin what actually IS spam and what's not
by using sa-learn?
Hope this helps,
Maciej