Skip to main content

How do I enter multiple strings when creating a filter rule

Comments

11 comments

  • cPanelMichael
    Hello :) Have you considered using SpamAssassin instead? Check to see if it's available via cPanel, and if not, contact your web hosting provider to see if they can enable it for you. It's likely more effective than multiple account level filtering rules. Thank you.
    0
  • delboy007
    I thought the filter was part of spam assasin. I did look at spam assasin and as far as I can see all you can do is load lists of email addresses which is completely useless as nearly all the spam I receive is from bogus addresses. It seems to me the only effective filtering is text from the subject or header
    0
  • cPanelMichael
    SpamAssassin should filter out SPAM based on several factors, including content. You may need to consult with your web hosting provider to let them know that SPAM is making it through so they can possibly enable additional prevention options from the root level. Thank you.
    0
  • delboy007
    As far as I can see all SpamAssassin does is tag suspected spam with ***spam*** based on their search strings. It still sends it to me so I still waste time sorting it out. I know I can choose to have suspected spam deleted but they frequently mark genuine emails as spam. I want to be able to delete spam permanently from the server using my own search strings to make sure genuine emails are not deleted.
    0
  • cPanelMichael
    You could use regular expressions in your account level filter if you prefer to have messages match multiple strings. The following documents may help you: Filter Configuration Options Regular Expressions Thank you.
    0
  • delboy007
    As I said in my first post, if I do that as far as I can see I have to create a separate rule for every single text string instead of just having them in a list or comma separated. That would take forever. I really don't understand why filtering in general seems to be based on the email address of the sender when they are nearly always spoofed. Even when they are genuine the sender will just use one of his other thousand email addresses to send the same spam. It seem to me the only effective way is to filter by string like outlook rules do only to have it done at the mail server so it doesn't have to be downloaded.
    0
  • cPanelMichael
    [quote="delboy007, post: 1700191">As I said in my first post, if I do that as far as I can see I have to create a separate rule for every single text string instead of just having them in a list or comma separated. That would take forever.
    Could you provide an example of a rule (regex or otherwise) you would prefer to use that is not possible? For instance, is each string entirely different or is there a specific pattern you are attempting to block? Thank you.
    0
  • delboy007
    I simply want the same solultion as an outlook rule. There I can say if header contains: (any of these strings) Pharmacy Save Money P*nis your funds now Then delete them In outlook I just type a string and click and it adds it to the list. With Smamassasin I have to create a rule for every single string.
    0
  • cPanelMichael
    [quote="delboy007, post: 1701211">In outlook I just type a string and click and it adds it to the list. With Smamassasin I have to create a rule for every single string.
    Please don't use SpamAssassin for these type of rules. Instead, use the "Account Level Filtering" option in cPanel. This is a separate section compared to where you configure SpamAssassin. Thank you.
    0
  • delboy007
    that's what I am talking about. It is in account level filtering where I would have to create a separate rule for every string which would take all day.
    0
  • cPanelMichael
    Your options are limited without root access to the server. Have you tried reporting this issue to your web hosting provider? There are several options that can be enabled with root access to help prevent incoming SPAM. It's really better addressed by your hosting provider with the amount of SPAM you are referencing. Thank you.
    0

Please sign in to leave a comment.