Timo Sirainen wrote:
On 11.3.2007, at 23.55, Chris Wakelin wrote:
OK that fixed it. I tried running imaptest (something like "imaptest user=username pass=password host=host.rdg.ac.uk port=5143 seed=6630 mbox=/export/mail/username/INBOX") for 300 seconds, but got .. Panic: From-line not found at 8199 Abort (core dumped)
What is at offset 8199? (dd if=file bs=1 skip=8199)
Anyway the imaptest's mbox parsing code isn't that great. Try giving it a better mbox, such as http://dovecot.org/archives/dovecot.mbox :)
I think it was because my "mbox" was the INBOX so source and destination were the same! It hasn't crashed yet with a copy of dovecot.mbox as the source (though it does generate STORE commands with arguments that are too long).
Chris
-- --+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+- Christopher Wakelin, c.d.wakelin@reading.ac.uk IT Services Centre, The University of Reading, Tel: +44 (0)118 378 8439 Whiteknights, Reading, RG6 2AF, UK Fax: +44 (0)118 975 3094