I've put together a virus filter for courier, based on Sam's
perlfilter-example.pl along the general lines of Jason Haar's
qmail-scanner-queue.pl.  Although it doesn't interface with commercial virus
scanning packages as does Harr's package, it does scan and quarantine email
based on several combinations of regexp matches of headers, attachemnts and
MIME types.  Like qmail-scanner-queue.pl, it identifies viruses using a text
virus definitions file which is easily configured.  The program isn't
terribly sophisticated with regard to identifying addresses associated with
mailing lists, or poking into encoded attachments, but what with the
incredible proliferation of worms and viruses on the Internet these days,
you may find it useful if you administer a courier mail system and virus
attachments are a problem.

I wrote this out of necessity since I'm migrating all may mail management
from an old server running qmail to an new one running courier, and I
couldn't find anything like this.  My customers have come to count on my
keeping this crap out of their mailboxes, and I feared that if I didn't have
something in place, people would assume that if I let it through it must be
safe.  Big potential problem there :-(

The virus filter is at

http://www.fmp.com/downloads/couriervirusfilter-0.2.tar.gz

Comments, suggestions, suggested patches, bug reports are all welcome.

-- 
Lindsay Haisley       | "Everything works    |     PGP public key
FMP Computer Services |       if you let it" |      available at
512-259-1190          |    (The Roadie)      | <http://www.fmp.com/pubkeys>
http://www.fmp.com    |                      |

_______________________________________________________________
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/

_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to