SA + Maildrop + IMP spam reporting

From: Tim Hasson (tim_at_aidasystems.com)
Date: 01/30/04

  • Next message: Erich Waelde: "Re: 2.6 upgrade"
    Date: Fri, 30 Jan 2004 14:26:07 -0800
    To: sam@lists.horde.org, debian-user@lists.debian.org
    
    
    

    Hi,

    The attached patch to IMP-3.2.1 allows you to enable spam reporting in
    imp/conf.php
    set a spam@address.com , and optionally spam delete enable.

    When a user clicks "Report as Spam" in message.php, the message is
    redirected to the spam@address.com without modifying/adding any headers
    (such as Reset headers when using Redirect function in IMP), except for a
    extra Received line which doesn't hurt much..

    This patch was very useful for me to allow to report spam directly to
    sa-learn (from SpamAssassin) to teach the bayesian classifier server-wide

    If using maildrop as the delivery agent (recommended):
    Simply, in the spam@address.com maildir put a .mailfilter with 3 lines like:

    exception {
      cc "| /usr/local/bin/sa-learn --spam --local --single --no-rebuild"
    }

    And run a cron regularly to rebuild the bayes database:
    0 */2 * * * vpopmail /usr/local/bin/sa-
    learn --rebuild

    Hope it could be useful to many people..

    Respectfully,
    Tim Hasson
    Consultant, AiDA Systems
    (209) 639-2989 Voice

    
    

    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    


  • Next message: Erich Waelde: "Re: 2.6 upgrade"

    Relevant Pages

    • Re: SPAMmers getting smarter
      ... Some malignant agent has sent out a SPAM e-mail to ... group postings directed to their email inboxes. ... deluge of SPAM posts today and yesterday has pushed many of the active/ ... spam - label it as spam and report abuse. ...
      (rec.music.indian.misc)
    • Re: Report: Spam now 90 percent of all e-mail
      ... Spam now accounts for 90.4 percent of all e-mail, according to a report ... Web sites have relied on CAPTCHA (Completely Automated Public Turing ... Lance Whitney wears a few different technology hats--journalist, ...
      (soc.retirement)
    • Re: Inger isnt stalking me!!!!
      ... It may be that the name you think the sex spam came from was directed to you by that person, but who in their true and sane minds would email such stuff to you and risk having their names tarnished and investigated by the police when everyone knows your attitude about such things in this and other forums about such spam. ... If with, your experience, you are stupid and idiotic enough to use a real email in your replies, you deserve to get all the crap in your inbox as there are grains of sand on the seashore. ... I think this is more than enough to report her to Telia. ...
      (sci.archaeology)
    • Re: New type of in-game mail spam
      ... I have been getting a few " new " types of in-game mail spam. ... I use 'Easyreport' and report *every* spam immediately. ... 59 Warlock - Skywall ...
      (alt.games.warcraft)
    • RE: Close RECORD after a pre-defined time
      ... we report the spam to Microsoft every day. ... So you could set your timer interval to one minute and the code to ...
      (microsoft.public.access.formscoding)