29 Oct
2005
29 Oct
'05
1:43 p.m.
Johannes Berg wrote:
Oct 22 00:03:02 ymmv dovecot: imap(nici): inotify_rm_watch() failed: Invalid argument I've heard I've broken at least epoll. Maybe inotify went with it? It seems not that borken, as things work fine. You wouldn't really notice if inotify didn't work, or did you specifically test notifications in IDLE?
I assumed it works, because I get immediate notification in my IMAP client when new mail arrives. But I tested this now specifically and it shows the intended behaviour:
...
1 OK User logged in 2 select INBOX
- FLAGS (\Answered \Flagged \Deleted \Seen \Draft $MDNSent)
- OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft $MDNSent \*)] Flags permitted.
- 19 EXISTS
- 0 RECENT
- OK [UNSEEN 17] First unseen.
- OK [UIDVALIDITY 1112486837] UIDs valid
- OK [UIDNEXT 5491] Predicted next UID 2 OK [READ-WRITE] Select completed. 3 idle
- idling
- 20 EXISTS
Last line comes just after a 'touch Maildir/cur/bla1'.