[Mimedefang] Body Content Filtering

Fred Felgenhauer fred at fredf.com
Mon Aug 18 12:05:01 EDT 2003


I have searched the list to no avail. I need to search outgoing mail bodies
for a certain keyword.
I have tried this:

open (IN, "./INPUTMSG") || die "Error opening input message";
	while (<IN>) {
	  chop();
	  if (/pattern-to-look-for-in-each-line/) {
	    # do something
	  }
	}
	close(IN);

This works great, but when it comes to Base64 encoded messages, I cannot
find enough info to be able to do it.
Can anyone help?



***************************************************************************
This e-mail message and any attachments are confidential and are intended
solely for the use of the individual to whom they are addressed.  If you
are not the intended recipient or the person responsible for delivering the
e-mail to the intended recipient, be aware that any disclosure, copying,
distribution or use of this e-mail or any attachment is prohibited.  If
you have received this e-mail in error, please notify us immediately by
returning it to the sender.  Thank you for your cooperation.
***************************************************************************
 


More information about the MIMEDefang mailing list