Linux SoftwareCommunicationsEmail FiltersphPOP3clean 0.9.14

phPOP3clean 0.9.14


phPOP3clean is a PHP-based POP3 email scanner
Developer:   James Heinrich
      more software by author →
Price:  0.00
License:   GPL (GNU General Public License)
File size:   0K
Language:   
OS:   
Rating:   3 /5 (10 votes)
Your vote:  
enlarge screenshot


phPOP3clean is a PHP-based POP3 email scanner. phPOP3clean is designed to be run as a cron job every minute or so, and to catch & delete several types of unwanted emails:

a) malformed emails - incomplete or malformed headers, which cause some POP3 servers to drop connection when the message is retrieved

b) email worms - attached executable files matched against database of known variant, including matching variable-length files or files with internal random bytes (such as the currently-popular Netsky & Beagle variants). Zipped attachments are unzipped and scanned. Password-protected zipped attachments are matched based on deceptive filenames (eg: "readme.txt .exe").

c) image-based spam - attached images are matched against database of known spam images to reject messages containing only an inline attached image (technique of bypassing many spam filters). Images with random bytes appended are also matched.

d) obfuscated word spam - scans message body for obfuscated words, such as "v??qr?" in place of "viagra"

e) blacklisted phrase spam - scans message body for phrases (such as "Securities Exchange Act of 1934" or "forward looking statements", both of which are in most stock-promoting spam). Regular expression matches can be used to match variations.

f) blacklisted source code - scans message source for phrases known to be part of exploits (eg: < script language="JScript.Encode" >)

g) blacklisted Received header - reject messages based on "Received" header contents

h) blacklisted IP spam - scans message contents for links to blacklisted IP ranges (eg: 221.11.133.66/25). Links can be in HTML or plain text, image/iframe src, etc.

i) whitelist - "From" and "Return-Path" headers are scanned to match whitelist to bypass all filtering.

All matching is done against MySQL tables, the contents of which are all user-configurable with included admin interface.

Supported message encodings are: 7-bit, 8-bit, quoted-printable, base64.

Installation:

Unzip to a password-protected directory on your server. For speed reasons it's advisable to run on the same server as the mailserver, but it works over POP3 so you can run poPOP3clean on any webserver and scan accounts on any other server(s). After you've configured phPOP3clean, schedule it to run as a cron job every few minutes (every minute is ideal, if your server can handle the load). The cron job may look something like this:

lynx -dump -auth=user:pass http://example.com/admin/phPOP3clean.php

where user:pass is the .htaccess username/password required to access that directory. phPOP3clean normally outputs nothing during its run, but if you want to see the status messages you can access

http://example.com/admin/phPOP3clean.php?show=1

in your browser and you can see what phPOP3clean is doing.

There are some values you must modify in phPOP3clean.config.php -- take a look at that file and it should be pretty self-explanatory.

To create the MySQL tables required by phPOP3clean, simply run phPOP3clean.install.php and the tables will be created if required. Any changes to the table structures required by future versions will be handled by this file, so run this again after upgrading to a newer version of phPOP3clean.

A "quarantine" folder PHPOP3CLEAN_QUARANTINE (default is /phpop3clean/ below installation directory) and within that a new directory is created each month where the deleted emails are stored (gzipped). This allows you to review deleted emails from the admin interface. You will need to manually clean up these directories as the months go by.

What's New in This Release:
  • Please re-run phPOP3clean.install.php
  • Default directory structure has changed significantly in this version. phPOP3clean.admin.php is to be placed in a public- accessible directory (eg webroot) and the rest of the files are in secured (eg .htaccess) subdirectory "phPOP3clean"
  • Added login system requiring valid login before allowing access to phPOP3clean.admin.php -- set PHPOP3CLEAN_ADMINPASS in phPOP3clean.config.php for full admin access. User-level access is granted with email + POP3password
  • [#1596198] Config variable to set 'waiting-period'
  • Added PHPOP3CLEAN_INTERSCAN_WAIT_PERIOD
  • [#1595680] Whitelist emails can now be partial (eg domain only) to match eg: @example.com
  • [#1596705] Easy access to whitelist emails from recent list
  • [#1596704] Add multiple emails to whitelist at once
  • Much faster at skipping previously-scanned emails
  • Added PHPOP3CLEAN_CONFIG_VERSION to phpThumb.config.php to check for out-of-date config files
  • Added PHPOP3CLEAN_HIDE_PASSWORDS to phpThumb.config.php
  • Auto-ban domains admin now sortable
  • Bugfix: [#1598359] magic_quotes_gpc now handled properly
  • Bugfix: [#1595837] "Spam Assassin filter not working" (thanks jrf?users*sourceforge*net)
  • Bugfix: `lasthit` missing from email whitelist (thanks jrf?users*sourceforge*net)
  • Bugfix: several HTML issues in admin screens (thanks jrf?users*sourceforge*net)
  • Bugfix: multipart-inside-multipart messages were not being handled correctly
  • Bugfix: `phpop3clean_domain_hits` wasn't being pruned correctly
  • Bugfix: HTML attachments with incorrect MIME types (eg application/octet-stream) were not being parsed for URLs
  • Bugfix: failed to parse some multipart/alternative sections
  • Many unitialized/non-disposed variables fixed (thanks jrf?users*sourceforge*net)
    tags thanks jrf  config php  jrf users*sourceforge*net  scans message  spam scans  users*sourceforge*net bugfix  you can  added phpop3clean  phpop3clean config  cron job  phpop3clean php  install php  phpop3clean install  

    Download phPOP3clean 0.9.14


     http://sourceforge.net/project/showfiles.php?group_id=131372


    Authors software

    Similar software

    phPOP3clean 0.9.14 (by James Heinrich)
    phPOP3clean is a PHP-based POP3 email scanner

    Template::Tutorial 2.15 (by Andy Wardley)
    Template::Tutorial are template toolkit tutorials.

    This section includes tutorials on using the Template Toolkit

    SpamProbe 1.4b (by Brian Burton)
    SpamProbe operates on a different basis entirely

    Pop3eye 0.7.1 (by Brian Moats)
    Pop3eye is a pop3 email notifier, previewer and spam deleter

    ezUserManager 1.8.0 (by Sven-Ove Bjerkan)
    ezUserManager is a script that allows administration of .htpasswd files or the use of Web-based login.

    It features a signup form,

    ASK - Active Spam Killer 2.4.1 (by Marco Paganini)
    ASK is a spam killer

    Quick Spam Filter 1.2.1 (by Andrew Wood)
    Quick Spam Filter (QSF) is an Open Source email classification filter

    Sendmail filter for SpamAssassin 1.3.0 (by Eugene Kurmanin)
    smf-spamd is a Sendmail filter for SpamAssassin

    Surblhost 0.6.2 (by C.S.Larsen)

    eCorrei 1.2.5 (by gummientchen)
    eCorrei is a webmail system


    Other software in this category

    TclMilter 1.0 (by Michael Kirkham)
    TclMilter is a package for Tcl (written in C) that implements an interface to SendMail's Milter (Mail Filter) API for developing cust

    avelsieve 1.9.7 (by Alexandros Vellis)
    Avelsieve or, verbosely, "SIEVE Mail Filters Plugin for Squirrelmail" is a Squirrelmail plugin for creating SIEVE scripts on a Cyrus

    t-prot 2.2 (by Jochen Striepe)
    t-prot (TOFU Protection) is a filter which improves the readability of email messages and Usenet posts by hiding some of their annoyi

    smf-zombie 1.0.0 (by Eugene Kurmanin)
    smf-zombie is a SendmailTM filter for SPAM and virus filtration from zombie PC.
    More than 80% of SPAM is going from the infected Wi

    OpenProtect 5.0.4 (by OpenComputing)

  •     search


    Featured Software

    jEdit 4.3 pre8
    jEdit is an Open Source text editor written in Java

    Opera 9.02
    Surf the Internet in a safer, faster, and easier way with Opera browser

    GNU Aspell 0.60.4
    GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


    Subscribe in Rojo
    Google Reader
    Add to My Yahoo!

    Add to My AOL
    Subscribe with Bloglines
    Subscribe in NewsGator Online
    Add 'nixbit linux software' to Newsburst from CNET News.com
    del.icio.us nixbit linux software


    Top tags