Am 19.07.2010 um 20:53 schrieb Timo Sirainen:
Probably enough to just do:
6 SELECT Public/Mailing-Lists/Apache-Users 7 FETCH 1 (UID)
Yes.
- PREAUTH [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS QUOTA ACL RIGHTS=texk] Logged in as user 6 SELECT Public/Mailing-Lists/Apache-Users
- FLAGS (\Answered \Flagged \Deleted \Seen \Draft unknown-4 unknown-0 unknown-1 unknown-3 unknown-5 $NotJunk Old NotJunk $Junk)
- OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft unknown-4 unknown-0 unknown-1 unknown-3 unknown-5 $NotJunk Old NotJunk $Junk \*)] Flags permitted.
- 3392 EXISTS
- 1 RECENT
- OK [UNSEEN 2098] First unseen.
- OK [UIDVALIDITY 1249133060] UIDs valid
- OK [UIDNEXT 3393] Predicted next UID
- OK [HIGHESTMODSEQ 1365] Highest 6 OK [READ-WRITE] Select completed. 7 FETCH 1 (UID) Warning: commit: trans=0x96c3d0 lt=(nil) lbox=0x964b58 Segmentation fault
What does it log with the attached patch? <notify-debug.diff>
Jul 19 21:08:07 spectre dovecot: imap-login: Login: user=<user>, method=PLAIN, rip=1.2.3.4, lip=10.10.10.10, mpid=7988, TLS Jul 19 21:08:07 spectre dovecot: imap(user): Warning: begin: trans=0x1609500 lt=0x1608c10 lbox=0x15fad88 Jul 19 21:08:07 spectre dovecot: imap(user): Warning: commit: trans=0x1609500 lt=0x1608c10 lbox=0x15fad88 Jul 19 21:08:07 spectre dovecot: imap(user): Warning: begin: trans=0x20ef9a0 lt=0x20f1180 lbox=0x20f6fb8 Jul 19 21:08:07 spectre dovecot: imap(user): Warning: commit: trans=0x20ef9a0 lt=0x20f1180 lbox=0x20f6fb8 Jul 19 21:08:07 spectre dovecot: imap(user): Warning: begin: trans=0x16087d0 lt=0x160a590 lbox=0x15fad88 Jul 19 21:08:07 spectre dovecot: imap(user): Warning: commit: trans=0x16087d0 lt=0x160a590 lbox=0x15fad88 Jul 19 21:08:07 spectre dovecot: imap(user): Warning: commit: trans=0x20dbff0 lt=(nil) lbox=0x20f6e38 Jul 19 21:08:07 spectre dovecot: master: Error: service(imap): child 7986 killed with signal 11 (core dumped)