[Mimedefang] Filtering Based On Header Info / Adding To Examples & Docs
    Jeffrey Thompson 
    jeffrey at thompsonic.com
       
    Wed Mar 13 14:33:39 EST 2002
    
    
  
Hello Kind Mimedefangers  :-)
I'm looking to bounce some email from a porn mailing list coming from
Yahoo (that my friend has tried to be removed from without any success).
I would like to identify the message to block based on a string in the
header (any match on: beleskari anywhere in the header).  Is the best
thing to do:
---------------------
open (IN, "<./HEADERS");
while(<IN>) {
   if(/beleskari/i) {
      action_bounce("Porn not welcome here");
   }
}
close(IN);
---------------------
If that's the best way?  If so then maybe we need to start adding to the
examples directory for particular purposes like this :-)
Adding such modifications / recipies / customizations to the
documentation would be helpful as well.  It would enable newbies (like
me) to easily customize the program for my needs by providing a little
guidance as "best ways" to do particular things.
I could start a web page to support and document this if you'd like.
Jeffrey Thompson
President
Thompson Internet Communications, Inc.
http://www.thompsonic.com
    
    
More information about the MIMEDefang
mailing list