Title: qmail with clamav and spamassassin

Hi,

I wanna integrate clamav and spamassasin with qmail myself because I didn't like the way that qscanq and qsheff does...

I wrote a C code for spamassassin, forking a spamc child which requests to spamd and sends the result to the father that has made an exec(qmail-queue), so the system runs quite well like that:

 input(e-mail) ----->  spamassassin --p-i--p--e---- qmail-queue


In order to integrate that to clamav, i need a mode of clamav which accepts the e-mail from stdin and if e-mail is not infected send stdin directly to output. In fact i found :

virus01 deneme #  "echo "0923809875983275984593287" | clamdscan - "
stream: OK

----------- SCAN SUMMARY -----------
Infected files: 0
Time: 0.001 sec (0 m 0 s)


But the input is lost !!!

How can i get the input? Is this in development? If no, do you interest if i try to integrate it in clamav?

thanx,

Derya
Istanbul







DISCLAIMER:


Bu e-posta mesaji ve ekleri sadece gonderildigi kisi veya kuruma ozeldir. Eger dogru kisiye ulasmadigini dusunuyorsaniz, bu mesajin yonlendirilmesi, kopyalanmasi veya herhangi bir sekilde kullanilmasi yasaktir.Mesaj iceriginde bulunan fikir ve yorumlar, SUPERONLINE'a degil sadece gondericiye aittir. Bu mesaj bilinen tum viruslere karsi taranmistir.

This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient you are hereby notified that any dissemination, copying or use of the information is prohibited. The opinions expressed in this message belong to sender alone. There is no implied endorsment by SUPERONLINE. This e-mail has been scanned for all known computer viruses.

_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to