In ISPconfig whitelist but still seen as spam

Discussion in 'Installation/Configuration' started by edge, Jan 12, 2007.

  1. edge

    edge HowtoForge Supporter

    On of my friends is trying to email me, but his ISP is blacklisted on, and (he is from Malaysia)

    He is running a domain on my server, and with that he has got an email address.
    I have added the domain (*.domain.tld) to my ISP User > Spamfilte & Antivirus "Spam Whitelist"

    It's kind of working as the spam detection software is marking it with " 0.0 AWL: From: address is in the auto white-list", but the points it giving is 0, and the message is still marked as spam!

    Anyone here who might have a solution on how to fix this problem?
    Normaly I have the ISPconfig Spam Strategy on discard, causing mail like this to be deleted automatically!

    Spam detection software, running on the system "host.mydomain.tld", has identified this incoming email as possible spam.  The original message has been attached to this so you can view it (if it isn't spam) or label similar future email.  If you have any questions, see edge for details.
    Content preview:  Hello again. I'm back home!!!! [...] 
    Content analysis details:   (5.7 points, 5.0 required)
     pts rule name              description
    ---- ---------------------- --------------------------------------------------
     1.3 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in
                   [Blocked - see <>]
     3.1 RCVD_IN_XBL            RBL: Received via a relay in Spamhaus XBL
                                [ listed in]
     1.2 RCVD_IN_SORBS_WEB      RBL: SORBS: sender is a abuseable web server
                                [ listed in]
     0.0 AWL                    AWL: From: address is in the auto white-list
  2. till

    till Super Moderator

    You can try to set the score for the AWL to e.g. -100 in the spamassassin configuration in /home/admispconfig/ispconfig/tools/spamassassin/...
  3. edge

    edge HowtoForge Supporter

    That sounds like it should do the trick (-:

  4. edge

    edge HowtoForge Supporter

    Problem now.... what config file? (I do not really see any)
  5. till

    till Super Moderator

    You're right, i thought there will be a config file too :D Please try to add the score to the file:


    Then edit the user in ISPConfig, change any value and save it, so ISPConfig recreates the configuration for this user.
  6. edge

    edge HowtoForge Supporter

    Sorry about this, but what should I add where in /root/ispconfig/isp/conf/user_prefs.master

    required_score                {HITS}
    {REWRITE_SUBJECT_2}rewrite_header Subject {SUBJECT_TAG}
    {WHITELIST_2}whitelist_from        {WHITELIST}
    {BLACKLIST_2}blacklist_from        {BLACKLIST}
    {URIBL_2}urirhssub       URIBL_BLACK        A   2
    {URIBL_2}body            URIBL_BLACK  eval:check_uridnsbl('URIBL_BLACK')
    {URIBL_2}describe        URIBL_BLACK  Contains an URL listed in the URIBL blacklist
    {URIBL_2}tflags          URIBL_BLACK  net
    {URIBL_2}score           URIBL_BLACK  3.0
  7. till

    till Super Moderator

    Please try to add at the end of the file:

    score           AWL  -100.0
  8. edge

    edge HowtoForge Supporter

    That looks like it's working :)

    I'll get my friend from Malaysia to email me.

    Will report back again if all okay
  9. edge

    edge HowtoForge Supporter

    Yep.. it's working 100%

    Are you going to add the score AWL -100.0 to the next ISPconfig updates, or do I need to set this evertime when I do an ISPconfig update?
  10. falko

    falko Super Moderator

    I think we can do it. I hope it doesn't cause any problems.
  11. edge

    edge HowtoForge Supporter

    Or.. maybe an extra field in ISPconfig > ISP User > Spamfilter & Antivirus part
    where you can set the AWL value?
  12. till

    till Super Moderator

    I guess this would get too complicated for most users and not every ISP wants to explains their users how the spamassassin scoring model works and what a autowhitelist is.
  13. jmroth

    jmroth ISPConfig Developer

    Ehm.. this is not working because AWL is hit but because USER_IN_WHITELIST is hit! Adding a score for AWL just means nothing. AWL has no score. See for example here:

    You can just remove that again to prevent further confusion ;)

Share This Page