Skip to main content

How to block SMTP for some countries ?

Comments

3 comments

  • keat63
    I guess you could add country codes in CSF, however this would block the whole of china. Or another way, if you have an indication as the where the hackers are coming from, add the octets in Deny IP list. Maybe something like xxx.xxx.0.0/16 However, i'm still learning, so don't take my word for it.
    0
  • Novisoft
    Hi Keat63 and thank you for your answer. I just want to block email sending from those countries, not whole trafic. I am not sure, but I think I'll have to setup a deny per country rule on Exim itself, if this is possible of course.
    0
  • cPanelMichael
    Hello :) You may find this thread helpful: Any way to block Romaina from logging into Exim? Thank you.
    0

Please sign in to leave a comment.