Ah. Found something that will help anyway: reformime from the maildrop
package. (Referenced on the amavis page, which I started looking at
after Tomasz's email.)

  % cat msg | reformime
  1
  1.1
  1.2

So there are 2 attachments. Check each one:

  % cat msg | reformime -e -s 1.1 | clamscan -
  <snip>
  % cat msg | reformime -e -s 1.2 | clamscan -
  <snip>

Also, 'reformime -i' gives info about the contents of each attachment,
so one could be more selective in what gets piped to clamscan.

Not perfect, but do-able.



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to