Mailing List Archive

The Mystery of the Duplicating Maidir2mbox
Please help me. I am drawning.

Steps:

1. grep -h 'Message-ID:' ~/Maildir/new/* | wc -l
Produced: 396 - all unique, nice and clean.

2. du -s ~/Maildir/new
Produced: 1407 /home/Staff/Shimon/Mailbox


2. ls -al ~/Mailbox
Produced: ls: Mailbox: No such file or directory

3. export MAILDIR=${HOME}/Maildir
export MAILTMP=${HOME}/Mailtmp
export MAIL=${HOME}/Mailbox

/var/qmail/bin/maildir2mbox
ls -al Mailbox
Produced: -rw------- 1 shimon staff 62364156 Feb 5 22:24 Mailbox

4. grep -h '^Message-ID:' Mailbox | sort | wc -l
Produced: 6586

... And here is a partial quote from the last grep:

Message-ID: <9702050957.aa26674@rdstasks.com>
Message-ID: <9702050957.aa26674@rdstasks.com>
Message-ID: <9702050957.aa26674@rdstasks.com>
Message-ID: <9702050957.aa26674@rdstasks.com>
Message-ID: <9702050957.aa26674@rdstasks.com>
Message-ID: <9702050957.aa26674@rdstasks.com>
Message-ID: <9702050957.aa26674@rdstasks.com>
Message-ID: <"bQlfR3.0.Sx1.yOtzo"@master.debian.org>
Message-ID: <"bQlfR3.0.Sx1.yOtzo"@master.debian.org>
Message-ID: <"bQlfR3.0.Sx1.yOtzo"@master.debian.org>
Message-ID: <"bQlfR3.0.Sx1.yOtzo"@master.debian.org>
Message-ID: <"bQlfR3.0.Sx1.yOtzo"@master.debian.org>
Message-ID: <"bQlfR3.0.Sx1.yOtzo"@master.debian.org>
Message-ID: <"bQlfR3.0.Sx1.yOtzo"@master.debian.org>
Message-ID: <"bQlfR3.0.Sx1.yOtzo"@master.debian.org>
Message-ID: <"bQlfR3.0.Sx1.yOtzo"@master.debian.org>
Message-ID: <"bQlfR3.0.Sx1.yOtzo"@master.debian.org>
Message-ID: <"bQlfR3.0.Sx1.yOtzo"@master.debian.org>
Message-ID: <"bQlfR3.0.Sx1.yOtzo"@master.debian.org>
Message-ID: <"bQlfR3.0.Sx1.yOtzo"@master.debian.org>
Message-ID: <"bQlfR3.0.Sx1.yOtzo"@master.debian.org>
Message-ID: <0.5441901@softarc.com>
Message-ID: <01BC1207.9F1D4D60@creek.creekelectric.com>
Message-ID: <01BC1207.9F1D4D60@creek.creekelectric.com>
Message-ID: <01BC1207.9F1D4D60@creek.creekelectric.com>
...

My questions to y'all is:

1. How come I am getting about 5 times as many messages
in the Mailbox than were in the Maildir?

2. Why are some messages duplicated 7 times, some not at all, some
14 times, some 9 times, etc. ?

3. What can I do to stop all this?

Background:

Linux 2.0.27 kernel on a Debian 1.1 (or some such)
Qmail 0.95
and here is my .qmail

-r-------- 1 shimon staff 246 Feb 5 10:58 .qmail

/home/staff/Shimon/Maildir/
|/var/qmail/bin/qreceipt shimon@i-Connect.Net
|/var/qmail/bin/qreceipt shimon@debian.org
|/var/qmail/bin/qreceipt shimon@master.debian.org
|/var/qmail/bin/qreceipt shimon@Bullet-Tech.com

A Possible Clue: I tried to duplicate this problem by taking the
whole maildir aside (i.e. renaming it, etc. the problem does not
replicate!
My maildir is rather busy with about 200 messages/hour (it is a
``hub'' for many mailing lists). A race condition?

Any help will be greatly appreciated.

Thanx!

Simon

P.S; If possible, CC me as this problem overflows my mh folders and
the qmail mailing list folder grows by about 1,000 messages/day.
I am losing messages this way... :-(

Simon