The UNIX Forums  

Go Back   The UNIX Forums > Top Forums > UNIX for Dummies Questions & Answers > Answers to Frequently Asked Questions > Email Antispam Techniques and Email Filtering
Google UNIX.COM
Home Forums Register Rules & FAQ Members List Arcade Search Today's Posts Mark Forums Read


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


Other UNIX.COM Threads You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Unsubscribe andyblaylock Post Here to Contact Site Administrators and Moderators 3 11-28-2007 05:19 AM
procmail code help Hexabah UNIX for Dummies Questions & Answers 0 08-30-2006 07:05 PM
Procmail recipe doesn't stop elmonty UNIX for Dummies Questions & Answers 18 02-03-2005 07:16 PM
Procmail recipe: From "number spam" Neo Email Antispam Techniques and Email Filtering 0 02-23-2003 07:10 PM
Procmail filter luiz_fer10 UNIX for Dummies Questions & Answers 1 06-14-2002 12:33 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-17-2003
Neo's Avatar
Neo Neo is offline
Administrator
 
Join Date: Sep 2000
Location: Asia Pacific
Posts: 3,950
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
Procmail recipe: blocking 'unsubscribe and opt-out' messages....

Here is a crude procmail recipe that I quickly created (NOT a procmail recipe expert, btw) that has been catching lots of spam (current second after the charset_spam recipe posted earlier):

Code:
:0B
* .*If.you.do.not.wish.to.receive.[further|additional].[email|mailings].*
more_spam

:0B
* You.requested.to.receive.this.mailing
more_spam

:0B
* [Uu]nsubscribe|[Oo][Pp][Tt]-[Oo][Uu][Tt]|[Rr]emoved
* [Cc]lick [Hh]ere
* HTML
more_spam
OBTW, I think I read somewhere that procmail is not case sensitive within regular expressions and I've tested this and it seems they are not. So, the above can be simplified to:

Code:
:0B
* Unsubscribe|Opt-Out|Removed
* Click Here
* HTML
more_spam
Reply With Quote
Google UNIX.COM
Forum Sponsor
Reply



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 11:16 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
UNIX Forum Content Copyright ©1993-2008 SilkRoad Asia All Rights Reserved -Ad Management by RedTyger

Search Engine Optimization by vBSEO 3.1.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