[Dovecot] uid fetch error with revision 9112:9d634c93d28a
This command fails: 2 uid fetch somevaliduid (BODYSTRUCTURE BODY.PEEK[]) 2 BAD Error in IMAP command UID: Unknown command BODYSTRUCTURE
Thanks, Jonathan
On Mon, 2009-06-01 at 11:03 -0400, Jonathan Siegle wrote:
This command fails: 2 uid fetch somevaliduid (BODYSTRUCTURE BODY.PEEK[]) 2 BAD Error in IMAP command UID: Unknown command BODYSTRUCTURE
On Jun 1, 2009, at 12:27 PM, Timo Sirainen wrote:
On Mon, 2009-06-01 at 11:03 -0400, Jonathan Siegle wrote:
This command fails: 2 uid fetch somevaliduid (BODYSTRUCTURE BODY.PEEK[]) 2 BAD Error in IMAP command UID: Unknown command BODYSTRUCTURE
Nope. I can tell you that it definitely works in 1.2rc3 from May 4th
and I think it _might_ have worked as of early last week. This is
using mbox storage. The client doing this is OSX Mail.app version
3.6(935/935.3).
Thanks, Jonathan
On Jun 1, 2009, at 12:59 PM, Jonathan Siegle wrote:
On Jun 1, 2009, at 12:27 PM, Timo Sirainen wrote:
On Mon, 2009-06-01 at 11:03 -0400, Jonathan Siegle wrote:
This command fails: 2 uid fetch somevaliduid (BODYSTRUCTURE BODY.PEEK[]) 2 BAD Error in IMAP command UID: Unknown command BODYSTRUCTURE
Nope. I can tell you that it definitely works in 1.2rc3 from May 4th
and I think it _might_ have worked as of early last week. This is
using mbox storage. The client doing this is OSX Mail.app version
3.6(935/935.3).Thanks, Jonathan
I can also tell you that it worked on the May 14th revision.
On Mon, 2009-06-01 at 12:59 -0400, Jonathan Siegle wrote:
On Jun 1, 2009, at 12:27 PM, Timo Sirainen wrote:
On Mon, 2009-06-01 at 11:03 -0400, Jonathan Siegle wrote:
This command fails: 2 uid fetch somevaliduid (BODYSTRUCTURE BODY.PEEK[]) 2 BAD Error in IMAP command UID: Unknown command BODYSTRUCTURE
Nope. I can tell you that it definitely works in 1.2rc3 from May 4th
and I think it _might_ have worked as of early last week. This is
using mbox storage. The client doing this is OSX Mail.app version
3.6(935/935.3).
I can't seem to be able to reproduce this. What plugins do you have loaded? Can you manually try a few commands?
telnet localhost 143 1 login user pass 2 select inbox 3 fetch 1:* flags 4 uid fetch 1:* flags 5 fetch 1 bodystructure
On Jun 1, 2009, at 1:59 PM, Timo Sirainen wrote:
On Mon, 2009-06-01 at 12:59 -0400, Jonathan Siegle wrote:
On Jun 1, 2009, at 12:27 PM, Timo Sirainen wrote:
On Mon, 2009-06-01 at 11:03 -0400, Jonathan Siegle wrote:
This command fails: 2 uid fetch somevaliduid 5 uid fetch 4 (BODYSTRUCTURE BODY.PEEK[]) 5 BAD Error in IMAP command UID: Unknown command BODYSTRUCTURE
2 BAD Error in IMAP command UID: Unknown command BODYSTRUCTURE
Nope. I can tell you that it definitely works in 1.2rc3 from May 4th and I think it _might_ have worked as of early last week. This is using mbox storage. The client doing this is OSX Mail.app version 3.6(935/935.3).
I can't seem to be able to reproduce this. What plugins do you have loaded? Can you manually try a few commands?
telnet localhost 143 1 login user pass 2 select inbox 3 fetch 1:* flags 4 uid fetch 1:* flags 5 fetch 1 bodystructure
Sure. The problem for me is somewhere between revision 9061(works) and
9098(doesn't work). I don't select inbox. I select a folder to try to
take plugins out of the picture. I'll keep doing my binary search to
find the changeset that breaks..
2 select foo4
FLAGS (\Answered \Flagged \Deleted \Seen \Draft $NotJunk NonJunk)
OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft
$NotJunk NonJunk \*)] Flags permitted.10 EXISTS
0 RECENT
OK [UIDVALIDITY 1] UIDs valid
OK [UIDNEXT 11] Predicted next UID
OK [HIGHESTMODSEQ 1] 2 OK [READ-WRITE] Select completed. 3 fetch 1:* flags
1 FETCH (FLAGS (\Seen $NotJunk))
2 FETCH (FLAGS (\Seen $NotJunk))
3 FETCH (FLAGS (\Seen $NotJunk NonJunk))
4 FETCH (FLAGS (\Seen $NotJunk NonJunk))
5 FETCH (FLAGS (\Seen $NotJunk NonJunk))
6 FETCH (FLAGS (\Seen $NotJunk NonJunk))
7 FETCH (FLAGS (\Seen $NotJunk))
8 FETCH (FLAGS (\Seen $NotJunk))
9 FETCH (FLAGS (\Seen $NotJunk))
10 FETCH (FLAGS (\Seen $NotJunk)) 3 OK Fetch completed. 4 fetch 1 bodystructure 4 BAD Error in IMAP command FETCH: Unknown command BODYSTRUCTURE 4 uid fetch 1:* flags
1 FETCH (UID 1 FLAGS (\Seen $NotJunk))
2 FETCH (UID 2 FLAGS (\Seen $NotJunk))
3 FETCH (UID 3 FLAGS (\Seen $NotJunk NonJunk))
4 FETCH (UID 4 FLAGS (\Seen $NotJunk NonJunk))
5 FETCH (UID 5 FLAGS (\Seen $NotJunk NonJunk))
6 FETCH (UID 6 FLAGS (\Seen $NotJunk NonJunk))
7 FETCH (UID 7 FLAGS (\Seen $NotJunk))
8 FETCH (UID 8 FLAGS (\Seen $NotJunk))
9 FETCH (UID 9 FLAGS (\Seen $NotJunk))
10 FETCH (UID 10 FLAGS (\Seen $NotJunk)) 4 OK Fetch completed. 5 uid fetch 4 (BODYSTRUCTURE BODY.PEEK[]) 5 BAD Error in IMAP command UID: Unknown command BODYSTRUCTURE
./dovecot -n
1.2.rc4: /usr/ladmin3/etc/dovecot.conf
# OS: AIX 3 0001112AD300 syslog_facility: local0 protocols: imap listen: *:someport ssl: no disable_plaintext_auth: no login_dir: /usr/ladmin3/var/run/dovecot/login login_executable: /usr/ladmin3/libexec/dovecot/imap-login login_greeting: Dovecot baseline ready. login_processes_count: 30 max_mail_processes: 4096 mail_location: mbox:%h mmap_disable: yes dotlock_use_excl: no mbox_write_locks: fcntl mail_plugins: mbox_snarf mail_plugin_dir: /usr/ladmin3/lib/dovecot/imap/ imap_client_workarounds: tb-extra-mailbox-sep imap_id_log: * namespace: type: private separator: / inbox: yes list: yes subscriptions: yes namespace: type: private separator: / prefix: ~/ hidden: yes list: no subscriptions: yes auth default: krb5_keytab: /etc/myfavoritekeytab verbose: yes debug: yes passdb: driver: pam userdb: driver: passwd plugin: mbox_snarf: %h/SNARF
On Mon, 2009-06-01 at 14:31 -0400, Timo Sirainen wrote:
On Mon, 2009-06-01 at 14:20 -0400, Jonathan Siegle wrote:
2 uid fetch somevaliduid 5 uid fetch 4 (BODYSTRUCTURE BODY.PEEK[]) 5 BAD Error in IMAP command UID: Unknown command BODYSTRUCTURE
This should fix it: http://hg.dovecot.org/dovecot-1.2/rev/4d2b2adfd415
On Jun 1, 2009, at 2:37 PM, Timo Sirainen wrote:
On Mon, 2009-06-01 at 14:31 -0400, Timo Sirainen wrote:
On Mon, 2009-06-01 at 14:20 -0400, Jonathan Siegle wrote:
> 2 uid fetch somevaliduid 5 uid fetch 4 (BODYSTRUCTURE
> BODY.PEEK[]) 5 BAD Error in IMAP command UID: Unknown command BODYSTRUCTUREThis should fix it: http://hg.dovecot.org/dovecot-1.2/rev/ 4d2b2adfd415
3 fetch 1 bodystructure
- 1 FETCH (BODYSTRUCTURE ("text" "plain" ("charset" "iso-8859-1") NIL
NIL "7bit" 555 13 NIL ("inline" NIL) NIL NIL)) 3 OK Fetch completed. 4 uid fetch 1 (BODYSTRUCTURE BODY.PEEK[]) - 1 FETCH (UID 1 BODYSTRUCTURE ("text" "plain" ("charset"
"iso-8859-1") NIL NIL "7bit" 555 13 NIL ("inline" NIL) NIL NIL) BODY[]
{3953} . . . . 4 OK Fetch completed.
And there was much cheering in central Pennsylvania...
thanks, Jonathan
participants (2)
-
Jonathan Siegle
-
Timo Sirainen