Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1
    Senior Member
    Join Date
    Nov 2003
    Posts
    248

    Default Spam still comin in although it's tagged

    I've got spamassasin installed, set it to a low score. But somehow it stills get in even with the score of 10.5 when i checked the headers.

    Any reference/solutions to this thanks.

  2. #2
    Moderator wildjokerdesign's Avatar
    Join Date
    Jun 2003
    Location
    Kansas City Mo
    Posts
    5,720

    Default

    SpamAssasin only marks the mail for you then have to set up something like procmail to read the spamassasin tag in the header and do with it what you want. You can also set most programs like Outlook to catch it once it gets to your computer if you want and move it to a different folder. The easiest is to have SA change the subject line then create a rule based on what you had it change it to.
    Shawn
    Please remember your charity of choice: http://www.redcross.org

    Handy Links: wildjokerdesign.net | Plain Text Editors: EditPlus | Crimson

  3. #3
    Senior Member
    Join Date
    Nov 2003
    Posts
    248

    Default

    Thanks Shawn. Sorry I forgot to mention that i did set procmail to delete it for good if there's any marked as spam.
    So what could be the reason.

  4. #4
    Senior Member
    Join Date
    Sep 2003
    Location
    Sun & More Sun, Florida
    Posts
    196

    Default spamassassin

    To elaborate on Wildjokers response - here is the code in my user_prefs file to set the level at which email is considered spam and then to rewrite the subject identifying it as such:
    # How many hits before a mail is considered spam.
    required_hits 4
    rewrite_subject 1
    subject_tag **POSSIBLE SPAM**
    Then in procmail I have this to delete any spam with 25 stars (25 points):

    :0
    * ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
    /dev/null
    All other spam with less than 25 stars comes into outlook express where I catch it with a subject of **POSSIBLE SPAM**

    Hopes this helps....

    Charlie

  5. #5
    Senior Member
    Join Date
    Nov 2003
    Posts
    248

    Default

    Thanks for the alternative rule. For me I'm using this rule instead. So any mail that is tagged by Spamassasin it will automatically deleted.

    But my main question is, how could the email tagged by Spamassasin still pass through.

    :0:
    * ^X-Spam-Flag: YES
    /dev/null

  6. #6
    Moderator wildjokerdesign's Avatar
    Join Date
    Jun 2003
    Location
    Kansas City Mo
    Posts
    5,720

    Default

    Not real familiar with this but the one difference other then the rule that I see between the two is the you have used :0: and ccwebb has used :0

    I think it makes a difference but not sure why. Do you see the difference? Droping the : after the 0
    Shawn
    Please remember your charity of choice: http://www.redcross.org

    Handy Links: wildjokerdesign.net | Plain Text Editors: EditPlus | Crimson

  7. #7
    Senior Member
    Join Date
    Nov 2003
    Posts
    248

    Default

    Hmm. as I can remember : denotes locking the file/folder while procmail is processing 1 mail at a time. It's only applicable if you want to set it on a rule other than sending it to null.

    I'll remove it & see what happens.

    Thanks guys.

  8. #8
    Senior Member FZ's Avatar
    Join Date
    May 2003
    Location
    Johannesburg, South Africa
    Posts
    1,024

    Default

    Try some basic troubleshooting: make sure the Procmail recipes are being run against mail for the account in question. Example: forward all mail to another account (using Procmail), or store a copy of it in a file. If that works, then you know your rule is messed up (since you have confirmed that SpamAssassin is marking spam correctly with its headers - or haven't you?)
    Fayez Zaheer

  9. #9
    Junior Member
    Join Date
    Sep 2003
    Posts
    8

    Default Same Problem - SA Marks, but Procmail Doesn't Delete 10+

    I'm having the same problem. Just upgraded to SpamAssassin 2.64, which works GREAT at marking SPAM. Now, I want to automatically delete any SPAM with a score of 10 or higher. Following Jalal's Gnomedia site, I have added the following into my /etc/procmailrc:

    # 10 stars or more...
    :0:
    * ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*
    /dev/null

    All mail still gets through. Tried changing the :0: to just :0, didn't work either.

    Anyone have any ideas? I get a couple 100 SPAM a day, the having the 10+ scored mail deleted on the server would really be cool.

    Thanks,
    Lashito

  10. #10
    Senior Member
    Join Date
    Sep 2003
    Location
    Sun & More Sun, Florida
    Posts
    196

    Default

    Mine works with 0: (I am on 2.63)

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

    Is the spam that is getting thru marked as spam?

    Have you possibly introduced errors into procmailrc?

    Charlie

Similar Threads

  1. SpamAssassin -> Procmail -> Uebimaiu spammail folder
    By PeteF in forum E-mail / FTP Management
    Replies: 17
    Last Post: 05-25-2010, 01:54 PM
  2. Procmail Rules Help Please
    By proaudiogear4less in forum E-mail / FTP Management
    Replies: 6
    Last Post: 04-16-2006, 04:54 AM
  3. Procmailrc not sending spam to /dev/null anymore
    By BrentA in forum E-mail / FTP Management
    Replies: 6
    Last Post: 07-11-2005, 09:30 PM
  4. SPAM In General
    By JDE in forum E-mail / FTP Management
    Replies: 31
    Last Post: 06-23-2004, 01:55 PM
  5. send spam to alternate email address
    By dansroka in forum E-mail / FTP Management
    Replies: 5
    Last Post: 03-13-2004, 01:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •