spamassassin is not working... why?

Discussion in 'Installation/Configuration' started by jncastellano, Apr 28, 2009.

  1. jncastellano

    jncastellano New Member

    Hi,

    Now my ispconfig is installed and working perfectly so.. A week ago ( i don't know why ) i begin to receive a lot of spam.

    In web preferences all users have antivirus and antispam activated. I view full source from all this last e-mails and i can see that the tags X-Spam-* are not written.

    binaries are with correct permissions, directories also, i read logs...

    Anyone can help me how can i detect what is wrong running spamassassin with procmail?

    Regards
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Have you tried to lower the spam score in ISPConfig (e.g. to 4.0)?
     
  3. jncastellano

    jncastellano New Member

    yes, but don't works..

    this is an example of headers:

    Return-Path: <[email protected]>
    X-Original-To: x
    Delivered-To: [email protected]
    Received: from com-com.com (unknown [41.221.26.14])
    by ks301166.x (Postfix) with SMTP id 7AA9A42C2F0
    for <x>; Tue, 28 Apr 2009 19:39:36 +0200 (CEST)
    Message-ID: <001601c9c8f8$bb5d0550$0088941c@637f66f80df6494>
    From: "Cyril Phillians" <[email protected]>
    To: "c" <x>
    Subject: Energia para tu miembro sexual: adquirir y ahorrar 85 %.
    Date: Wed, 29 Apr 2009 18:31:37 +0200
    MIME-Version: 1.0
    X-Security: message sanitized on ks301166.`c
    See http://www.impsec.org/email-tools/sanitizer-intro.html
    for details. $Revision: 1.151 $Date: 2006-01-20 07:29:24-08
    X-Security: The postmaster has not enabled quarantine of poisoned messages.
    Content-Type: multipart/alternative;
    boundary="----=_NextPart_000_0013_01C9C8F8.BB5D0550"
    X-Priority: 3
    X-MSMail-Priority: Normal
    X-Mailer: Microsoft Outlook Express 6.00.2462.1081
    X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.1081

     
    Last edited: Apr 29, 2009
  4. falko

    falko Super Moderator Howtoforge Staff

    Can you check if the procmail recipes really contain the anti-spam recipes?

    What's the output of
    Code:
    /home/admispconfig/ispconfig/tools/spamassassin/usr/bin/spamassassin --lint
    ?
     
  5. jncastellano

    jncastellano New Member

    Hi!,

    I show an example of a single user :)

    Code:
    /var/www/web3#cat .procmailrc
    MAILDIR=$HOME/Maildir/
    DEFAULT=$MAILDIR
    ORGMAIL=$MAILDIR
    
    INCLUDERC=/var/www/x/user/x/.mailsize.rc
    ## INCLUDERC=/var/www/web3/user/x/quota.rc
    INCLUDERC=/var/www/x/user/x/.antivirus.rc
    INCLUDERC=/var/www/x/user/x/.local-rules.rc
    INCLUDERC=/var/www/x/user/x/.html-trap.rc
    INCLUDERC=/var/www/x/user/x/.spamassassin.rc
    ## INCLUDERC=/var/www/x/user/x/.autoresponder.rc
    
    Code:
    #cat .spamassassin.rc
    :0fw
    * < 256000
    | /home/admispconfig/ispconfig/tools/spamassassin/usr/bin/spamassassin --prefs-file=/var/www/x/user/x/.user_prefs
    
    :0
    * ^^rom[ ]
    {
      LOG="*** Dropped F off From_ header! Fixing up. "
    
      :0 fhw
      | sed -e '1s/^/F/'
    }
    
    Code:
    #cat .user_prefs
    required_score                4.0
    
    rewrite_header Subject ***SPAM***
    
    score           AWL  -100.0
    
    Code:
    #cat .forward
    "|/usr/bin/procmail -f-"
    
    Code:
    root@home:/#/home/admispconfig/ispconfig/tools/spamassassin/usr/bin/spamassassin --lint                           
    root@home:/#
    
    (no output)
    
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Hm, looks ok - not sure what's wrong. :(
     

Share This Page