In case the bug lies within your client, try this programm to transfer the
mail

http://imapfilter.hellug.gr/ 

It worked well for me..................

(also in transfering directory structure......)

w. k. r.
Fons

-----Original Message-----
From: Bruno Bauer [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 12, 2004 08:01 AM
To: DBMail mailinglist
Subject: Re: [Dbmail] mailbox2dbmail / imapsync

Am Sonntag, 9. Mai 2004 23:03 schrieb Paul J Stevens:
> Sounds like a valid bug to me. Could you perhaps submit the directory 
> layout that triggers this? Perhaps I can reproduce this bug with the 
> imap testsuite I'm constructing, so we can fix this pronto.
>
> [EMAIL PROTECTED] wrote:
> > Hi, friends of dbmail2
> > my installation seems to work fine (debian 2.0-0_20040505-1 from
> > nfgd.org) but I have to move a lot of mailboxes with subdirectories 
> > from courier.
> >
> > mailbox2dbmail works fine for one level, but doesnt transfer my 
> > subdirectories.
> >
> > I used imapsync (http://www.linux-france.org/prj/imapsync/dist/) for 
> > moving from courier to courier(imap). It worked well with perl 
> > Mail-IMAPClient-2.2.9.
> > (http://search.cpan.org/~djkernen/Mail-IMAPClient-2.2.9/)
> >
> > But with dbmail it only works for a while and then skips the rest 
> > with an error (cannot create subdirectory...). Seems to be some sort 
> > of overflow - perhaps because of a wrong delimiter? (/or.or?)
> >
> > Has anyone tried imapsync or something else for a lot of 
> > subdirectories?
> >
> > BB
> > _______________________________________________
> > Dbmail mailing list
> > [email protected]
> > https://mailman.fastxs.nl/mailman/listinfo/dbmail

the command:
[EMAIL PROTECTED]:/home/iglis# imapsync --host1 mail2 --user1 bbb --password1
bbbbb --host2 knop73 --user2 bbb --password2 bbbbb --syncinternaldates
--debugimap > imapsync-log

the log:
$RCSfile: imapsync,v $ $Revision: 1.91 $ $Date: 2004/04/07 18:51:24 $
Mail::IMAPClient version used here is 2.2.9 auth md5 : 1 From imap server
[mail2] port [143] user [bbb]
To   imap server [knop73] port [143] user [bbb]
Auth CRAM-MD5 supported by IMAPClient 2.2.9 From connection Server [mail2]
has NOT capability CRAM-MD5 To  connection Server [knop73] has NOT
capability CRAM-MD5 From software : * OK [CAPABILITY IMAP4rev1 UIDPLUS
CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE]
Courier-IMAP ready. Copyright 1998-2003 Double Precision, Inc.  See COPYING
for distribution information.
To   software : * OK dbmail imap (protocol version 4r1) server 2.0 ready to 
run
>From capability : QUOTA NAMESPACE IDLE THREAD=ORDEREDSUBJECT SORT UIDPLUS
CHILDREN IMAP4REV1 THREAD=REFERENCES
To   capability : ACL AUTH=LOGIN NAMESPACE IMAP4REV1 IMAP4
>From separator : [.]
To   separator : [/]
>From folders : [INBOX] [INBOX.BB] [INBOX.BB.25Jahre] [INBOX.BB.Bahnschleife]
[INBOX.BB.Buero] [INBOX.BB.CAD] [INBOX.BB.FHK] [INBOX.BB.Grass]
[INBOX.BB.Irene] [INBOX.BB.Irene_Testanfrage_2001]
[INBOX.BB.Irene_Testanfrage_Ausgang] [INBOX.BB.KBL] [INBOX.BB.KHuAH]
[INBOX.BB.KSC-Streif] [INBOX.BB.KleinKunst] [INBOX.BB.Linde]
[INBOX.BB.Lions] [INBOX.BB.OeROKo] [INBOX.BB.Stadt_Kitzbuehel]
[INBOX.BB.UniKitz] [INBOX.BB.Veranstaltungszentrum] [INBOX.BB.Weihnachten
2001] [INBOX.BB.Weihnachten 2002] [INBOX.BB.Weihnachten 2003]
[INBOX.BB.Wipptal] [INBOX.BB.WirtschaftsKammerKitz] [INBOX.BB.koell]
[INBOX.BB.oebb] [INBOX.BB.rza+elda+bonus] [INBOX.Drafts] [INBOX.EDV-Firmen]
[INBOX.EDV-Firmen.ACAD] [INBOX.EDV-Firmen.ARCAD] [INBOX.EDV-Firmen.Acer]
[INBOX.EDV-Firmen.Arrows] [INBOX.EDV-Firmen.BitCon] [INBOX.EDV-Firmen.CTT]
... and so on
To   folders : [INBOX] [Trash] 
>From subscribed folders : [INBOX] [INBOX.BB] [INBOX.BB.25Jahre]
[INBOX.BB.Bahnschleife] [INBOX.BB.Buero] [INBOX.BB.CAD] [INBOX.BB.FHK]
[INBOX.BB.Grass] [INBOX.BB.Irene] [INBOX.BB.Irene_Testanfrage_2001]
[INBOX.BB.Irene_Testanfrage_Ausgang] [INBOX.BB.KBL] [INBOX.BB.KHuAH]
[INBOX.BB.KSC-Streif] [INBOX.BB.KleinKunst] [INBOX.BB.Linde]
[INBOX.BB.Lions] [INBOX.BB.OeROKo] [INBOX.BB.Stadt_Kitzbuehel]
[INBOX.BB.UniKitz] [INBOX.BB.Veranstaltungszentrum] [INBOX.BB.Weihnachten
2001] [INBOX.BB.Weihnachten 2002] [INBOX.BB.Weihnachten 2003]
[INBOX.BB.Wipptal] [INBOX.BB.WirtschaftsKammerKitz] [INBOX.BB.koell]
[INBOX.BB.oebb] [INBOX.BB.rza+elda+bonus] [INBOX.EDV-Firmen]
[INBOX.EDV-Firmen.ARCAD] ...and so on now copying:
>From Folder [INBOX]
To   Folder [INBOX]
+ NO msg #4159 [1IhsJjYA36XNXEgG1kqu8w:2467] in INBOX Copying msg 
+ #4159:2467 to folder INBOX
flags from : [\Seen]["11-May-2004 15:15:04 +0200"] Copied msg id [4159] to
folder INBOX msg id [Mail::IMAPClient=HASH(0x84ba038)]
+ NO msg #4154 [7p6yeAqRkmqOQk5XHSdotw:1297946] in INBOX Copying msg 
+ #4154:1297946 to folder INBOX
flags from : [\Seen \Deleted]["11-May-2004 02:30:48 +0200"] Copied msg id
[4154] to folder INBOX msg id [Mail::IMAPClient=HASH(0x84ba038)]
+ NO msg #4143 [uy45tevPx5Yxz16fMBkahA:4836] in INBOX Copying msg 
+ #4143:4836 to folder INBOX
flags from : [\Seen]["09-May-2004 23:30:22 +0200"] Copied msg id [4143] to
folder INBOX msg id [Mail::IMAPClient=HASH(0x84ba038)]
...and so on
creating subfolders - and copying:
>From Folder [INBOX.BB]
To   Folder [INBOX/BB]
To   Folder INBOX/BB does not exist
Creating folder [INBOX/BB]
+ NO msg #15 [Jjp5pit5TmSU1+hfqNB6Ig:868] in INBOX/BB Copying msg 
+ #15:868 to folder INBOX/BB
flags from : [\Seen]["21-Nov-2002 08:15:24 +0100"] Copied msg id [15] to
folder INBOX/BB msg id [Mail::IMAPClient=HASH(0x84ba038)]
+ NO msg #13 [ncH7AE0KNgGwcyxrfcjq+g:5493] in INBOX/BB Copying msg 
+ #13:5493 to folder INBOX/BB
flags from : [\Seen]["21-Nov-2002 08:15:24 +0100"] Copied msg id [13] to
folder INBOX/BB msg id [Mail::IMAPClient=HASH(0x84ba038)]
...and so on
Creating Sub-sub-folders - and copying:
>From Folder [INBOX.BB.25Jahre]
To   Folder [INBOX/BB/25Jahre]
To   Folder INBOX/BB/25Jahre does not exist
Creating folder [INBOX/BB/25Jahre]
+ NO msg #12 [Q7TjlyQkp2szyaGddZel0Q:4844424] in INBOX/BB/25Jahre 
+ Copying msg #12:4844424 to folder INBOX/BB/25Jahre
flags from : [\Seen]["21-Nov-2002 09:34:07 +0100"] Copied msg id [12] to
folder INBOX/BB/25Jahre msg id [Mail::IMAPClient=HASH(0x84ba038)]
+ NO msg #5 [CSBQyP/9JtD9BymtBZxqzw:2333] in INBOX/BB/25Jahre Copying 
+ msg #5:2333 to folder INBOX/BB/25Jahre
flags from : [\Seen]["21-Nov-2002 09:34:02 +0100"] Copied msg id [5] to
folder INBOX/BB/25Jahre msg id [Mail::IMAPClient=HASH(0x84ba038)]

here the break: trying to and not creating subfolder and skipping the rest:
>From Folder [INBOX.BB.Bahnschleife]
To   Folder [INBOX/BB/Bahnschleife]
To   Folder INBOX/BB/Bahnschleife does not exist
Creating folder [INBOX/BB/Bahnschleife]
>From Folder [INBOX.BB.Buero]
To   Folder [INBOX/BB/Buero]
To   Folder INBOX/BB/Buero does not exist
Creating folder [INBOX/BB/Buero]
Sending: 684 SELECT INBOX.BB.Wipptal


examples from the log-part, where no more subdirectories could be created:
......
Sent 29 bytes
Read: * FLAGS (\Draft \Answered \Flagged \Deleted \Seen \Recent)
* OK [PERMANENTFLAGS (\Draft \Answered \Flagged \Deleted \Seen)] Limited
* 10 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1040854197] Ok
684 OK [READ-WRITE] Ok

Autoloading: STATUS INBOX/BB/Wipptal (MESSAGES)
Autoloading: create INBOX/BB/Wipptal
Couldn't create [INBOX/BB/Wipptal]Error sending '170 create
INBOX/BB/Wipptal' to IMAP:

Sending: 685 SELECT INBOX.BB.WirtschaftsKammerKitz

Sent 43 bytes
Read: * FLAGS (\Draft \Answered \Flagged \Deleted \Seen \Recent)
* OK [PERMANENTFLAGS (\Draft \Answered \Flagged \Deleted \Seen)] Limited
* 1 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1040854200] Ok
685 OK [READ-WRITE] Ok
......
big problem?

BB



Reply via email to