Skip to main content

global filters and spamassassin

Comments

2 comments

  • rpvw
    Rather than use the auto-delete spam setting, have you tried setting up a second global filter to discard the message if it is above a certain spam score ? You will also have to ensure your other spam score rule has 2 criteria in it - one for 'is above' score and one for 'is below' score See Global Email Filters - Version 60 Documentation - cPanel Documentation and How to Configure Mail Filters - cPanel Knowledge Base - cPanel Documentation
    0
  • cPanelMichael
    Hello, The "Auto-Delete SPAM" button creates a filter like this in the /etc/vfilters/$domain file:
    if not first_delivery and error_message then finish endif #Generated Apache SpamAssassin" Discard Rule if $h_X-Spam-Bar: contains "+++++" then save "/dev/null" 660 endif
    You'd want to disable this option, and instead setup an additional filter like the one mentioned in the previous response if you want to configure multiple actions for different SPAM score rules. Thank you.
    0

Please sign in to leave a comment.