The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers > Answers to Frequently Asked Questions > Email Antispam Techniques and Email Filtering
Google UNIX.COM


Email Antispam Techniques and Email Filtering Techniques Q&A and Procmail recipes for fighting spam.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
blocking sendmail from domain legato UNIX for Advanced & Expert Users 0 10-12-2006 02:05 AM
blocking DHCP byblyk IP Networking 2 03-15-2005 08:06 PM
blocking domains tamemi UNIX for Dummies Questions & Answers 1 04-16-2003 04:13 AM
access file for sendmail liyas UNIX for Dummies Questions & Answers 3 10-11-2001 07:10 PM
blocking mail using sendmail liyas UNIX for Dummies Questions & Answers 4 10-09-2001 07:53 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-16-2003
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,085
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Sendmail Access DB TLD Blocking ....

Now this is a bit tricky, but works great if you can decide which Top Level Domains or TLDs you want to receive mail We are getting so much spam from countries we never receive useful mail, I've been experimenting with blocking entire TLDs using sendmail access_db as an antispam technique.

Here is my current list, working great... yes I might miss a good one, but it blocks SO MUCH junk :

Code:
ad      REJECT
ae      REJECT
af      REJECT
al      REJECT
ar      REJECT
ao      REJECT
az      REJECT
ba      REJECT
bb      REJECT
bd      REJECT
bg      REJECT
bi      REJECT
bh      REJECT
bj      REJECT
bt      REJECT
bw      REJECT
by      REJECT
cf      REJECT
cg      REJECT
ch      REJECT
ci      REJECT
cm      REJECT
cn      REJECT
cs      REJECT
cy      REJECT
cz      REJECT
dz      REJECT
ee      REJECT
eg      REJECT
eh      REJECT
er      REJECT
et      REJECT
ga      REJECT
ge      REJECT
gf      REJECT
gh      REJECT
gm      REJECT
gn      REJECT
gp      REJECT
gq      REJECT
gw      REJECT
gy      REJECT
hr      REJECT
ht      REJECT
hu      REJECT
id      REJECT
iq      REJECT
ir      REJECT
jm      REJECT
jo      REJECT
ke      REJECT
kg      REJECT
ki      REJECT
kp      REJECT
kr      REJECT
kw      REJECT
lb      REJECT
li      REJECT
lr      REJECT
ls      REJECT
lt      REJECT
lv      REJECT
ly      REJECT
ma      REJECT
md      REJECT
mg      REJECT
mk      REJECT
mn      REJECT
mr      REJECT
ms      REJECT
mt      REJECT
mu      REJECT
mv      REJECT
mw      REJECT
mx      REJECT
my      REJECT
mz      REJECT
na      REJECT
ne      REJECT
ng      REJECT
ni      REJECT
om      REJECT
pa      REJECT
pe      REJECT
pf      REJECT
pg      REJECT
pk      REJECT
pl      REJECT
pn      REJECT
pr      REJECT
pt      REJECT
py      REJECT
qa      REJECT
ro      REJECT
ru      REJECT
rw      REJECT
sa      REJECT
sb      REJECT
sc      REJECT
sd      REJECT
si      REJECT
sk      REJECT
sn      REJECT
so      REJECT
sr      REJECT
su      REJECT
sv      REJECT
sy      REJECT
sz      REJECT
td      REJECT
tg      REJECT
tj      REJECT
tk      REJECT
tm      REJECT
tn      REJECT
to      REJECT
tp      REJECT
tr      REJECT
tt      REJECT
tu      REJECT
tv      REJECT
tw      REJECT
tz      REJECT
ug      REJECT
uy      REJECT
uz      REJECT
ve      REJECT
ws      REJECT
ye      REJECT
yu      REJECT
za      REJECT
zm      REJECT
zr      REJECT
zw      REJECT
Combining this TLD blocking with Procmail charset filters has cut my spam down to fraction of what it was.......
Reply With Quote
Google UNIX.COM
Forum Sponsor
Reply

Thread Tools
Display Modes


The 50 most popular UNIX and Linux searches.
Google Search Cloud for The UNIX and Linux Forums
"inappropriate ioctl for device" 421 service not available, remote server has closed connection ^m ascii eof autosys awk trim bash eval bash exec bash for loop bash subroutine boot: cannot open kernel/sparcv9/unix close_wait curses.h dead.letter find grep grep multiple lines grep or grep recursive grep unique inappropriate ioctl for device logrotate.conf lynx javascript mailx attachment make: fatal error: command failed for target `all-recursive' mget mtime perl array length ping port read awk output into multiple variables replace space by comma , perl script scp recursive segmentation fault(coredump) sftp batch sftp script snoop unix stale nfs file handle syn_sent tar exclude unix unix .profile unix com unix for loop unix forum unix forums unix interview questions unix memory usage unix mtime unix simulator unix.com while loop within while loop shell script


All times are GMT -7. The time now is 05:18 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102