1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Ban email domains?

Discussion in 'XenForo Questions and Support' started by Rho Delta, Dec 19, 2012.

  1. Rho Delta

    Rho Delta Well-Known Member

    Is there a way to ban email domains? Even with custom img captcha a few are getting through again. Is there a way to ban all .ru domains from registering? Everyone in my niche is American, I do not want anyone without an American email address registering.
  2. Jeremy P

    Jeremy P Well-Known Member

    Admin Control Panel -> Users -> Banned Email Addresses:
    Valter, radu81, A.Chakery and 2 others like this.
  3. Mike Edge

    Mike Edge Formerly Da Bookie Mon

    If you want only American's on your site, why not just block all non-US traffic in your firewall. That would stop bots and spammers even reaching your site freeing up load and bandwidth from users you have no desire for in the 1st place.
  4. Luis

    Luis Well-Known Member

    Akela likes this.
  5. Rho Delta

    Rho Delta Well-Known Member

    This is an excellent idea, I just have absolutely no idea how to do this. Also we have some GIs in Afganistan that I would want to be able to post.
  6. Mike Edge

    Mike Edge Formerly Da Bookie Mon

    Do you have root access? In CSF config find CC_ALLOW_FILTER

    # An alternative to CC_ALLOW is to only allow access from the following
    # countries but still filter based on the port and packets rules. All other
    # connections are dropped

    Put US and restart CSF. This will now block anyone on a non-US IP. As far as the GI's you can do 1 of 2 ideas. Either take there IP and put them in the IP IGNORE list, this would over ride any firewall block if on that IP or add Afganistan or whatever country the carrier is also to CC_ALLOW_FILTER
  7. fattony69

    fattony69 Well-Known Member

  8. Tealk

    Tealk Active Member

    Last edited: Feb 6, 2017

Share This Page