EMailFilter

A customizable e-mail content filter.
Download

EMailFilter Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Publisher Name:
  • Peter A. Donis
  • Publisher web site:
  • Operating Systems:
  • Linux
  • File Size:
  • 29KB

EMailFilter Tags


EMailFilter Description

EMailFilter is a customizable e-mail content filter written in Python. It consists of the following Python modules and shell scripts: EMAILFILTER.PY: the core filter logic; it allows you to add as many Python filtering modules as you want, and will give each filtering module a chance to examine each e-mail message and (possibly) add 'X-' headers to record its findings. EMAILFILTERD.PY: the preferred mode of operation for EMailFilter; it wraps EMAILFILTER.PY in a daemon that listens on a user-specific port (Currently the port number is 5590 + the User ID) and Processes each e-mail message sent to it through that port. EMAILFILTERC.PY: a command-line client program that takes its standard input, sends it through a socket to the daemon on the appropriate port, receives the processed data back, and writes it to standard output. This is not the preferred method of talking to the daemon; see the emailfilterc shell script below. EMAILFILTERDEFS.PY: common definitions for all the above modules. EMAILFILTERD: a shell script to invoke the daemon. EMAILFILTERC: a shell script to invoke the client; it can use emailfilterc.py above if necessary, but this is slow because it requires a new instance of the Python interpreter to be loaded for each e-mail message (the message comes in on standard input and the processed message is written to standard output). The preferred method is to use either the CFilter program (available on SourceForge, see ) as the client (this is done by invoking this script with the -c option) or the "TCP/IP swiss army knife" Netcat program (this is done by invoking the script with either the -n option, if netcat goes by the command name nc, or the -t option if it goes by the command name netcat -- which name it will be depends on which specific flavor of Unix/Linux you are running).


EMailFilter Related Software