Gentoo Archives: gentoo-user

From: Ow Mun Heng <Ow.Mun.Heng@×××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Thunderbird, clamscan, mbox-maildir
Date: Fri, 02 Sep 2005 09:31:55
Message-Id: 1125649911.3359.12.camel@neuromancer.home.net
In Reply to: [gentoo-user] Thunderbird, clamscan, mbox-maildir by PaulNM
1 On Fri, 2005-09-02 at 02:27 -0400, PaulNM wrote:
2 > Hi all,
3 >
4 > Recently I've been messing around with clamscan on my system and
5 > checking all my files. Anyway, clamscan found some things in my
6 > thunderbird files.
7 >
8
9 Try this.
10
11 #formail < evilmailbox -s thescript.sh > nicemailbox
12
13 #!/bin/bash
14 TEMP=`mktemp`
15 cat > $TEMP
16 clamscan --quiet --unzip --mbox $TEMP
17 if [ $? == 0 ]; then
18 cat $TEMP
19 fi
20 rm $TEMP
21
22 Then DIff the file :-)
23
24
25
26 > Any ideas?
27 > ,
28 > PaulNM
29 >
30
31 --
32 Ow Mun Heng
33 Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
34 98% Microsoft(tm) Free!!
35 Neuromancer 16:23:58 up 18:23, 7 users, load average: 1.11, 0.94, 0.74
36
37
38 --
39 gentoo-user@g.o mailing list