[binc] NOOP fails (from time to time)

"J. Kendzorra" <[email protected]>
Newsgroups gmane.mail.imap.binc.general
Message-ID <[email protected]>
Hi,
sometimes the connection to Binc fails when sending NOOP; this is what it
looks like: 

,---
| 519 NOOP
| 519 OK NOOP completed
| 520 NOOP
| 520 OK NOOP completed
| 521 CLOSE
| 521 OK CLOSE completed
| 522 STATUS "INBOX" (UNSEEN)
| * STATUS "INBOX" (UNSEEN 0)
| 522 OK STATUS completed
| (... more STATUS of different subfolders ...)
| 533 NOOP
| * BYE Invalid Mailbox, /new/: No such file or directory
`--- 

strace says: 

,---
| write(6, "533 NOOP\r\n", 10) = 10
| --- SIGCHLD (Child exited) ---
| select(8, [0 7], NULL, NULL, {2160, 0}) = 1 (in [7], left {2160, 0})
| read(7, "* BYE Invalid Mailbox, /new/: No"..., 8192) = 57
| alarm(1200)                             = 0
| write(1, "\27\3\1\0I\216\362(\320\377&\5\370\20F\256\347\366X\363"..., 78) 
=
| 78
| alarm(0)                                = 1200
| select(8, [0 7], NULL, NULL, {2160, 0}) = 1 (in [7], left {2160, 0})
| read(7, "", 8192)                       = 0
| close(7)                                = 0
| close(6)                                = 0
| wait4(14888, [WIFEXITED(s) && WEXITSTATUS(s) == 0], 0, NULL) = 14888
| alarm(1200)                             = 0
| write(2, "14879 1 [[email protected]:]"..., 86) = 86
| alarm(0)                                = 1200
| munmap(0x28978000, 4096)                = 0
| _exit(0)
`--- 

It seems Binc is missing the path in "path + /new/" (maildir-scan.cc) after
some time.
Juergen
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.