[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

mal wieder procmail und spamassassin



Hallo,

Irgendwas macht doch Procmail da falsch, die Auslieferung klappt, nur
ist die Mailbox hinterher im Eimer
Ich bin nochmal dem procmail+spamassasin Problem nachgegangen:

meine procmailrc sieht so aus:

VERBOSE=yes
LOGFILE=procmail.log

:0fw
| /usr/bin/spamc

:0:
* ^X-Spam-Status: Yes
$HOME/spam

:0
* ^X-Spam-Level \*\*\*\*\*\*\*\*\*\*\*
/dev/null

Wenn ich jetzt eine Nachricht an den User Test schreibe, dann
verschwindet die mail wie hier: (procmail.log)

procmail: Executing "/usr/bin/spamc"
procmail: [24679] Tue Nov  5 00:25:20 2002
procmail: No match on "^X-Spam-Status: Yes"
procmail: No match on "^X-Spam-Level \*\*\*\*\*\*\*\*\*\*\*"
procmail: Locking "/var/mail/test.lock"
procmail: Assigning "LASTFOLDER=/var/mail/test"
procmail: Opening "/var/mail/test"
procmail: Acquiring kernel-lock
procmail: Unlocking "/var/mail/test.lock"
procmail: Notified comsat: "test@1591:/var/mail/test"
 Subject: test
  Folder:
/var/mail/test                                                    733

So sieht der Mailfolder /var/mail/test dann aus:

Return-path: <test@centauri>
Envelope-to: test@centauri.alpha
Delivery-date: Tue, 05 Nov 2002 00:25:14 +0100
Received: from draconis.alpha ([192.168.23.2] helo=draconis)
        by centauri.alpha with esmtp (Exim 3.35 #1 (Debian))
        id 188qao-0006Py-00
        for <test@centauri.alpha>; Tue, 05 Nov 2002 00:25:14 +0100
Content-Type: text/plain;
  charset="us-ascii"
From: Martin =?iso-8859-15?q?H=F6fling?= <test@centauri>
To: test@centauri.alpha
Subject: test
Date: Tue, 5 Nov 2002 00:25:27 +0100
User-Agent: KMail/1.4.3
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200211050025.27334.test@centauri>
X-Spam-Status: No, hits=4.0 required=5.0
tests=FROM_MALFORMED,NO_MX_FOR_FROM version=2.20
X-Spam-Level: ****

test




So, nun erhöhen wir mal die spammigkeit:


procmail: Executing "/usr/bin/spamc"
procmail: [25240] Tue Nov  5 00:30:00 2002
procmail: Match on "^X-Spam-Status: Yes"
procmail: Locking "/home/test/spam.lock"
procmail: Assigning "LASTFOLDER=/home/test/spam"
procmail: Opening "/home/test/spam"
procmail: Acquiring kernel-lock
procmail: Unlocking "/home/test/spam.lock"
procmail: Notified comsat: "test@502:/home/test/spam"
 Subject: *****SPAM***** test !!!! 2345
  Folder: /home/test/spam

Der Folder spam sieht dann so aus:

>From MAILER-DAEMON Tue Nov  5 00:25:00 2002
Date: 05 Nov 2002 00:25:00 +0100
From: Mail System Internal Data <MAILER-DAEMON@centauri.alpha>
Subject: DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA
X-IMAP: 1036452300 0000000000
Status: RO

This text is part of the internal format of your mail folder, and is not
a real message.  It is created automatically by the mail system
software.
If deleted, important folder data will be lost, and it will be
re-created
with the data reset to initial values.

Return-path: <test@centauri>
Envelope-to: test@centauri.alpha
Delivery-date: Tue, 05 Nov 2002 00:29:52 +0100
Received: from draconis.alpha ([192.168.23.2] helo=draconis)
        by centauri.alpha with esmtp (Exim 3.35 #1 (Debian))
        id 188qfI-0006Z1-00
        for <test@centauri.alpha>; Tue, 05 Nov 2002 00:29:52 +0100
Content-Type: text/plain
From: Martin =?iso-8859-15?q?H=F6fling?= <test@centauri>
To: test@centauri.alpha
Subject: *****SPAM***** test !!!! 2345
Date: Tue, 5 Nov 2002 00:30:05 +0100
User-Agent: KMail/1.4.3
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Message-Id: <200211050030.05716.test@centauri>
X-Spam-Status: Yes, hits=6.9 required=5.0
tests=FROM_MALFORMED,PLING,PLING_PLING,NO_MX_FOR_FROM,SUBJ_HAS_UNIQ_ID
version=2.20
X-Spam-Flag: YES
X-Spam-Level: ******
X-Spam-Checker-Version: SpamAssassin 2.20 (devel $Id: SpamAssassin.pm,v
1.77 2002/04/06 19:28:30 hughescr Exp $)
X-Spam-Prev-Content-Type: text/plain;
  charset="us-ascii"
X-Spam-Prev-Content-Transfer-Encoding: quoted-printable

SPAM: -------------------- Start SpamAssassin results
----------------------
SPAM: This mail is probably spam.  The original message has been altered
SPAM: so you can recognise or block similar unwanted mail in future.
SPAM: See http://spamassassin.org/tag/ for more details.
SPAM:
SPAM: Content analysis details:   (6.9 hits, 5 required)
SPAM: Hit! (2.2 points)  From: has a malformed address
SPAM: Hit! (0.5 points)  Subject has an exclamation mark
SPAM: Hit! (0.4 points)  Subject has lots of exclamation marks
SPAM: Hit! (1.8 points)  No MX records for the From: domain
SPAM: Hit! (2.0 points)  Subject contains a unique ID number
SPAM:
SPAM: -------------------- End of SpamAssassin results
---------------------

SUPER TOLLER TEST !!!


Naja, nur dass ich weder die Nachricht test noch die spammigere im
Ordner spam hinterher abrufen kann (in dem Fall über UW Imap). 
Achja, ich verwende woody.

Viele Grüsse
Martin







Reply to: