Hi,

I want that my users can send spam to mail addresses,
for example [EMAIL PROTECTED] and [EMAIL PROTECTED]


so far I written a shell script and it will executet every day.

here it is:

<cut>

#!/bin/sh
sa-learn --mbox --spam /var/mail/spam > /dev/null
sa-learn --rebuild --mbox --ham /var/mail/nospam > /dev/null
>/var/mail/spam
>/var/mail/nospam

</cut>


But the problem is my user use outlook and the mails are in this format:

<cut>

From [EMAIL PROTECTED]  Wed Aug 25 10:24:56 2004
Return-Path: <[EMAIL PROTECTED]>
X-Original-To: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Received: from localhost (firewall [127.0.0.1])
        by firewall (Postfix) with ESMTP id D63B42EDE9
        for <[EMAIL PROTECTED]>; Wed, 25 Aug 2004 10:24:56 +0200
(CEST)
Received: from firewall ([127.0.0.1])
        by localhost (firewall [127.0.0.1]) (amavisd-new, port 10024)
        with ESMTP id 16601-01 for <[EMAIL PROTECTED]>;
        Wed, 25 Aug 2004 10:24:55 +0200 (CEST)
Received: from GLCSCHUCK (unknown [192.168.209.25])
        by firewall (Postfix) with SMTP id 2A6602EDE2
        for <[EMAIL PROTECTED]>; Wed, 25 Aug 2004 10:24:55 +0200
(CEST)
From: "Christian Schuck" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: WG: Cialis - very low price
Date: Wed, 25 Aug 2004 10:24:53 +0200
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: multipart/alternative;
        boundary="----=_NextPart_000_0049_01C48A8D.C2CFDA00"
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Importance: Normal
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at schuck-mode.de
Status: RO
Content-Length: 4967
Lines: 154

This is a multi-part message in MIME format.

------=_NextPart_000_0049_01C48A8D.C2CFDA00
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: 8bit


-----Urspr�ngliche Nachricht-----
Von: Christian Schuck [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 24. August 2004 17:40
An: [EMAIL PROTECTED]
Betreff: WG: Cialis - very low price



-----Urspr�ngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 24. August 2004 15:56
An: [EMAIL PROTECTED]
Betreff: Cialis - very low price
     Fuller & harder erections
      Starts working in just 15 min.
      Long-lasting effects
      No side effects

      ClALlS

      Select the manufacturer you trust!



      EASY TO BUY! PRESS HERE

      Delivery and shipping worldwide

      To change your mail preferences, go here


------=_NextPart_000_0049_01C48A8D.C2CFDA00
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


</cut>


So far my question is how to learn this spam?
That not my users a readed as SPAM.


Greets Mark.
-- 
Mark Nicolas <[EMAIL PROTECTED]>

Attachment: spam.gz
Description: GNU Zip compressed data

Attachment: spam.gz
Description: GNU Zip compressed data

Attachment: spam
Description: Binary data

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to