On Wed, 23 Jul 2008 20:10:21 -0400 "Chris Lewis" <[EMAIL PROTECTED]> wrote:
> Hanno Hecker wrote: > > On Wed, 23 Jul 2008 15:42:21 -0400 > > "Chris Lewis" <[EMAIL PROTECTED]> wrote: > >> If you take the "standard" ClamAV test executable (clam.exe), attach it > >> to an email (I'm using swaks for testing) and send it thru qpsmtpd, the > >> clamdscan plugin doesn't catch it. [...] Works here without any problems without size_threshold and even with a size_threshold of 100000000. (ClamAV 0.93.1/7810/Thu Jul 24 12:54:32 2008) > >> Is there a quick way of doing this other than creating a new file, > >> writing header->as_string and the body before stuffing in the clamd socket? > > Are you talking about clamscan or clamdscan? Clamdscan is just given > > the filename of the spool file, while clamscan is fed by qpsmtpd. > > clamdscan. $transaction->body_filename doesn't seem to have the headers. It does. There's everything received by the client. Hanno