Take a look at:
http://satan.oih.rwth-aachen.de/AMaViS/
might help...
I looked at it a few months ago and it would only scan mails that
were being locally delivered (or was it relayed mails only ?).
Anyway, they've prob done some more work on it since so it might
do what you're looking for. There's been a few other attempts at
this but that's the most functional that I've come across to date.
ymmv ('n all that..)
Dave
)
) 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
)
)
)
) --
) Irish Linux Users' Group: ilug at linux.ie
) http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.
) List maintainer: listmaster at linux.ie
)
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!