hi i was carrying out some testing using qmailtoaster with dovecot on a centos 64 server i am connecting to the mailbox using a windows machine with outlook across the lan. the mailbox is around 7gb in size with around 12000 emails spread across multiple folders and i am trying to sync the mailbox folders to by creating an account imap account in outlook. the mails are getting downloaded in the imap folder but the sync does not complete and outlook throws an error. Task 'Synchronizing subscribed folders for user at mydomain.com.' reported error (0x800CCC0F) : 'Outlook cannot synchronize subscribed folders for user at mydomain.com.. Error: The TCP/IP connection was unexpectedly terminated by the server. If you continue to receive this message, contact your server administrator or Internet service provider (ISP).' in the dovecot log i see the following. Apr 10 17:12:10 imap(user at mydomain.com): Debug: Effective uid=89, gid=89, home=/home/vpopmail/domains/mydomain.com/user Apr 10 17:12:10 imap(user at mydomain.com): Debug: Quota root: name=ignore=Trash backend=maildir argsApr 10 17:12:10 imap(user at mydomain.com): Debug: Quota rule: root=ignore=Trash mailbox=? bytes=0 messages=0 Apr 10 17:12:10 imap(user at mydomain.com): Debug: Quota grace: root=ignore=Trash bytes=0 (10%) Apr 10 17:12:10 imap(user at mydomain.com): Debug: Namespace : type=private, prefix=, sep=., inbox=yes, hidden=no, list=yes, subscriptions=yes locationApr 10 17:12:10 imap(user at mydomain.com): Debug: mdbox: access(/home/vpopmail/domains/mydomain.com/user/mdbox, rwx): failed: No such file or directory Apr 10 17:12:10 imap(user at mydomain.com): Debug: mdbox: couldn't find root dir Apr 10 17:12:10 imap(user at mydomain.com): Debug: sdbox: access(/home/vpopmail/domains/mydomain.com/user/sdbox, rwx): failed: No such file or directory Apr 10 17:12:10 imap(user at mydomain.com): Debug: sdbox: couldn't find root dir Apr 10 17:12:10 imap(user at mydomain.com): Debug: maildir: root exists (/home/vpopmail/domains/mydomain.com/user/Maildir) Apr 10 17:12:10 imap(user at mydomain.com): Debug: maildir++: root=/home/vpopmail/domains/mydomain.com/user/Maildir, index=, indexpvt=, control=, inbox=/home/vpopmail/domains/mydomain.com/user/Maildir, altApr 10 17:12:40 imap(user at mydomain.com): Info: Disconnected: Logged out in=28 out=460 i would like to know what the following means -- specifically mdbox and sdbox #################### Apr 10 17:12:10 imap(user at mydomain.com): Debug: mdbox: access(/home/vpopmail/domains/mydomain.com/user/mdbox, rwx): failed: No such file or directory Apr 10 17:12:10 imap(user at mydomain.com): Debug: mdbox: couldn't find root dir Apr 10 17:12:10 imap(user at mydomain.com): Debug: sdbox: access(/home/vpopmail/domains/mydomain.com/user/sdbox, rwx): failed: No such file or directory Apr 10 17:12:10 imap(user at mydomain.com): Debug: sdbox: couldn't find root dir #################### my dovecot config file # dovecot -n # 2.2.7: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-431.el6.x86_64 x86_64 CentOS release 6.5 (Final) auth_cache_size = 32 M auth_mechanisms = plain login digest-md5 cram-md5 default_login_user = vpopmail disable_plaintext_auth = no first_valid_gid = 89 first_valid_uid = 89 log_path = /var/log/dovecot.log login_greeting = Dovecot toaster ready. mail_debug = yes mail_max_userip_connections = 50 mail_plugins = " quota" managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave namespace { inbox = yes location prefix separator = . type = private } passdb { args = cache_key=%u webmail=127.0.0.1 driver = vpopmail } plugin { quota = maildir:ignore=Trash quota_rule = ?:storage=0 } protocols = imap pop3 service imap-login { client_limit = 1000 process_limit = 400 process_min_avail = 4 service_count = 0 vsz_limit = 512 M } service pop3-login { client_limit = 1000 process_limit = 400 process_min_avail = 12 service_count = 0 vsz_limit = 512 M } ssl_cert = </var/qmail/control/servercert.pem ssl_dh_parameters_length = 2048 ssl_key = </var/qmail/control/servercert.pem userdb { args = cache_key=%u quota_template=quota_rule=*:backend=%q driver = vpopmail } protocol imap { imap_client_workarounds = delay-newmail mail_plugins = " quota imap_quota" } protocol pop3 { pop3_client_workarounds = outlook-no-nuls oe-ns-eoh pop3_fast_size_lookups = yes pop3_lock_session = no pop3_no_flag_updates = yes } thank you, rajesh
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 10 Apr 2015, Rajesh M wrote:> in the dovecot log i see the following. > > Apr 10 17:12:10 imap(user at mydomain.com): Debug: Effective uid=89, gid=89, home=/home/vpopmail/domains/mydomain.com/user > Apr 10 17:12:10 imap(user at mydomain.com): Debug: Quota root: name=ignore=Trash backend=maildir args> Apr 10 17:12:10 imap(user at mydomain.com): Debug: Quota rule: root=ignore=Trash mailbox=? bytes=0 messages=0 > Apr 10 17:12:10 imap(user at mydomain.com): Debug: Quota grace: root=ignore=Trash bytes=0 (10%) > Apr 10 17:12:10 imap(user at mydomain.com): Debug: Namespace : type=private, prefix=, sep=., inbox=yes, hidden=no, list=yes, subscriptions=yes location> Apr 10 17:12:10 imap(user at mydomain.com): Debug: mdbox: access(/home/vpopmail/domains/mydomain.com/user/mdbox, rwx): failed: No such file or directory > Apr 10 17:12:10 imap(user at mydomain.com): Debug: mdbox: couldn't find root dir > Apr 10 17:12:10 imap(user at mydomain.com): Debug: sdbox: access(/home/vpopmail/domains/mydomain.com/user/sdbox, rwx): failed: No such file or directory > Apr 10 17:12:10 imap(user at mydomain.com): Debug: sdbox: couldn't find root dir > Apr 10 17:12:10 imap(user at mydomain.com): Debug: maildir: root exists (/home/vpopmail/domains/mydomain.com/user/Maildir) > Apr 10 17:12:10 imap(user at mydomain.com): Debug: maildir++: root=/home/vpopmail/domains/mydomain.com/user/Maildir, index=, indexpvt=, control=, inbox=/home/vpopmail/domains/mydomain.com/user/Maildir, alt> Apr 10 17:12:40 imap(user at mydomain.com): Info: Disconnected: Logged out in=28 out=460 > > i would like to know what the following means -- specifically mdbox and sdbox > > #################### > Apr 10 17:12:10 imap(user at mydomain.com): Debug: mdbox: access(/home/vpopmail/domains/mydomain.com/user/mdbox, rwx): failed: No such file or directory > Apr 10 17:12:10 imap(user at mydomain.com): Debug: mdbox: couldn't find root dir > Apr 10 17:12:10 imap(user at mydomain.com): Debug: sdbox: access(/home/vpopmail/domains/mydomain.com/user/sdbox, rwx): failed: No such file or directory > Apr 10 17:12:10 imap(user at mydomain.com): Debug: sdbox: couldn't find root dir > ####################Your config does not specify, which mail storage the user is using. That's why Dovecot probes for various "signs", mdbox is the first and so on. Eventually it probes for Maildir and uses the user's mail dir as a Maildir storage. - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEUAwUBVSvEmnz1H7kL/d9rAQJU/wf1EoaHomOrWmSkE+llzdSLnlRgXZAXbHYD DAQCGuHRNNH7Er1x1lPQQponxz2ora/ONu1+fpbNocWcTYcFIf/iJwBSfzgAAVB/ 4lSwB/mCFRZ62vhT/eOEChSmkfql8HvuSIJH7Q9+pwz5xrBCgFyqC4aiJv7rLAEm I53mfXeHdjIwddzydj5cyapcMbR8PwScwOi2TRnKIKWDBnR1WD28EhmRDhGmOdDY kKYDGwAZek9uqPVFnSpdv1o/Yle3MHpyQ/kp1kt5e/jQ7jVqjkonW9AgJb8BBVUu qEaqx4qMaa6V2iPhikoVsgKw4YlJuks6CaBwb1PGoZMGgr17YamL =xhme -----END PGP SIGNATURE-----