public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Thunderbird, clamscan, mbox-maildir
@ 2005-09-02  6:27 PaulNM
  2005-09-02  8:31 ` Ow Mun Heng
  0 siblings, 1 reply; 2+ messages in thread
From: PaulNM @ 2005-09-02  6:27 UTC (permalink / raw
  To: gentoo-user

Hi all,

	Recently I've been messing around with clamscan on my system and 
checking all my files.  Anyway, clamscan found some things in my 
thunderbird files.

Thunderbird currently uses mbox format for storing emails.  The clamscan 
info I've read says it stops at the first positive hit in an mbox file. 
  The only way to find which email, and all the emails, is by converting 
(a copy) to maildir format. Then I can scan that, then delete the 
offending email from the mbox file from within thunderbird.

So far I've found mb2md (http://batleth.sapienti-sat.org/projects/mb2md/)
which returns:
paul@Robotech ~/mboxwork $ ./mb2md-3.20.pl -s Inbox
Fatal: Source is not an mbox file or a directory!

Using less verifies that it is the actual mailbox. I've tried renaming 
to Inbox.mbx, even making a copy of the entire tree and working inside 
that.  I still get the same message.

Any ideas?
	,
	 PaulNM

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-user] Thunderbird, clamscan, mbox-maildir
  2005-09-02  6:27 [gentoo-user] Thunderbird, clamscan, mbox-maildir PaulNM
@ 2005-09-02  8:31 ` Ow Mun Heng
  0 siblings, 0 replies; 2+ messages in thread
From: Ow Mun Heng @ 2005-09-02  8:31 UTC (permalink / raw
  To: gentoo-user

On Fri, 2005-09-02 at 02:27 -0400, PaulNM wrote:
> Hi all,
> 
> 	Recently I've been messing around with clamscan on my system and 
> checking all my files.  Anyway, clamscan found some things in my 
> thunderbird files.
> 

Try this. 

#formail < evilmailbox -s thescript.sh > nicemailbox

#!/bin/bash
TEMP=`mktemp`
cat > $TEMP
clamscan --quiet --unzip --mbox $TEMP 
if [ $? == 0 ]; then
  cat $TEMP
fi
rm $TEMP

Then DIff the file :-)



> Any ideas?
> 	,
> 	 PaulNM
> 

-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 16:23:58 up 18:23, 7 users, load average: 1.11, 0.94, 0.74 


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-09-02  9:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-02  6:27 [gentoo-user] Thunderbird, clamscan, mbox-maildir PaulNM
2005-09-02  8:31 ` Ow Mun Heng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox