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