All Spams going to Inbox instead of Junk Folder

Discussion in 'ISPConfig 3 Priority Support' started by Kevin S, Jun 8, 2020.

  1. Kevin S

    Kevin S New Member

    I have selected the spam policy to Normal and modified the normal policy with the following options but still all the spam email that contains porn, insurance, etc emails comes to my inbox.

    SPAM tag level: 1.00
    SPAM kill level: 5

    How do I configure the policy to send all the spams to Junk folder?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Enable the 'Move spam to junk' checkbox on the filter tab of the email mailbox.
     
  3. Kevin S

    Kevin S New Member

    I have already ticked that. Even the emails that I have sent to junk keeps coming.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Have a look at the email headers to see which score they got and which rules got applied to them.

    It does not matter for the spam scanner if you manually moved an email to junk before.
     
  5. Kevin S

    Kevin S New Member

    These are all coming to the inbox.
    Code:
    X-Virus-Scanned: Debian amavisd-new at server.mydomain.com
    X-Spam-Flag: NO
    X-Spam-Score: 3.106
    X-Spam-Level: ***
    X-Spam-Status: No, score=3.106 tagged_above=1 required=3.4
        tests=[DKIM_SIGNED=0.1, HTML_EMBEDS=0.001,
        HTML_FONT_LOW_CONTRAST=0.001, HTML_MESSAGE=0.001, LOTS_OF_MONEY=0.001,
        RDNS_NONE=1.274, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001,
        T_DKIM_INVALID=0.01, T_KAM_HTML_FONT_INVALID=0.01,
        T_REMOTE_IMAGE=0.01, URIBL_BLACK=1.7] autolearn=no autolearn_force=no
    Authentication-Results: server.mydomain.com (amavisd-new);
        dkim=fail (1024-bit key) reason="fail (body has been altered)"
        header.d=competebase.xyz; domainkeys=fail (1024-bit key)
        reason="fail (message has been altered)"
        [email protected] header.d=competebase.xyz
    Received: from server.mydomain.com ([127.0.0.1])
        by localhost (server.mydomain.com [127.0.0.1]) (amavisd-new, port 10024)
        with ESMTP id A25xENhNNYqb for <[email protected]>;
        Sat, 30 May 2020 11:36:49 +0530 (IST)
    Received: from competebase.xyz (unknown [213.142.156.130])
        by server.mydomain.com (Postfix) with ESMTP id E5A8D7AE20
        for <[email protected]>; Sat, 30 May 2020 11:36:45 +0530 (IST)
    DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; s=mail; d=competebase.xyz;
     h=From:Date:MIME-Version:Subject:To:Message-ID:Content-Type; [email protected];
     bh=MKBdLJrmBcrQkEeMNoK8jwEh+4c=;
     b=B5fNmRYqWxNpKeMr6EZYz08jKNHgVhlARb4hAjXHyYZsvZj1tEDN7xwaXXRM7BTAfQnTNKo12iat
       onXOQQPzJO5+hPBXhAXVOgVLTKM6FbQ2rTYzVGQ56YR29w2C1nWcFm2139RC/UKmRe1tOaecW8WE
       kmrRM7cu+hdoH47u8Wc=
    DomainKey-Signature: a=rsa-sha1; c=nofws; q=dns; s=mail; d=competebase.xyz;
     b=pZtTR1tQEWvihGn9tJh+0TPYA//QWPD9jzk4zO5nCYMrknz7IF12hzAkKYmlk/WoGTwpAnCE6yqd
       9vHCxH6o440hraVIoT62ri3hdyf/251unEy5J++9f/nAnB6htjOKDsdiA7VCI+1cbAOk5fvFkwP+
       OKsjctKl+eSBdZ/wPYM=;
    From: "Erectile Problems" <[email protected]>
    Date: Sat, 30 May 2020 01:02:23 -0500
    MIME-Version: 1.0
    Subject: Welcome  to the future world of sex
    
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok, so that's all fine. you probably have set the tag2 level, that's the level at which mails are sent to the junk folder, to a value > 3.106
     
  7. Kevin S

    Kevin S New Member

    Do you mean the SPAM tag2 level should be empty or > 3.106?
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    It has to be > 1 ( tag level) but < 3.106 (the score of this email) to filter out this email.
     

Share This Page