On Wed, 7 Apr 2004 01:57:23 +0200 Przemyslaw Wegrzyn <[EMAIL PROTECTED]> wrote:
> Hi! > > I'm about to include clamavis support in our very simple mail scanner. > My first idea was to use libclamav for that, however my filter will be > > integrated with our mail server in the way that it will be spawned for > each mail. > > For obvious performance reason I'd like to use clamd, but I've found > that libclamav is actually a full scanner, with no "thin client" > possibilities. > > Thus I have following options: > > a) write my own daemon which uses libcalamav, and a client for it, all > using custom protocol (don't write me to use amavisd - we have some > specific requirements) > > b) use clamdscan via forking and pipe > > c) write a client for clamd protocol, basing on clamdscan sources > > I don't like a) for effort amounts, b) is a bit ugly IMHO, c) depends > on a protocol that can be a subject to change . > > Which solution would you suggest ? For a "very simple mail scanner" the (b) solution seems to be the best IMHO. -- oo ..... Tomasz Kojm <[EMAIL PROTECTED]> (\/)\......... http://www.ClamAV.net/gpg/tkojm.gpg \..........._ 0DCA5A08407D5288279DB43454822DC8985A444B //\ /\ Thu Apr 8 02:05:53 CEST 2004
pgp00000.pgp
Description: PGP signature
