[ILUG] Anti-virus filters and sendmail

From: Kenn Humborg (kenn at domain bluetree.ie)
Date: Tue 12 Oct 1999 - 14:29:12 IST


I've thought about this for a while and no simple solution
popped up...

I'd like to run _every_ message that goes through sendmail
on a particular machine to be virus scanned. Network Associates
have a Linux version of their scanner that will do the anti-virus
part, but there are two remaining steps:

1. A script to break apart a message's body and attachments
   and scan each part.
2. Sendmail rules/patches to send each message off for scanning.

I'm sure some Perl hacker here can do number 1 in their sleep.

But what's the best way to do number 2? Does 8.9.x have
provisions for running arbitrary programs over messages?

Could I direct all incoming messages to a custom mailer that would
do the scan and submit the message back to sendmail (perhaps
using a different .cf file) and send it on it's merry way. I'm afraid that
this might lose envelope information.

Has anyone here done anything like this?

Later,
Kenn



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:43 GMT