[Dovecot] uid fetch error with revision 9112:9d634c93d28a

Jonathan Siegle jsiegle at psu.edu
Mon Jun 1 21:20:51 EEST 2009


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
>>>
>>> http://hg.dovecot.org/dovecot-1.2/rev/f1a6c9dd4c33 ?
>>>
>>
>> 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2541 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20090601/7f6c23f1/attachment-0001.bin 


More information about the dovecot mailing list