Skip to main content

Filter Incoming Emails by Country - does not work

Comments

6 comments

  • keat63
    The TLD .CO doesn't neccesarily mean that the email originated from Columbia. I'm going the guess that 'Block by country' will be based on the sending IP address and not the domain name.
    0
  • hub2000
    Hello, ok, this makes sense. Is there an easy way to block by TLD name? Can it be achievbed with the "Global emai filters" in cpanel?
    0
  • keat63
    You could try a global filter 'If From ends with' RFC compliance says that you really should 'fail with message', but personally I would 'discard message' with no failure notice. Do you have CSF firewall configured. If so, can you indentify a pattern with the sending IP's, and block them there.?
    0
  • nixuser
    You can block them using an exim system filter in the server. For a particular account, it could be achieved through global filters or spamassassin block list, try adding something like *@*.co in the blocked list.
    0
  • hub2000
    You could try a global filter 'If From ends with' RFC compliance says that you really should 'fail with message', but personally I would 'discard message' with no failure notice. Do you have CSF firewall configured. If so, can you indentify a pattern with the sending IP's, and block them there.?

    ...this does not work....as you can see trying now the Spam filters / Black List Setting with *@*.co
    0
  • keat63
    I guess it's possible that the return address as per your image is not the actual sending address, so maybe also try adding ' if reply ends with'
    0

Please sign in to leave a comment.