Hello,
once more again.
upgrade the server to the latest kernel and libs (namely CentOS 5.4).
Same problem.
Set notify interval to 180 seconds. The message appears without intervention around 140 seconds after it was delivered to the inbox.
2009-10-26 21:01:09 | dovecot: | deliver(ingoiwt@ghostdive.org): sieve: msgid=<ac2e3a8f0910261301r4d1f38dfx83e6d01d29394fd3@mail.gmail.com>: stored mail into mailbox 'INBOX'
In thunderbird it appears around 21:03:30
It looks like, only when dovecot sends the message, thunderbird will refresh its view.
At the moment, i set it to 10 Seconds. But this will be an overkill for an mobilconnection :-P
[root@mail log]# /opt/dovecot/sbin/dovecot --build-options Build options: ioloop=epoll notify=inotify ipv6 openssl Mail storages: cydir dbox maildir mbox raw shared SQL drivers: postgresql Passdb: checkpassword pam passwd passwd-file shadow sql Userdb: nss passwd passwd-file prefetch sql static
[root@mail log]# /opt/dovecot/sbin/dovecot -n # 1.2.6: /opt/dovecot/etc/dovecot.conf # OS: Linux 2.6.18-164.el5 i686 CentOS release 5.4 (Final) ext3 base_dir: /var/run/dovecot/ listen: *:143 ssl_listen: *:993 ssl_cert_file: /opt/dovecot/etc/ssl/certs/mail.ghostdive.org.crt ssl_key_file: /opt/dovecot/etc/ssl/private/mail.ghostdive.org.key disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable: /opt/dovecot/libexec/dovecot/imap-login login_greeting: ready. login_processes_count: 10 mail_max_userip_connections: 50 mail_location: maildir:/mnt/mail/%u/Maildir:INDEX=/var/spool/indexes/%u mailbox_idle_check_interval: 2 dbox_rotate_size: 4096 dbox_rotate_days: 30 imap_client_workarounds: tb-extra-mailbox-sep imap_idle_notify_interval: 180 lda: postmaster_address: postmaster@ghostdive.org hostname: mail.ghostdive.org mail_plugins: sieve mail_plugin_dir: /opt/dovecot/lib/dovecot/lda sendmail_path: /opt/postfix26/sbin/sendmail auth default: mechanisms: plain cram-md5 digest-md5 passdb: driver: sql args: /opt/dovecot/etc/dovecot-sql.conf userdb: driver: sql args: /opt/dovecot/etc/dovecot-sql.conf socket: type: listen master: path: /var/run/dovecot/auth-master mode: 384 user: mailaccess group: mailaccess
Ingo Thierack wrote:
Here are the requestet information. It was compiled with inotify which is the default on my system.
First I thought, it was the purpose, that the mailbox dirs was on an NFS. Then copied to the local disc. But the same.
[root@mail ~]# /opt/dovecot/sbin/dovecot --build-options Build options: ioloop=epoll notify=inotify ipv6 openssl Mail storages: cydir dbox maildir mbox raw shared SQL drivers: postgresql Passdb: checkpassword pam passwd passwd-file shadow sql Userdb: nss passwd passwd-file prefetch sql static
[root@mail ~]# /opt/dovecot/sbin/dovecot -n # 1.2.6: /opt/dovecot/etc/dovecot.conf # OS: Linux 2.6.18-128.7.1.el5 i686 CentOS release 5.3 (Final) ext3 base_dir: /var/run/dovecot/ listen: *:143 ssl_listen: *:993 ssl_cert_file: /opt/dovecot/etc/ssl/certs/mail.ghostdive.org.crt ssl_key_file: /opt/dovecot/etc/ssl/private/mail.ghostdive.org.key disable_plaintext_auth: no verbose_ssl: yes login_dir: /var/run/dovecot/login login_executable: /opt/dovecot/libexec/dovecot/imap-login login_greeting: ready. login_processes_count: 10 mail_max_userip_connections: 50 mail_location: maildir:/mnt/mail/%u/Maildir:INDEX=/var/spool/indexes/%u mailbox_idle_check_interval: 2 dbox_rotate_size: 4096 dbox_rotate_days: 30 mail_executable: /opt/dovecot/libexec/dovecot/rawlog -b /opt/dovecot/libexec/dovecot/imap imap_idle_notify_interval: 30 lda: postmaster_address: postmaster@ghostdive.org hostname: mail.ghostdive.org mail_plugins: sieve mail_plugin_dir: /opt/dovecot/lib/dovecot/lda sendmail_path: /opt/postfix26/sbin/sendmail auth default: mechanisms: plain cram-md5 digest-md5 passdb: driver: sql args: /opt/dovecot/etc/dovecot-sql.conf userdb: driver: sql args: /opt/dovecot/etc/dovecot-sql.conf socket: type: listen master: path: /var/run/dovecot/auth-master mode: 384 user: mailaccess group: mailaccess
Timo Sirainen schrieb:
On Wed, 2009-10-21 at 21:28 +0200, Ingo Thierack wrote:
Hello,
is my understanding of the parameter "imap_idle_notify_interval" right, if i say, it's the time between two point where dovecot tells the client he is here, and sould have nothing directly todo with the notification of new mails arrived.
Right.
I played with the values around. And the courios is, in thunderbird the folloing.
set to 30 seconds.
Thunderbird pop up around 25 seconds after the message is deliverd to the inbox.
set to 60 seconds.
Thunderbird pup up around 50 seconds after the message is deliverd to the inbox.
I don't see how that setting would affect either of these.
Did you build Dovecot with inotify/dnotify/kqueue support? (What does dovecot --build-options show?) If not, mailbox_idle_check_interval is what controls how often new mails are checked.