The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Spamassassin can only set score to 5 to delete ?

Discussion in 'General Discussion' started by phil-3, Dec 3, 2007.

  1. phil-3

    phil-3 Member

    Joined:
    Mar 29, 2007
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Hi folks

    I have WHM 11.2.0 cPanel 11.11.0-S18033

    In a recent upgrade, the automatic system for users to delete spam (instead of simply flagging it) changed from using spam score to using the +++++ method.

    When you change the spam score in the config, and have delete all spam set, if you then change the score from 5 to something else, cpanel done not edit the filter to "+++".

    Is this a bug or a "feature" :rolleyes:? Non tech-savvy users are having no end of problems with it.:(

    All the best

    Phil
     
  2. trevHCS

    trevHCS Well-Known Member

    Joined:
    Nov 1, 2003
    Messages:
    69
    Likes Received:
    1
    Trophy Points:
    8
    Yeah - it's a real pain until you realise it's happening. As for bug / feature, erm, probably both as you might want to mark mail as suspicious as say level 3, but only delete spam that generates a really high score such as 6.

    Trev
     
  3. phil-3

    phil-3 Member

    Joined:
    Mar 29, 2007
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Maybe it should be put on the wish list then :)

    CPANEL - can we please have a way of doing this on the actual spamassassin config page please (and fairly quickly too - users are getting highly confused) ?

    Many thanks

    Phil
     
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    What precisely do you mean?

    You can customize the "auto delete spam" threshold via the spamassassin config page. As for what is considered spam, that is determined in your setting for "required_score" in the SpamAssassin Configuration.
     
  5. phil-3

    phil-3 Member

    Joined:
    Mar 29, 2007
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Hiya

    Yes I know. The problem is this.

    1. SA is enabled.
    2. The delete option has been clicked so it is set at the default threshhold (5).
    3. If you change the threshhold score on the SA config page, the page reports that the change has happened.
    4. It STILL only deletes spam with a score of 5 or more. :confused: The filter that does the deleting has not been edited. To change the threshhold for deletion you have to delete the default filter on the filters page and add a new one for the new score e.g. 3 = +++ . This is the bit that confuses the hell out of customers.

    Is this a bug ? or done by design ?

    So if this is the way it is supposed to be as opposed to being a bug, then my wish for the wishlist is that you can enter 2 values onto the SA config page.

    1. Score above which mail is to be flagged as spam
    &
    2. Score above which mail is deleted.

    so they can be changed independantly. :)

    All the best

    Phil
     
  6. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    On my test machine, they can be changed independently as I have previously mentioned.

    If you are setting your threshold for when you flag something as spam to 5, obviously there will never be a spam score lower than 5 being reported. The rule to delete anything 3 or higher is working, however since nothing is being flagged as spam and no scores are being reported below 5, that means nothing with a score below 5 will be deleted.
     
  7. phil-3

    phil-3 Member

    Joined:
    Mar 29, 2007
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Hiya

    Sorry you are missing my point.

    Forget the score at which things are flagged for a moment.

    To change the score at which things are deleted, the ONLY way to do this is delete the default filter rule, and put in a new rule with less +'s in it. Is this correct ? or a bug ?

    Many thanks

    Phil
     
  8. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    I see the source of the confusion now. I have attached a screenshot from a test server I am using, with 2 sections highlighted. The yellow section is not the actual rule being created, and I can see this as being confusing as this is different from the green section, which is different but is the actual rule being created.

    You can verify this in the cPanel interface by going to cPanel -> Mail -> Account Level Filtering and clicking Edit for the Generated SpamAssassin Discard Rule. On the system I'm using, it matches the setting set on the SpamAssassin page.

    I believe the discrepancy shown in the screenshot to be a bug.
     

    Attached Files:

  9. phil-3

    phil-3 Member

    Joined:
    Mar 29, 2007
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Hi David

    ALMOST but still not quite what I mean. :p

    When you first set spam to be deleted, it creates a rule on the FILTERS page. This rule has 5 +'s so it deletes spam with a score of 5 or above.

    If you then subsequently change the score using the SA CONFIG page - let's say to 3 - spam with a score above 3 is then flagged quite correctly. HOWEVER the rule on the FILTERS page REMAINS as looking for "+++++" i.e. spam with a score of 5 or above. So ONLy spam with a score of 5 or above is deleted, while spam with a score of between 3 and 5 is flagged and still delivered - not deleted.

    The only way to get spam with a score of 3 and above to be deleted is to delete the rule from the FILTERS page, and re-enter the rule by hand with the right number of +'s. THAT is what most users are finding VERY confusing.

    Now if the rule on the FILTERS page is supposed to be changed by changing the SA CONFIG page, then it's NOT working.

    There's 2 solutions - have 2 separate scores to enter on the SA CONFIG page as i said ^^^ up there somewhere, or change the setup back to how it was before, where the single score currently entered onto the SA CONFIG page controls BOTH the flag threshold AND the delete threshold - which is how it used to be.

    Personally (and what trevHCS mentioned) it would be useful to have 2 places to enter the scores on the SA CONFIG page. 1 score at which mail is flagged, and 1 where mail is deleted, so that you could delete everything over a score of 5 but still flag and receive spam with a score of between 3 and 5.

    Many thanks

    Phil
     
  10. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    I thought that's what you meant at one point so I tested for that, however I was unable to replicate this issue.

    As I am unable to replicate this issue, you may wish to submit a support ticket regarding this (perhaps referencing this thread) as this may be a server-specific issue rather than a bug affecting all users of the software. In either case, it should be properly looked into so the issue can be resolved.

    Having those two settings within closer proximity to each other sounds more like a design issue than a functionality issue. Perhaps submit a request to http://bugzilla.cpanel.net as a feature request/enhancement regarding that.
     
  11. phil-3

    phil-3 Member

    Joined:
    Mar 29, 2007
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Hi David

    Ok Thanks. ALthough the fact that TREV (^^^ up there somewhere) has come across the same issue means it's not ONLY my server that has this same problem.

    I have reported this thread to the datacentre so they can raise the issue with you direct.

    Many thanks

    Phil
     
  12. phil-3

    phil-3 Member

    Joined:
    Mar 29, 2007
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Hi David

    I don't know if you are still around today , but I have just discovered that this issue appears to be related to the bluelagoon theme. It all acts as expected with the X3 theme.

    Many thanks

    Phil
     
  13. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Wow, been a while since I heard someone using the old Bluelagoon theme.

    Note, there is a X3 theme style called Blue Lagoon. If you had a particular liking for that theme, just go into your cPanel interface and under Preferences click Change Style and on that page select the option box for blue_lagoon then click Save at the bottom of the page. It has all the perks of X3 while paying homage to that classic theme :).
     
Loading...

Share This Page