[Avcheck] infected is sick?
Juri Haberland
Juri Haberland <juri@koschikode.com>
Wed, 28 Nov 2001 20:51:28 +0000 (UTC)
Len Conrad <LConrad@go2france.com> wrote:
>
>>Well, I have avcheck-0.5 running and I have the parameters set as you, but
>>it works like it should:
>
> ah, I run 0.6.
>
>>Sender and recipient get a mail with the headers and the admin gets the
>>full message. I didn't alter anything else in the script besides the
>>admin mail address. Did you copy on of the infected.ex2.XX scripts into
>>your avp-dir or do you use infected.ex1?
>
> infected.ex2.en was the recommendation in the avcheck doc, so I used that
> for "infected".
OK, I found the bug. It's in the template for the infected files:
--- ex2/template.org Wed Nov 28 21:38:15 2001
+++ ex2/template Wed Nov 28 21:39:00 2001
@@ -148,7 +148,7 @@
Content-Description: Infected message
Content-Disposition: attachtment
"
- cat "$MAIL"
+ sed '/^$/q' "$MAIL"
echo "
--$boundary--"
) | $SENDMAIL -f "" -- "$SENDER"
Actually I tested avcheck with version 0.3 and shortly before I put my
machine into production I updated avcheck and gave it only a short test
again. Obviously I didn't gave a close enough look to the generated
messages this time :(
Oh well,
Juri
--
Juri Haberland <juri@koschikode.com>