AWL in Postfix FC5 setup not working

Discussion in 'Server Operation' started by acoghlan, Apr 19, 2007.

  1. acoghlan

    acoghlan New Member

    I have set up a mail server using the Virtual Users And Domains With Postfix, Courier And MySQL (Fedora Core 5) guide - working great for the last few months, then I noticed something yesterday.

    Emails coming in from addresses on the auto white list are having their spam score INCREASED instead of Decreased - consequently they are being marked as spam when they should not.

    Here is the relevant part of the mail header for the email that alerted me to the problem:

    Code:
    X-Virus-Scanned: amavisd-new at localhost
    X-Spam-Flag: YES
    X-Spam-Score: 4.646
    X-Spam-Level: ****
    X-Spam-Status: Yes, score=4.646 tagged_above=2 required=4 tests=[AWL=4.691,
    	BAYES_00=-2.599, FORGED_RCVD_HELO=0.135, HELO_EQ_AU=0.377,
    	HOST_EQ_AU=0.327, HTML_40_50=0.496, HTML_MESSAGE=0.001,
    	MIME_BASE64_NO_NAME=0.224, RELAY_IS_203=0.994]
    X-Spam-Report:
     *  1.0 RELAY_IS_203 RELAY_IS_203
     *  0.3 HOST_EQ_AU HOST_EQ_AU
     *  0.4 HELO_EQ_AU HELO_EQ_AU
     *  0.1 FORGED_RCVD_HELO Received: contains a forged HELO
     * -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1%
     *      [score: 0.0000]
     *  0.5 HTML_40_50 BODY: Message is 40% to 50% HTML
     *  0.0 HTML_MESSAGE BODY: HTML included in message
     *  0.2 MIME_BASE64_NO_NAME RAW: base64 attachment does not have a file
     *      name
     *  4.7 AWL AWL: From: address is in the auto white-list
    
    AWL aside, the mail is given a score of -.1, which is fine. but the 4.7 added by the AWL bumps it over the spam threshold.

    How can I fix this?
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Please compare your amavisd configuration with the one from the tutorial. I guess there's something wrong in yours.
     

Share This Page