The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Only U.S. Email?

Discussion in 'E-mail Discussions' started by scwood, Oct 11, 2007.

  1. scwood

    scwood Registered

    Joined:
    May 31, 2002
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    This may be a stupid question, but is there any way to set email filters so a server will only accept email originating from the U.S.?
     
  2. bhd

    bhd Well-Known Member

    Joined:
    Sep 20, 2003
    Messages:
    149
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    JNB ZA
    cPanel Access Level:
    Root Administrator
    Not likely. You would need to get a geo-location database and write your own code. You can get many free ones - google "geo-ip database".

    However, it is unlikely to work reliably. Especially with webmail from places like hotmail, yahoo, google etc because the sender can be anywhere but the originating IP address will always be in the US anyway which kind of defeats the whole purpose.
     
  3. nyjimbo

    nyjimbo Well-Known Member

    Joined:
    Jan 25, 2003
    Messages:
    1,125
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    New York
    If spam is the reason I wouldnt try to isolate yourself to just US mail, rather look for the most offending IP ranges and top level domains. We were getting a incredible amount of spam from just a few countries and a few /16 addresses ranges and cutting those out dropped spam tremendously.
     
Loading...

Share This Page