Dragos Pacher
2015-Jun-29 10:08 UTC
Outlook 2013 not fetching new mail/synchronization issues
Hi all, Dovecot 2.2.10 CentOS 6 64 bit. We are having terrible synchronization issues with Outlook 2013 (all updates) on Windows 7 SP1 and 8.1 hosts (all updates). Scenario: 1. Emails were sent since user closed Outlook 2. Next day: start computer, open outlook 3. No new email (even though email were sent overnight) 4. half a day later Outlook fetches emails like nothing happened Second issue: folders created or email send in Outlook 2013 does not synchronize on IMAP, they remain only local .. But I am mostly interested into finding a fix for the first synchronization issue described in scenario. Second is also important but I have a feeling its connected to the first. Any help will be highly appreciated! dovecot.conf listen = * #base_dir = /var/run/dovecot # Enabled mail protocols. #protocols = pop3 imap sieve protocols = pop3 imap # User/group who owns the message files: mail_uid = 89 mail_gid = 89 # Assign uid to virtual users. first_valid_uid = 89 last_valid_uid = 89 mail_max_userip_connections = 200 default_client_limit = 3000 namespace inbox { separator = . prefix = INBOX. inbox = yes # These mailboxes are widely used and could perhaps be created automatically: mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Trash { special_use = \Trash } # For \Sent mailboxes there are two widely used names. We'll mark both of # them as \Sent. User typically deletes one of them if duplicates are created. mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } } # Logging. Reference: http://wiki2.dovecot.org/Logging log_path = /var/log/dovecot.log mail_debug = no auth_verbose = no auth_debug = no auth_debug_passwords = no auth_verbose_passwords = no auth_worker_max_count = 2048 # SSL: Global settings. # Refer to wiki site for per protocol, ip, server name SSL settings: # http://wiki2.dovecot.org/SSL/DovecotConfiguration ssl = yes verbose_ssl = no ssl_ca = </etc/ssl/savvy.cz-CA.pem ssl_cert = </etc/ssl/savvy.cz.crt ssl_key = </etc/ssl/savvy.cz.key disable_plaintext_auth = no # Mail location and mailbox format. #mail_location = maildir:/%Lh/Maildir/:INDEX=/%Lh/Maildir/ mail_location = maildir:~/Maildir:INDEX=/home/dovecotindex/%Lh/Maildir/ # Authentication related settings. # Append this domain name if client gives empty realm. auth_default_realm = # Authentication mechanisms. auth_mechanisms = PLAIN LOGIN service imap-login { client_limit = 3024 process_limit = 2048 process_min_avail = 64 vsz_limit = 64 M } service auth { client_limit = 3072 unix_listener auth-userdb { } inet_listener { port = 12345 } } service imap { vsz_limit = 256M # Max. number of IMAP processes (connections) process_limit = 2048 #imap_idle_notify_interval = 2 mins } service pop3 { # Max. number of POP3 processes (connections) process_limit = 1024 } # Virtual mail accounts. userdb { args = /etc/dovecot/dovecot-mysql.conf driver = sql } passdb { args = /etc/dovecot/dovecot-mysql.conf driver = sql } plugin { auth_socket_path = /var/run/dovecot/auth-master # Plugin: autocreate. Create and subscribe to default IMAP folders. autocreate = INBOX autocreate2 = Sent autocreate3 = Trash autocreate4 = Drafts autocreate5 = Junk autosubscribe = INBOX autosubscribe2 = Sent autosubscribe3 = Trash autosubscribe4 = Drafts autosubscribe5 = Junk # Plugin: expire. expire = Trash 7 Trash/* 7 Junk 30 expire_dict = proxy::expire # Pigeonhole managesieve service. # Reference: http://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration # Per-user sieve settings. sieve_dir = /%Lh/sieve sieve = /%Lh/sieve/dovecot.sieve # Global sieve settings. sieve_global_dir = /home/vpopmail/sieve sieve_global_path = /home/vpopmail/sieve/dovecot.sieve #sieve_before #sieve_after } service dict { unix_listener dict { # mode = 0660 # user = vmail # group = vmail } } protocol lda { # Reference: http://wiki2.dovecot.org/LDA #mail_plugins = quota sieve autocreate #auth_socket_path = /var/run/dovecot/auth-master #log_path = /var/log/sieve.log #lda_mailbox_autocreate = yes #postmaster_address = root } protocol imap { mail_max_userip_connections = 2048 imap_client_workarounds = tb-extra-mailbox-sep #mail_plugins = quota imap_quota autocreate #mail_plugins = autocreate } protocol pop3 { #mail_plugins = quota pop3_uidl_format = UID%u-%v pop3_client_workarounds = outlook-no-nuls oe-ns-eoh } Regards, Pacher Dragos
On Mon, 29 Jun 2015 13:08:45 +0300, Dragos Pacher stated:>We are having terrible synchronization issues with Outlook 2013 (all >updates) on Windows 7 SP1 and 8.1 hosts (all updates).Have you tried putting Outlook into "debug" mode (it requires a restart) and seeing what it says? Furthermore, have you tried the Outlook Mail forums? I can send you a few links if you want. They helped me with a configuration problem I was having. How about "TcpTrace" output? You really have not given us much to work with. -- Jerry -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 473 bytes Desc: OpenPGP digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20150629/5faf3a74/attachment.sig>
Robert Schetterer
2015-Jun-29 17:46 UTC
Outlook 2013 not fetching new mail/synchronization issues
Am 29.06.2015 um 12:08 schrieb Dragos Pacher:> Hi all, >sorry short in time , not reading your config but in most cases problems on windows are based on firewall/proxies either local or at the gateway, sometimes with other net issuses local firewall may included in antivirus solutions, have you checked this ? have you tried thunderbird on the same machine ?> > > Dovecot 2.2.10 CentOS 6 64 bit. > > > > We are having terrible synchronization issues with Outlook 2013 (all > updates) on Windows 7 SP1 and 8.1 hosts (all updates). > > > > Scenario: > > 1. Emails were sent since user closed Outlook > > 2. Next day: start computer, open outlook > > 3. No new email (even though email were sent overnight) > > 4. half a day later Outlook fetches emails like nothing happened > > > > Second issue: folders created or email send in Outlook 2013 does not > synchronize on IMAP, they remain only local .. > > > > But I am mostly interested into finding a fix for the first synchronization > issue described in scenario. Second is also important > > but I have a feeling its connected to the first. > > > > Any help will be highly appreciated! > > > > dovecot.conf > > > > listen = * > > > > #base_dir = /var/run/dovecot > > > > # Enabled mail protocols. > > #protocols = pop3 imap sieve > > protocols = pop3 imap > > > > # User/group who owns the message files: > > mail_uid = 89 > > mail_gid = 89 > > > > # Assign uid to virtual users. > > first_valid_uid = 89 > > last_valid_uid = 89 > > > > mail_max_userip_connections = 200 > > default_client_limit = 3000 > > > > namespace inbox { > > separator = . > > prefix = INBOX. > > inbox = yes > > > > # These mailboxes are widely used and could perhaps be created > automatically: > > mailbox Drafts { > > special_use = \Drafts > > } > > mailbox Junk { > > special_use = \Junk > > } > > mailbox Trash { > > special_use = \Trash > > } > > > > # For \Sent mailboxes there are two widely used names. We'll mark both of > > # them as \Sent. User typically deletes one of them if duplicates are > created. > > mailbox Sent { > > special_use = \Sent > > } > > mailbox "Sent Messages" { > > special_use = \Sent > > } > > } > > > > # Logging. Reference: http://wiki2.dovecot.org/Logging > > log_path = /var/log/dovecot.log > > mail_debug = no > > auth_verbose = no > > auth_debug = no > > auth_debug_passwords = no > > auth_verbose_passwords = no > > > > auth_worker_max_count = 2048 > > > > # SSL: Global settings. > > # Refer to wiki site for per protocol, ip, server name SSL settings: > > # http://wiki2.dovecot.org/SSL/DovecotConfiguration > > ssl = yes > > verbose_ssl = no > > ssl_ca = </etc/ssl/savvy.cz-CA.pem > > ssl_cert = </etc/ssl/savvy.cz.crt > > ssl_key = </etc/ssl/savvy.cz.key > > > > disable_plaintext_auth = no > > > > # Mail location and mailbox format. > > #mail_location = maildir:/%Lh/Maildir/:INDEX=/%Lh/Maildir/ > > mail_location = maildir:~/Maildir:INDEX=/home/dovecotindex/%Lh/Maildir/ > > > > # Authentication related settings. > > # Append this domain name if client gives empty realm. > > auth_default_realm = > > > > # Authentication mechanisms. > > auth_mechanisms = PLAIN LOGIN > > > > service imap-login { > > client_limit = 3024 > > process_limit = 2048 > > process_min_avail = 64 > > vsz_limit = 64 M > > } > > > > service auth { > > client_limit = 3072 > > > > unix_listener auth-userdb { > > } > > > > inet_listener { > > port = 12345 > > } > > } > > > > service imap { > > vsz_limit = 256M > > # Max. number of IMAP processes (connections) > > process_limit = 2048 > > #imap_idle_notify_interval = 2 mins > > } > > > > service pop3 { > > # Max. number of POP3 processes (connections) > > process_limit = 1024 > > } > > > > # Virtual mail accounts. > > userdb { > > args = /etc/dovecot/dovecot-mysql.conf > > driver = sql > > } > > passdb { > > args = /etc/dovecot/dovecot-mysql.conf > > driver = sql > > } > > > > plugin { > > auth_socket_path = /var/run/dovecot/auth-master > > > > # Plugin: autocreate. Create and subscribe to default IMAP folders. > > autocreate = INBOX > > autocreate2 = Sent > > autocreate3 = Trash > > autocreate4 = Drafts > > autocreate5 = Junk > > autosubscribe = INBOX > > autosubscribe2 = Sent > > autosubscribe3 = Trash > > autosubscribe4 = Drafts > > autosubscribe5 = Junk > > > > # Plugin: expire. > > expire = Trash 7 Trash/* 7 Junk 30 > > expire_dict = proxy::expire > > > > # Pigeonhole managesieve service. > > # Reference: http://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration > > # Per-user sieve settings. > > sieve_dir = /%Lh/sieve > > sieve = /%Lh/sieve/dovecot.sieve > > > > # Global sieve settings. > > sieve_global_dir = /home/vpopmail/sieve > > sieve_global_path = /home/vpopmail/sieve/dovecot.sieve > > #sieve_before > > #sieve_after > > } > > > > service dict { > > unix_listener dict { > > # mode = 0660 > > # user = vmail > > # group = vmail > > } > > } > > > > protocol lda { > > # Reference: http://wiki2.dovecot.org/LDA > > #mail_plugins = quota sieve autocreate > > #auth_socket_path = /var/run/dovecot/auth-master > > #log_path = /var/log/sieve.log > > #lda_mailbox_autocreate = yes > > #postmaster_address = root > > } > > protocol imap { > > mail_max_userip_connections = 2048 > > imap_client_workarounds = tb-extra-mailbox-sep > > #mail_plugins = quota imap_quota autocreate > > #mail_plugins = autocreate > > > > } > > protocol pop3 { > > #mail_plugins = quota > > pop3_uidl_format = UID%u-%v > > pop3_client_workarounds = outlook-no-nuls oe-ns-eoh > > } > > > > > > Regards, > > > > > > Pacher Dragos > > >Best Regards MfG Robert Schetterer -- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64 Franziskanerstra?e 15, 81669 M?nchen Sitz der Gesellschaft: M?nchen, Amtsgericht M?nchen: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein
Dragos Pacher
2015-Jun-30 07:29 UTC
Outlook 2013 not fetching new mail/synchronization issues
Hi all, Robert, Jerry, There were new emails overnight and both Thunderbird and Roundcube displayed them. I enabled Outlook debug mode and please find 2 logs of Send/Receive with no new emails. Scroll below to see 3rd log with "workaround" and mails downloaded. "Intializing connection [1C7E2830] IMAP: 08:53:03 [db] Setting internal codepage to 1200 IMAP: 08:53:03 [db] Connecting to 'imap.server.cz' on port 993. IMAP: 08:53:03 [db] OnNotify: asOld = 0, asNew = 2, ae = 0 IMAP: 08:53:03 [db] srv_name = "imap.server.cz" srv_addr = 193.x.y.z:993 IMAP: 08:53:03 [db] OnNotify: asOld = 2, asNew = 3, ae = 1 IMAP: 08:53:03 [db] OnNotify: asOld = 3, asNew = 4, ae = 0 IMAP: 08:53:03 [db] Negotiating secure connection with 'Microsoft Unified Security Protocol Provider'. IMAP: 08:53:03 [db] OnNotify: asOld = 4, asNew = 6, ae = 2 IMAP: 08:53:03 [db] OnNotify: asOld = 6, asNew = 6, ae = 4 IMAP: 08:53:03 [db] OnNotify: asOld = 6, asNew = 5, ae = 2 IMAP: 08:53:04 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 08:53:04 [rx] * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN AUTH=LOGIN] Dovecot ready. IMAP: 08:53:04 [tx] ozzj CAPABILITY IMAP: 08:53:04 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 08:53:04 [rx] * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN AUTH=LOGIN IMAP: 08:53:04 [rx] ozzj OK Pre-login capabilities listed, post-login capabilities have more. IMAP: 08:53:04 [tx] LOGIN command sent IMAP: 08:53:04 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 08:53:04 [rx] * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE BINARY MOVE IMAP: 08:53:04 [rx] 4yl7 OK Logged in IMAP: 08:53:04 [tx] 0lgo IDLE IMAP: 08:53:04 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 08:53:04 [rx] + idling IMAP: 08:53:04 [tx] DONE IMAP: 08:53:04 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 08:53:04 [rx] 0lgo OK Idle completed. IMAP: 08:53:04 [tx] xf8u LIST "" "INBOX." IMAP: 08:53:04 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 08:53:04 [rx] xf8u OK List completed. IMAP: 08:53:04 [tx] sgh4 CREATE "INBOX." IMAP: 08:53:04 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 08:53:04 [rx] sgh4 NO [ALREADYEXISTS] Mailbox already exists IMAP: 08:53:04 [tx] r7t0 IDLE IMAP: 08:53:04 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 08:53:04 [rx] + idling IMAP: 08:53:04 [tx] DONE IMAP: 08:53:04 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 08:53:04 [rx] r7t0 OK Idle completed. IMAP: 08:53:04 [tx] 4prg ID ("name" "Microsoft Outlook" "version" "15.0.4727.1000") IMAP: 08:53:04 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 08:53:04 [rx] * ID ("name" "Dovecot") IMAP: 08:53:04 [rx] 4prg OK ID completed. IMAP: 08:53:04 [tx] 3kjk IDLE IMAP: 08:53:04 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 08:53:04 [rx] + idling IMAP: 08:53:59 [tx] DONE IMAP: 08:53:59 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 08:53:59 [rx] 3kjk OK Idle completed. IMAP: 08:53:59 [tx] 4i0o LOGOUT IMAP: 08:53:59 [db] Connection to 'imap.server.cz' closed. IMAP: 08:53:59 [db] OnNotify: asOld = 5, asNew = 0, ae = 5" Another send/receive not seeing any new email "Intializing connection [127E8EC0] IMAP: 09:09:14 [db] Setting internal codepage to 1200 IMAP: 09:09:14 [db] Connecting to 'imap.server.cz' on port 993. IMAP: 09:09:14 [db] OnNotify: asOld = 0, asNew = 4, ae = 0 IMAP: 09:09:14 [db] Negotiating secure connection with 'Microsoft Unified Security Protocol Provider'. IMAP: 09:09:14 [db] OnNotify: asOld = 4, asNew = 6, ae = 2 IMAP: 09:09:14 [db] OnNotify: asOld = 6, asNew = 6, ae = 4 IMAP: 09:09:14 [db] OnNotify: asOld = 6, asNew = 5, ae = 2 IMAP: 09:09:15 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:15 [rx] * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN AUTH=LOGIN] Dovecot ready. IMAP: 09:09:15 [tx] nj2r CAPABILITY IMAP: 09:09:15 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:15 [rx] * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN AUTH=LOGIN IMAP: 09:09:15 [rx] nj2r OK Pre-login capabilities listed, post-login capabilities have more. IMAP: 09:09:15 [tx] LOGIN command sent IMAP: 09:09:15 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:15 [rx] * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE BINARY MOVE IMAP: 09:09:15 [rx] mvv9 OK Logged in IMAP: 09:09:15 [tx] ugks IDLE IMAP: 09:09:15 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:15 [rx] + idling IMAP: 09:09:15 [tx] DONE IMAP: 09:09:15 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:15 [rx] ugks OK Idle completed. IMAP: 09:09:15 [tx] wrwq SELECT "INBOX.Sent" IMAP: 09:09:15 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:15 [rx] * FLAGS (\Answered \Flagged \Deleted \Seen \Draft) IMAP: 09:09:15 [db] Connection to 'imap.server.cz' closed. IMAP: 09:09:15 [db] OnNotify: asOld = 5, asNew = 0, ae = 5" Then I used the following "workaround" to force Outlook get new emails: click several times (> 5, 10) in between Send/Receive, Inbox and Sent. "Intializing connection [1C7E27F8] IMAP: 09:08:57 [db] Setting internal codepage to 1200 IMAP: 09:08:57 [db] Connecting to 'imap.server.cz' on port 993. IMAP: 09:08:57 [db] OnNotify: asOld = 0, asNew = 2, ae = 0 IMAP: 09:08:57 [db] srv_name = "imap.server.cz" srv_addr = 193.x.y.z:993 IMAP: 09:08:57 [db] OnNotify: asOld = 2, asNew = 3, ae = 1 IMAP: 09:08:57 [db] OnNotify: asOld = 3, asNew = 4, ae = 0 IMAP: 09:08:57 [db] Negotiating secure connection with 'Microsoft Unified Security Protocol Provider'. IMAP: 09:08:57 [db] OnNotify: asOld = 4, asNew = 6, ae = 2 IMAP: 09:08:57 [db] OnNotify: asOld = 6, asNew = 6, ae = 4 IMAP: 09:08:57 [db] OnNotify: asOld = 6, asNew = 5, ae = 2 IMAP: 09:08:57 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:08:57 [rx] * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN AUTH=LOGIN] Dovecot ready. IMAP: 09:08:57 [tx] 4t2h CAPABILITY IMAP: 09:08:57 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:08:57 [rx] * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN AUTH=LOGIN IMAP: 09:08:57 [rx] 4t2h OK Pre-login capabilities listed, post-login capabilities have more. IMAP: 09:08:57 [tx] LOGIN command sent IMAP: 09:08:57 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:08:57 [rx] * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE BINARY MOVE IMAP: 09:08:57 [rx] ynxe OK Logged in IMAP: 09:08:57 [tx] wmsb IDLE IMAP: 09:08:57 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:08:57 [rx] + idling IMAP: 09:08:59 [tx] DONE IMAP: 09:08:59 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:08:59 [rx] wmsb OK Idle completed. IMAP: 09:08:59 [tx] 65vu ID ("name" "Microsoft Outlook" "version" "15.0.4727.1000") IMAP: 09:08:59 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:08:59 [rx] * ID ("name" "Dovecot") IMAP: 09:08:59 [rx] 65vu OK ID completed. IMAP: 09:08:59 [tx] 44jb IDLE IMAP: 09:08:59 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:08:59 [rx] + idling IMAP: 09:09:16 [tx] DONE IMAP: 09:09:16 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:16 [rx] 44jb OK Idle completed. IMAP: 09:09:16 [tx] u83i SELECT "INBOX" IMAP: 09:09:16 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:16 [rx] * FLAGS (\Answered \Flagged \Deleted \Seen \Draft $Forwarded) IMAP: 09:09:16 [rx] * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft $Forwarded \*)] Flags permitted. IMAP: 09:09:16 [rx] * 22 EXISTS IMAP: 09:09:16 [rx] * 0 RECENT IMAP: 09:09:16 [rx] * OK [UNSEEN 12] First unseen. IMAP: 09:09:16 [rx] * OK [UIDVALIDITY 1426675851] UIDs valid IMAP: 09:09:16 [rx] * OK [UIDNEXT 14233] Predicted next UID IMAP: 09:09:16 [rx] u83i OK [READ-WRITE] Select completed (0.000 secs). IMAP: 09:09:16 [tx] 2kqy IDLE IMAP: 09:09:16 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:16 [rx] + idling IMAP: 09:09:16 [tx] DONE IMAP: 09:09:16 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:16 [rx] 2kqy OK Idle completed. IMAP: 09:09:16 [tx] j5st FETCH 22 (UID) IMAP: 09:09:16 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:16 [rx] * 22 FETCH (UID 14232) IMAP: 09:09:16 [rx] j5st OK Fetch completed. IMAP: 09:09:16 [tx] 0ejn IDLE IMAP: 09:09:16 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:16 [rx] + idling IMAP: 09:09:16 [tx] DONE IMAP: 09:09:16 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:16 [rx] 0ejn OK Idle completed. IMAP: 09:09:16 [tx] cm5u UID SEARCH UID 14221:14232 SINCE 28-Jun-2015 IMAP: 09:09:16 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:16 [rx] * SEARCH 14221 14222 14223 14224 14225 14226 14227 14228 14229 14230 14231 14232 IMAP: 09:09:16 [rx] cm5u OK Search completed (0.000 secs). IMAP: 09:09:16 [tx] a974 IDLE IMAP: 09:09:16 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:16 [rx] + idling IMAP: 09:09:16 [tx] DONE IMAP: 09:09:16 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:16 [rx] a974 OK Idle completed. IMAP: 09:09:16 [tx] b9w1 UID FETCH 14221:14232 (UID FLAGS RFC822.SIZE BODY.PEEK[] INTERNALDATE) IMAP: 09:09:16 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:16 [rx] * 11 FETCH (UID 14221 FLAGS (\Seen) RFC822.SIZE 32537 INTERNALDATE "29-Jun-2015 14:48:16 +0200" BODY[] {32537} IMAP: 09:09:16 [rx] Buffer (literal) of length 6032 IMAP: 09:09:16 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:16 [rx] Buffer (literal) of length 6144 IMAP: 09:09:16 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:16 [rx] Buffer (literal) of length 3072 IMAP: 09:09:16 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:16 [rx] Buffer (literal) of length 7168 IMAP: 09:09:16 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:16 [rx] Buffer (literal) of length 3072 IMAP: 09:09:16 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:16 [rx] Buffer (literal) of length 3072 IMAP: 09:09:17 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:17 [rx] Buffer (literal) of length 3072 IMAP: 09:09:17 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:17 [rx] Buffer (literal) of length 905 IMAP: 09:09:17 [rx] ) IMAP: 09:09:17 [rx] * 12 FETCH (UID 14222 FLAGS () RFC822.SIZE 19716 INTERNALDATE "29-Jun-2015 14:51:35 +0200" BODY[] {19716} IMAP: 09:09:17 [rx] Buffer (literal) of length 2057 IMAP: 09:09:17 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:17 [rx] Buffer (literal) of length 8183 IMAP: 09:09:17 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:17 [rx] Buffer (literal) of length 7168 IMAP: 09:09:17 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:17 [rx] Buffer (literal) of length 1024 IMAP: 09:09:17 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:17 [rx] Buffer (literal) of length 1284 IMAP: 09:09:17 [rx] ) IMAP: 09:09:17 [rx] * 13 FETCH (UID 14223 FLAGS () RFC822.SIZE 13770 INTERNALDATE "29-Jun-2015 16:16:00 +0200" BODY[] {13770} IMAP: 09:09:17 [rx] Buffer (literal) of length 1678 IMAP: 09:09:17 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:17 [rx] Buffer (literal) of length 8192 IMAP: 09:09:17 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:17 [rx] Buffer (literal) of length 3900 IMAP: 09:09:17 [rx] ) IMAP: 09:09:17 [rx] * 14 FETCH (UID 14224 FLAGS () RFC822.SIZE 12923 INTERNALDATE "29-Jun-2015 16:30:49 +0200" BODY[] {12923} IMAP: 09:09:17 [rx] Buffer (literal) of length 3158 IMAP: 09:09:17 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:17 [rx] Buffer (literal) of length 8192 IMAP: 09:09:17 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:17 [rx] Buffer (literal) of length 1573 IMAP: 09:09:17 [rx] ) IMAP: 09:09:17 [rx] * 15 FETCH (UID 14225 FLAGS () RFC822.SIZE 11058 INTERNALDATE "29-Jun-2015 19:47:54 +0200" BODY[] {11058} IMAP: 09:09:17 [rx] Buffer (literal) of length 5485 IMAP: 09:09:17 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:17 [rx] Buffer (literal) of length 5573 IMAP: 09:09:17 [rx] ) IMAP: 09:09:17 [rx] * 16 FETCH (UID 14226 FLAGS () RFC822.SIZE 4534 INTERNALDATE "30-Jun-2015 01:48:51 +0200" BODY[] {4534} IMAP: 09:09:17 [rx] Buffer (literal) of length 1487 IMAP: 09:09:17 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:17 [rx] Buffer (literal) of length 3047 IMAP: 09:09:17 [rx] ) IMAP: 09:09:17 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:17 [rx] * 17 FETCH (UID 14227 FLAGS () RFC822.SIZE 4392 INTERNALDATE "30-Jun-2015 03:17:24 +0200" BODY[] {4392} IMAP: 09:09:17 [rx] Buffer (literal) of length 4392 IMAP: 09:09:17 [rx] ) IMAP: 09:09:17 [rx] * 18 FETCH (UID 14228 FLAGS () RFC822.SIZE 5231 INTERNALDATE "30-Jun-2015 03:22:09 +0200" BODY[] {5231} IMAP: 09:09:17 [rx] Buffer (literal) of length 2585 IMAP: 09:09:17 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:17 [rx] Buffer (literal) of length 2646 IMAP: 09:09:17 [rx] ) IMAP: 09:09:17 [rx] * 19 FETCH (UID 14229 FLAGS () RFC822.SIZE 19076 INTERNALDATE "30-Jun-2015 06:37:43 +0200" BODY[] {19076} IMAP: 09:09:17 [rx] Buffer (literal) of length 5436 IMAP: 09:09:17 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:17 [rx] Buffer (literal) of length 7168 IMAP: 09:09:17 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:17 [rx] Buffer (literal) of length 6472 IMAP: 09:09:17 [rx] ) IMAP: 09:09:17 [rx] * 20 FETCH (UID 14230 FLAGS (\Seen) RFC822.SIZE 9591 INTERNALDATE "30-Jun-2015 07:19:06 +0200" BODY[] {9591} IMAP: 09:09:17 [rx] Buffer (literal) of length 1607 IMAP: 09:09:17 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:17 [rx] Buffer (literal) of length 7168 IMAP: 09:09:17 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:17 [rx] Buffer (literal) of length 816 IMAP: 09:09:17 [rx] ) IMAP: 09:09:17 [rx] * 21 FETCH (UID 14231 FLAGS () RFC822.SIZE 20345 INTERNALDATE "30-Jun-2015 07:21:15 +0200" BODY[] {20345} IMAP: 09:09:17 [rx] Buffer (literal) of length 7266 IMAP: 09:09:17 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:17 [rx] Buffer (literal) of length 4096 IMAP: 09:09:17 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:17 [rx] Buffer (literal) of length 3072 IMAP: 09:09:17 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:17 [rx] Buffer (literal) of length 3072 IMAP: 09:09:17 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:17 [rx] Buffer (literal) of length 2839 IMAP: 09:09:17 [rx] ) IMAP: 09:09:17 [rx] * 22 FETCH (UID 14232 FLAGS () RFC822.SIZE 22135 INTERNALDATE "30-Jun-2015 07:29:13 +0200" BODY[] {22135} IMAP: 09:09:17 [rx] Buffer (literal) of length 123 IMAP: 09:09:17 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:17 [rx] Buffer (literal) of length 8192 IMAP: 09:09:17 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:17 [rx] Buffer (literal) of length 2048 IMAP: 09:09:17 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:17 [rx] Buffer (literal) of length 6144 IMAP: 09:09:17 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:17 [rx] Buffer (literal) of length 5628 IMAP: 09:09:17 [rx] ) IMAP: 09:09:17 [rx] b9w1 OK Fetch completed. IMAP: 09:09:17 [tx] 51g5 IDLE IMAP: 09:09:17 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:17 [rx] + idling IMAP: 09:09:17 [tx] DONE IMAP: 09:09:17 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:17 [rx] 51g5 OK Idle completed. IMAP: 09:09:17 [tx] ssmg UID FETCH 1:14232 (UID FLAGS) IMAP: 09:09:17 [db] OnNotify: asOld = 5, asNew = 5, ae = 3 IMAP: 09:09:17 [rx] * 1 FETCH (UID 1 FLAGS (\Seen)) IMAP: 09:09:17 [db] Connection to 'imap.server.cz' closed. IMAP: 09:09:17 [db] OnNotify: asOld = 5, asNew = 0, ae = 5" Pacher Dragos -----Original Message----- From: dovecot [mailto:dovecot-bounces at dovecot.org] On Behalf Of Robert Schetterer Sent: 29 June 2015 20:47 To: dovecot at dovecot.org Subject: Re: Outlook 2013 not fetching new mail/synchronization issues Am 29.06.2015 um 12:08 schrieb Dragos Pacher:> Hi all, >sorry short in time , not reading your config but in most cases problems on windows are based on firewall/proxies either local or at the gateway, sometimes with other net issuses local firewall may included in antivirus solutions, have you checked this ? have you tried thunderbird on the same machine ?> > > Dovecot 2.2.10 CentOS 6 64 bit. > > > > We are having terrible synchronization issues with Outlook 2013 (all > updates) on Windows 7 SP1 and 8.1 hosts (all updates). > > > > Scenario: > > 1. Emails were sent since user closed Outlook > > 2. Next day: start computer, open outlook > > 3. No new email (even though email were sent overnight) > > 4. half a day later Outlook fetches emails like nothing happened > > > > Second issue: folders created or email send in Outlook 2013 does not > synchronize on IMAP, they remain only local .. > > > > But I am mostly interested into finding a fix for the first > synchronization issue described in scenario. Second is also important > > but I have a feeling its connected to the first. > > > > Any help will be highly appreciated! > > > > dovecot.conf > > > > listen = * > > > > #base_dir = /var/run/dovecot > > > > # Enabled mail protocols. > > #protocols = pop3 imap sieve > > protocols = pop3 imap > > > > # User/group who owns the message files: > > mail_uid = 89 > > mail_gid = 89 > > > > # Assign uid to virtual users. > > first_valid_uid = 89 > > last_valid_uid = 89 > > > > mail_max_userip_connections = 200 > > default_client_limit = 3000 > > > > namespace inbox { > > separator = . > > prefix = INBOX. > > inbox = yes > > > > # These mailboxes are widely used and could perhaps be created > automatically: > > mailbox Drafts { > > special_use = \Drafts > > } > > mailbox Junk { > > special_use = \Junk > > } > > mailbox Trash { > > special_use = \Trash > > } > > > > # For \Sent mailboxes there are two widely used names. We'll mark > both of > > # them as \Sent. User typically deletes one of them if duplicates > are created. > > mailbox Sent { > > special_use = \Sent > > } > > mailbox "Sent Messages" { > > special_use = \Sent > > } > > } > > > > # Logging. Reference: http://wiki2.dovecot.org/Logging > > log_path = /var/log/dovecot.log > > mail_debug = no > > auth_verbose = no > > auth_debug = no > > auth_debug_passwords = no > > auth_verbose_passwords = no > > > > auth_worker_max_count = 2048 > > > > # SSL: Global settings. > > # Refer to wiki site for per protocol, ip, server name SSL settings: > > # http://wiki2.dovecot.org/SSL/DovecotConfiguration > > ssl = yes > > verbose_ssl = no > > ssl_ca = </etc/ssl/savvy.cz-CA.pem > > ssl_cert = </etc/ssl/savvy.cz.crt > > ssl_key = </etc/ssl/savvy.cz.key > > > > disable_plaintext_auth = no > > > > # Mail location and mailbox format. > > #mail_location = maildir:/%Lh/Maildir/:INDEX=/%Lh/Maildir/ > > mail_location = > maildir:~/Maildir:INDEX=/home/dovecotindex/%Lh/Maildir/ > > > > # Authentication related settings. > > # Append this domain name if client gives empty realm. > > auth_default_realm > > > > # Authentication mechanisms. > > auth_mechanisms = PLAIN LOGIN > > > > service imap-login { > > client_limit = 3024 > > process_limit = 2048 > > process_min_avail = 64 > > vsz_limit = 64 M > > } > > > > service auth { > > client_limit = 3072 > > > > unix_listener auth-userdb { > > } > > > > inet_listener { > > port = 12345 > > } > > } > > > > service imap { > > vsz_limit = 256M > > # Max. number of IMAP processes (connections) > > process_limit = 2048 > > #imap_idle_notify_interval = 2 mins > > } > > > > service pop3 { > > # Max. number of POP3 processes (connections) > > process_limit = 1024 > > } > > > > # Virtual mail accounts. > > userdb { > > args = /etc/dovecot/dovecot-mysql.conf > > driver = sql > > } > > passdb { > > args = /etc/dovecot/dovecot-mysql.conf > > driver = sql > > } > > > > plugin { > > auth_socket_path = /var/run/dovecot/auth-master > > > > # Plugin: autocreate. Create and subscribe to default IMAP folders. > > autocreate = INBOX > > autocreate2 = Sent > > autocreate3 = Trash > > autocreate4 = Drafts > > autocreate5 = Junk > > autosubscribe = INBOX > > autosubscribe2 = Sent > > autosubscribe3 = Trash > > autosubscribe4 = Drafts > > autosubscribe5 = Junk > > > > # Plugin: expire. > > expire = Trash 7 Trash/* 7 Junk 30 > > expire_dict = proxy::expire > > > > # Pigeonhole managesieve service. > > # Reference: > http://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration > > # Per-user sieve settings. > > sieve_dir = /%Lh/sieve > > sieve = /%Lh/sieve/dovecot.sieve > > > > # Global sieve settings. > > sieve_global_dir = /home/vpopmail/sieve > > sieve_global_path = /home/vpopmail/sieve/dovecot.sieve > > #sieve_before > > #sieve_after > > } > > > > service dict { > > unix_listener dict { > > # mode = 0660 > > # user = vmail > > # group = vmail > > } > > } > > > > protocol lda { > > # Reference: http://wiki2.dovecot.org/LDA > > #mail_plugins = quota sieve autocreate > > #auth_socket_path = /var/run/dovecot/auth-master > > #log_path = /var/log/sieve.log > > #lda_mailbox_autocreate = yes > > #postmaster_address = root > > } > > protocol imap { > > mail_max_userip_connections = 2048 > > imap_client_workarounds = tb-extra-mailbox-sep > > #mail_plugins = quota imap_quota autocreate > > #mail_plugins = autocreate > > > > } > > protocol pop3 { > > #mail_plugins = quota > > pop3_uidl_format = UID%u-%v > > pop3_client_workarounds = outlook-no-nuls oe-ns-eoh > > } > > > > > > Regards, > > > > > > Pacher Dragos > > >Best Regards MfG Robert Schetterer -- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64 Franziskanerstra?e 15, 81669 M?nchen Sitz der Gesellschaft: M?nchen, Amtsgericht M?nchen: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein