You seem to have kind of mixed everything into one so I don't know what happened. Rawlog (*.in, *.out files) isn't the same as where my patch was logging the message, it went to Dovecot's error log http://wiki.dovecot.org/Logging. Also do you mean there was no EXISTS reply sent at all after IDLE was started in either rawlog or telnet session?
So the most important thing: After deliver logs the message, how long does it take for "inotify triggered" message to get written to Dovecot's log file? Or does it never get logged there? (Make sure you're looking at the log file where dovecot --log-error writes "This is Dovecot's warning log.")
On Tue, 2009-10-27 at 23:42 +0100, Ingo Thierack wrote:
tried the telnet approach. patched in the logline.
[ingo@mail ~]$ telnet localhost 143 Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1). Escape character is '^]'.
- OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN AUTH=CRAM-MD5 AUTH=DIGEST-MD5] ready. a login xxxx xxxx a OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH] Logged in b select inbox
- FLAGS (\Answered \Flagged \Deleted \Seen \Draft NonJunk)
- OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft NonJunk \*)] Flags permitted.
- 13 EXISTS
- 0 RECENT
- OK [UIDVALIDITY 1252958392] UIDs valid
- OK [UIDNEXT 37] Predicted next UID
- OK [HIGHESTMODSEQ 81] Highest b OK [READ-WRITE] Select completed. c idle
- idling
after idling displayed, i sent a message to the account.
see the message delivered to the inbox in my syslog
2009-10-27 23:35:20 | dovecot: | deliver(ingo@ghostdive.org): sieve: msgid=ac2e3a8f0910271535q4c5096a8w56d31e117cb7bf76@mail.gmail.com: stored mail into mailbox 'INBOX'
in logfile: <<