[Dovecot] Help! Uidlist files are gone and won't come back

Mario Nigrovic Mario.Nigrovic at freescale.com
Mon Jun 19 15:56:50 EEST 2006


Timo -

   I've sent you the details personally, since there are some third-party email addresses.

As far as uidlist checking is concerned, here's the data from the truss output:

20745:  read(0, " 2   s e l e c t   i n b".., 4096)     = 16
20745:  lstat64("/home/mario/.mail/Maildir/cur", 0xFFBEF4C0) = 0
20745:  lstat64("/home/mario/.mail/Maildir/new", 0xFFBEF4C0) = 0
20745:  lstat64("/home/mario/.mail/Maildir/tmp", 0xFFBEF4C0) = 0
20745:  mkdir("/var/tmp/mario/dovecot/.INBOX", 0770)    Err#17 EEXIST
20745:  stat64("/var/tmp/mario/dovecot/.INBOX", 0xFFBEF490) = 0
20745:  stat64("/home/mario/.mail/Maildir/dovecot-shared", 0xFFBEF5A0) Err#2 ENOENT
20745:  time()                                          = 1150720483
20745:  open64("/var/tmp/mario/dovecot/.INBOX/dovecot.index", O_RDWR) = 6
20745:  pread64(6, "07\0\0 x\0\002 X\0\0\010".., 512, 0) = 512
20745:  pread64(6, "\0\0\0\0\0\0\0\0\0\0\0\0".., 88, 512) = 88
20745:  brk(0x000B99E8)                                 = 0
20745:  brk(0x000C19E8)                                 = 0
20745:  pread64(6, "\0\0\001\b\0\0\0\0\096BC".., 30368, 600) = 30368
20745:  open64("/var/tmp/mario/dovecot/.INBOX/dovecot.index.log", O_RDWR) = 7
20745:  fstat64(7, 0xFFBEF110)                          = 0
20745:  pread64(7, "01\0\018 D95D710\0\0\001".., 24, 0) = 24
20745:  open64("/var/tmp/mario/dovecot/.INBOX/dovecot.index.cache", O_RDWR) = 8
20745:  sysconfig(_CONFIG_PAGESIZE)                     = 8192
20745:  mmap64(0x00000000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFF0F0000
20745:  pread64(8, "01\b04\0 D95D710 D95D710".., 8192, 0) = 8192
20745:  pread64(8, "01\b04\0 D95D710 D95D710".., 8192, 0) = 8192
20745:  mmap64(0x00000000, 49152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFF0E0000
20745:  munmap(0xFF0F2000, 8192)                        = 0
20745:  munmap(0xFF0F0000, 8192)                        = 0
20745:  pread64(8, "\0\0\0\0\0\0\014\0\0\003".., 8192, 32768) = 8192
20745:  brk(0x000C19E8)                                 = 0
20745:  brk(0x000C39E8)                                 = 0
20745:  stat64("/home/mario/.mail/Maildir/new", 0xFFBEF518) = 0
20745:  stat64("/home/mario/.mail/Maildir/cur", 0xFFBEF518) = 0
20745:  fstat64(6, 0xFFBEF2B8)                          = 0
20745:  stat64("/var/tmp/mario/dovecot/.INBOX/dovecot.index", 0xFFBEF220) = 0
20745:  fstat64(6, 0xFFBEF2B8)                          = 0
20745:  stat64("/var/tmp/mario/dovecot/.INBOX/dovecot.index", 0xFFBEF220) = 0
20745:  brk(0x000C39E8)                                 = 0
20745:  brk(0x000CB9E8)                                 = 0
20745:  pread64(7, 0x000CAD68, 1024, 50060)             = 0
20745:  stat64("/var/tmp/mario/dovecot/.INBOX/dovecot.index.log", 0xFFBEEEB8) = 0
20745:  open64("/var/tmp/mario/dovecot/.INBOX/dovecot.index.log.2", O_RDWR) Err#2 ENOENT
20745:  umask(0177)                                     = 077
20745:  time()                                          = 1150720483
20745:  lstat64("/home/mario/.mail/Maildir/dovecot-uidlist.lock", 0xFFBEF2C8) Err#2 ENOENT
20745:  stat64("/home/mario/.mail/Maildir/temp.velocity.20745.e15353bfc5785647", 0xFFBEF230) Err#2 ENOENT
20745:  open64("/home/mario/.mail/Maildir/temp.velocity.20745.e15353bfc5785647", O_RDWR|O_CREAT|O_EXCL, 0666) = 9
20745:  link("/home/mario/.mail/Maildir/temp.velocity.20745.e15353bfc5785647", "/home/mario/.mail/Maildir/dovecot-uidlist.lock") = 0
20745:  unlink("/home/mario/.mail/Maildir/temp.velocity.20745.e15353bfc5785647") = 0
20745:  fstat64(9, 0xFFBEF360)                          = 0
20745:  umask(077)                                      = 0177
20745:  open64("/home/mario/.mail/Maildir/dovecot-uidlist", O_RDONLY) Err#2 ENOENT
20745:  brk(0x000CB9E8)                                 = 0
20745:  brk(0x000CF9E8)                                 = 0
20745:  time()                                          = 1150720483
20745:  lstat64("/var/tmp/mario/dovecot/.INBOX/dovecot.index.log.lock", 0xFFBEF078) Err#2 ENOENT
20745:  stat64("/var/tmp/mario/dovecot/.INBOX/.temp.velocity.20745.687d73b0e7289315", 0xFFBEEFE0) Err#2 ENOENT
20745:  open64("/var/tmp/mario/dovecot/.INBOX/.temp.velocity.20745.687d73b0e7289315", O_RDWR|O_CREAT|O_EXCL, 0666) = 10
20745:  write(10, " 2 0 7 4 5 : v e l o c i".., 14)     = 14
20745:  link("/var/tmp/mario/dovecot/.INBOX/.temp.velocity.20745.687d73b0e7289315", "/var/tmp/mario/dovecot/.INBOX/dovecot.index.log.lock") = 0
20745:  unlink("/var/tmp/mario/dovecot/.INBOX/.temp.velocity.20745.687d73b0e7289315") = 0


And the telnet log:

telnet localhost 2143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK Dovecot ready.
1 login rvvk40 WWW44mvn
1 OK Logged in.
2 select inbox
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft unknown-1 unknown-0 unknown-5 unknown-2 unknown-3 unknown-4 unknown-6 unknown-7 unknown-8 unknown-9 unknown-10 unknown-11 unknown-12 unknown-13 unknown-14 unknown-15 unknown-16 unknown-17 unknown-18)
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft unknown-1 unknown-0 unknown-5 unknown-2 unknown-3 unknown-4 unknown-6 unknown-7 unknown-8 unknown-9 unknown-10 unknown-11 unknown-12 unknown-13 unknown-14 unknown-15 unknown-16 unknown-17 unknown-18 \*)] Flags permitted.
* 1900 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1150670608] UIDs valid
* OK [UIDNEXT 1901] Predicted next UID
2 OK [READ-WRITE] Select completed.
3 fetch 1:* (envelope uid rfc822.size)
* 1 FETCH (UID 1 RFC822.SIZE 81589 ENVELOPE ("Wed, 12 Oct 2005 09:39:19 +0200" "RE: SAM OA versions" (("...1" NIL "..." "freescale.com")) (("..." NIL "..." "freescale.com")) (("..." NIL "..." "freescale.com")) (("Nigrovic Mario-RVVK40" NIL "Mario.Nigrovic" "freescale.com")) (("..." NIL "..." "freescale.com")("..." NIL "..." "freescale.com")("..." NIL "..." "freescale.com")("..." NIL "..." "freescale.com")) NIL NIL "<E1E52DAD3F96D511AE4D00D0B77CF68A19CDE92A at zfr11exm02.ea.freescale.net>"))
... much more omitted ...
* 1900 FETCH (UID 1900 RFC822.SIZE 1543 ENVELOPE ("Mon, 19 Jun 2006 05:30:00 -0700 (MST)" "Reminder- Bowling" (("Mario Nigrovic-rvvk40" NIL "rvvk40" "postal.am.freescale.net")) (("Mario Nigrovic-rvvk40" NIL "rvvk40" "postal.am.freescale.net")) (("Mario Nigrovic-rvvk40" NIL "rvvk40" "postal.am.freescale.net")) ((NIL NIL "rvvk40" "freescale.com")) NIL NIL NIL "<200606191230.k5JCU0sv020532 at velocity.am.freescale.net>"))
3 OK Fetch completed.

Timo Sirainen wrote:
> On Jun 18, 2006, at 10:51 PM, Mario Nigrovic wrote:
> 
>> Timo -
>>
>> Ok , some experimenting shows that simply providing a typedef in for
>> uint32_t is sufficient to get ntlm to compile.  imapd seems no longer
>> to be crashing, but there are still no signs of uidlist files.  My
>> current configuration line is:
> 
> Could you send me the logs of what happens here, both the strace log and
> the IMAP traffic:
> 
> telnet localhost imap2
> 1 login username password
> 
> Now start: strace -o log -p `pidof imap`
> 
> And continue with IMAP commands:
> 
> 2 select inbox
> 3 fetch 1:* (envelope uid rfc822.size)
> 


-- 
I don't need a name; my number's just fine. |   Mario.Nigrovic at freescale.com
It's nobody else's -- just mine, all mine.  |                   480-413-3578
                                                           Internal Use Only


More information about the dovecot mailing list