keldorn Posted December 10, 2009 Share Posted December 10, 2009 I'm looking to reject on port 25 on my server all mail that doesn't orginate from United States, since the U.S has CAN-Spam law from the Federal Trade commission , most mail from there is now safe, quite frankly I'm sick of the bullshit emails that are piling up in my inboxes. I just cleared out 42 Thousand emails on my server, looking at the headers of good dozen or so of them, they all come from France, poland, United Kingdom, and some other places. How can this be done? Quote Link to comment https://forums.phpfreaks.com/topic/184671-block-non-us-email/ Share on other sites More sharing options...
cags Posted December 10, 2009 Share Posted December 10, 2009 Since any kind of identifying information can be spoofed, I wouldn't of thought you could, or at least not with any high degree of success. Quote Link to comment https://forums.phpfreaks.com/topic/184671-block-non-us-email/#findComment-974971 Share on other sites More sharing options...
keldorn Posted December 10, 2009 Author Share Posted December 10, 2009 Since any kind of identifying information can be spoofed, I wouldn't of thought you could, or at least not with any high degree of success. Doesn't the smtp have to do a connection handshake? You can't spoof an IP if a handshake is required. Quote Link to comment https://forums.phpfreaks.com/topic/184671-block-non-us-email/#findComment-974980 Share on other sites More sharing options...
448191 Posted December 10, 2009 Share Posted December 10, 2009 United States of the Internet? Meh, I wasn't planning on mailing you anyway. The Viagra ran out. Quote Link to comment https://forums.phpfreaks.com/topic/184671-block-non-us-email/#findComment-975030 Share on other sites More sharing options...
Mchl Posted December 10, 2009 Share Posted December 10, 2009 I'm never talking to you again. I blocked myself for you Quote Link to comment https://forums.phpfreaks.com/topic/184671-block-non-us-email/#findComment-975037 Share on other sites More sharing options...
JonnoTheDev Posted December 11, 2009 Share Posted December 11, 2009 I'm looking to reject on port 25 on my server all mail that doesn't orginate from United States Click on Start >> Settings >> Control Panel >> Regional Options Where you see the list under Location, select: Afganistan That should do it. Quote Link to comment https://forums.phpfreaks.com/topic/184671-block-non-us-email/#findComment-975339 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.