Hi Timo, We are observing some weird behaviour when we try to rename an inferior folder, followed by the superior folder. These folders have an asterisk in the name. * LIST (\HasChildren) "." "*Own Family" * LIST (\HasChildren) "." "*Own Family.Tour" * LIST (\HasNoChildren) "." "*Own Family.Maid" * LIST (\HasNoChildren) "." "*Own Family.Tour.NZ" a OK List completed. a rename "*Own Family.Tour.NZ" "Own Family.Tour.NZ" a OK Rename completed. a LIST "" * * LIST (\HasChildren) "." "*Own Family" * LIST (\HasNoChildren) "." "*Own Family.Tour" * LIST (\HasNoChildren) "." "*Own Family.Maid" * LIST (\HasNoChildren) "." "Own Family.Tour.NZ" a OK List completed. a rename "*Own Family.Tour" "Own Family.Tour" a rename "*Own Family.Tour" "Own Family.Tour"a NO Internal error occurred. Refer to server log for more information. [2007-10-02 11:02:59] a LIST "" * * LIST (\HasChildren) "." "*Own Family" * LIST (\HasNoChildren) "." "*Own Family.Maid" * LIST (\HasChildren) "." "Own Family.Tour" * LIST (\HasNoChildren) "." "Own Family.Tour.NZ" dovecot: Oct 02 11:02:59 Error: IMAP(XXX): rename(/XXX/Maildir/.*Own Family.TourNZ, /XXX/Maildir/.Own Family.TourNZ) failed: No such file or directory It seems that the renaming of the folder succeeds, though the "a NO Internal error occurred" is reported. However, when the folders do not have an asterisk in the name. * LIST (\HasChildren) "." "Own Family" * LIST (\HasNoChildren) "." "Own Family.Maid" * LIST (\HasChildren) "." "Own Family.Tour" * LIST (\HasNoChildren) "." "Own Family.Tour.NZ" a rename "Own Family.Tour.NZ" "*Own Family.Tour.NZ" a OK Rename completed. a rename "Own Family.Tour" "*Own Family.Tour" a OK Rename completed. a LIST "" * * LIST (\HasChildren) "." "Own Family" * LIST (\HasNoChildren) "." "Own Family.Maid" * LIST (\HasChildren) "." "*Own Family.Tour" * LIST (\HasNoChildren) "." "*Own Family.Tour.NZ" The rename operation completes successfully with no error. Is there something that I am doing wrong? P.S., Will it be possible to also request the mail-log plugin to log rename operations too? :) Thanking in advance. Cheers, Tan Shao Yi
Hello, Sorry, I forgot to mention this is dovecot 1.0.4. Cheers. Tan Shao Yi wrote:> Hi Timo, > > We are observing some weird behaviour when we try to rename an inferior > folder, followed by the superior folder. > > These folders have an asterisk in the name. > > * LIST (\HasChildren) "." "*Own Family" > * LIST (\HasChildren) "." "*Own Family.Tour" > * LIST (\HasNoChildren) "." "*Own Family.Maid" > * LIST (\HasNoChildren) "." "*Own Family.Tour.NZ" > a OK List completed. > > a rename "*Own Family.Tour.NZ" "Own Family.Tour.NZ" > a OK Rename completed. > a LIST "" * > * LIST (\HasChildren) "." "*Own Family" > * LIST (\HasNoChildren) "." "*Own Family.Tour" > * LIST (\HasNoChildren) "." "*Own Family.Maid" > * LIST (\HasNoChildren) "." "Own Family.Tour.NZ" > a OK List completed. > > a rename "*Own Family.Tour" "Own Family.Tour" > a rename "*Own Family.Tour" "Own Family.Tour"a NO Internal error > occurred. Refer to server log for more information. [2007-10-02 11:02:59] > a LIST "" * > * LIST (\HasChildren) "." "*Own Family" > * LIST (\HasNoChildren) "." "*Own Family.Maid" > * LIST (\HasChildren) "." "Own Family.Tour" > * LIST (\HasNoChildren) "." "Own Family.Tour.NZ" > > > dovecot: Oct 02 11:02:59 Error: IMAP(XXX): rename(/XXX/Maildir/.*Own > Family.TourNZ, /XXX/Maildir/.Own Family.TourNZ) failed: No such file or > directory > > > It seems that the renaming of the folder succeeds, though the "a NO > Internal error occurred" is reported. > > However, when the folders do not have an asterisk in the name. > > * LIST (\HasChildren) "." "Own Family" > * LIST (\HasNoChildren) "." "Own Family.Maid" > * LIST (\HasChildren) "." "Own Family.Tour" > * LIST (\HasNoChildren) "." "Own Family.Tour.NZ" > > a rename "Own Family.Tour.NZ" "*Own Family.Tour.NZ" > a OK Rename completed. > > a rename "Own Family.Tour" "*Own Family.Tour" > a OK Rename completed. > > a LIST "" * > * LIST (\HasChildren) "." "Own Family" > * LIST (\HasNoChildren) "." "Own Family.Maid" > * LIST (\HasChildren) "." "*Own Family.Tour" > * LIST (\HasNoChildren) "." "*Own Family.Tour.NZ" > > The rename operation completes successfully with no error. > > Is there something that I am doing wrong? > > P.S., Will it be possible to also request the mail-log plugin to log > rename operations too? :) > > Thanking in advance. > > Cheers, > Tan Shao Yi
On Tue, 2007-10-02 at 11:32 +0800, Tan Shao Yi wrote:> Hi Timo, > > We are observing some weird behaviour when we try to rename an inferior > folder, followed by the superior folder. > > These folders have an asterisk in the name.Thanks, fixed: http://hg.dovecot.org/dovecot-1.0/rev/880d21a2a629> P.S., Will it be possible to also request the mail-log plugin to log > rename operations too? :)v1.1 can do this now. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20071006/cda67c85/attachment-0002.bin>