Dovecot logs as follows: Feb ?1 19:36:34 speedy dovecot: imap-login: Login: user=<rsmith>, method=PLAIN, rip=10.163.195.83, lip=10.163.195.82, mpid=7481, session=<EbuSsb4qPQCto8NT>Feb ?1 19:36:37 speedy dovecot: imap-login: Login: user=<rsmith>, method=PLAIN, rip=10.163.195.83, lip=10.163.195.82, mpid=7483, session=<qfSzsb4qQQCto8NT>Feb ?1 19:36:37 speedy dovecot: imap(rsmith): Disconnected: Logged out in=95 out=440Feb ?1 19:37:24 speedy dovecot: imap(rsmith): Connection closed in=275 out=995Feb ?1 19:37:27 speedy dovecot: imap-login: Login: user=<rsmith>, method=PLAIN, rip=10.163.195.83, lip=10.163.195.82, mpid=7485, session=<NAm1tL4qRQCto8NT>Feb ?1 19:37:28 speedy dovecot: imap(rsmith): Disconnected: Logged out in=298 out=1130Feb ?1 19:37:28 speedy dovecot: imap-login: Login: user=<rsmith>, method=PLAIN, rip=10.163.195.83, lip=10.163.195.82, mpid=7487, session=<GKPJtL4qSACto8NT>Feb ?1 19:37:30 speedy dovecot: imap-login: Login: user=<rsmith>, method=PLAIN, rip=10.163.195.83, lip=10.163.195.82, mpid=7489, session=<5h3qtL4qTACto8NT>Feb ?1 19:37:31 speedy dovecot: imap(rsmith): Disconnected: Logged out in=95 out=440 The maildir on my instance is located in /var/log/mail. The output of doveadm is as follows: root at speedy:/var/mail# doveadm user -u jsmithuserdb: jsmith? system_groups_user: jsmith? uid ? ? ? : 1000? gid ? ? ? : 1000? home ? ? ?: /home/jsmith If that home variable is suppose to be the maildir folder it is wrong. ?It should be /var/mail/jsmith. ?If that is the problem, where or how do I change it. Thanks in advance!! From: Steffen Kaiser <skdovecot at smail.inf.fh-brs.de> To: John Williams <john.1209 at yahoo.com> Cc: "dovecot at dovecot.org" <dovecot at dovecot.org> Sent: Monday, February 1, 2016 3:43 AM Subject: Re: Dovecot with Maildir -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sat, 30 Jan 2016, John Williams wrote:> I believe (not sure actually) the answer is in the mail_location variable for Dovecot. ?This is what I've tried so far:> #mail_location = mbox:~/mail:INBOX=/var/mail/%u#mail_location = maildir:/var/mail/%u/Maildir#mail_location = maildir:~/Maildir:INDEX=/var/mail/%umail_location = maildir:/var/mail/%u/MaildirWhat does Dovecot log?Where are your Maildir directories located? What does doveadm user -u username print? - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEVAwUBVq8alHz1H7kL/d9rAQIRYwgAtapJ2Br/zhYHrmze2k59G9wul8lT43Ga oUdsRb2JYEXeR51z5iHTIZKHUN2+l79g0qouvXJmNarTEUnXetavyss91cDzYw8n cGpzpb4M75BCLgVpPKiExnlPG5y7fFEHiOAMa2bwRsMlDEgtpbUQTBx+d9MuxniB QzXMJuSuwm0UN8OEO4Ct4jsNCtkt7bRPVGej0yj0aRZFFOPcvzLH9Bi6sWjNtfcx PU8UMlP4byyf7yBptcZ8FTnAZA4lcZdy8fnxrN91cHtqgSBbP1hfGORQcYcNS2Qu pZgU2SYugArDoxU5X+LxCCFugk0/KYPcWS1sH3S8svKTTEvjddg4Kw==E6ey -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 2 Feb 2016, John Williams wrote:> Dovecot logs as follows: > Feb ?1 19:36:34 speedy dovecot: imap-login: Login: user=<rsmith>, method=PLAIN, rip=10.163.195.83, lip=10.163.195.82, mpid=7481, session=<EbuSsb4qPQCto8NT> > Feb ?1 19:36:37 speedy dovecot: imap-login: Login: user=<rsmith>, method=PLAIN, rip=10.163.195.83, lip=10.163.195.82, mpid=7483, session=<qfSzsb4qQQCto8NT> > Feb ?1 19:36:37 speedy dovecot: imap(rsmith): Disconnected: Logged out in=95 out=440Feb ?1 19:37:24 speedy dovecot: imap(rsmith): Connection closed in=275 out=995 > Feb ?1 19:37:27 speedy dovecot: imap-login: Login: user=<rsmith>, method=PLAIN, rip=10.163.195.83, lip=10.163.195.82, mpid=7485, session=<NAm1tL4qRQCto8NT> > Feb ?1 19:37:28 speedy dovecot: imap(rsmith): Disconnected: Logged out in=298 out=1130please increase logging, see mail_debug at http://wiki2.dovecot.org/Logging That will reveal, what mail location and inbox is used really.> The maildir on my instance is located in /var/log/mail./var/__log__/mail ??> The output of doveadm is as follows: > root at speedy:/var/mail# doveadm user -u jsmithuserdb: jsmith? system_groups_user: jsmith? uid ? ? ? : 1000? gid ? ? ? : 1000? home ? ? ?: /home/jsmith > If that home variable is suppose to be the maildir folder it is wrong.That looks good. About home vs. mail location see http://wiki2.dovecot.org/VirtualUsers/Home (applies to all users) and http://wiki2.dovecot.org/MailLocation>?It should be /var/mail/jsmith. ?If that is the problem, where or how doIs /var/mail/jsmith a directory or a file? If it is a directory, use something like: mail_location = maildir:/var/mail/%n - -or- mail_location = maildir:/var/mail/%n/Maildir depending on how the content of the directory looks like. If it is a file, use mail_location = maildir:~/Maildir:INBOX=/var/mail/%n == How does the userdb section of doveconf -n looks like? - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEVAwUBVrBb/Xz1H7kL/d9rAQJ3ewf9Hif5QHRuwTacc9vPEcRleE++OUpe9V21 nftpqOgDW0a+NX6FRXRABg/lBAP0fUzRN3RKgFmdBLL6N1ZCMyLYKPgyr+8Lcs39 oDJejNSZ+HSjGRIxzH4zbf2G8PDlxjpT02jybJKvmegKIMaPxV9Q4knYj5Zo2IQB lRgL4j+2WnP1P7gKuvvjoX/TbVh7v9cREULDM5krXXkZJ+TtsTMT8v5uYAAbxWGl gdfqVYOF+dLuHrGCe1KdVxvn1vDKuotSpKLFsgr4WluavOQwJx0Ws3/NaKvfj66d 7Xzkg2zR1VnQH9QsnsBeqWzHcm1hwJTlxLmdBwxF8KL/jdF8M1YLfw==sEW+ -----END PGP SIGNATURE-----
WOE HOE! ?Worked! So I changed? mail_location = maildir:/var/mail/%u/Maildirtomail_location = maildir:/var/mail/%n and now it all works! Thanks much! From: Steffen Kaiser <skdovecot at smail.inf.fh-brs.de> To: John Williams <john.1209 at yahoo.com> Cc: "dovecot at dovecot.org" <dovecot at dovecot.org> Sent: Tuesday, February 2, 2016 2:34 AM Subject: Re: Dovecot with Maildir -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 2 Feb 2016, John Williams wrote:> Dovecot logs as follows: > Feb ?1 19:36:34 speedy dovecot: imap-login: Login: user=<rsmith>, method=PLAIN, rip=10.163.195.83, lip=10.163.195.82, mpid=7481, session=<EbuSsb4qPQCto8NT> > Feb ?1 19:36:37 speedy dovecot: imap-login: Login: user=<rsmith>, method=PLAIN, rip=10.163.195.83, lip=10.163.195.82, mpid=7483, session=<qfSzsb4qQQCto8NT> > Feb ?1 19:36:37 speedy dovecot: imap(rsmith): Disconnected: Logged out in=95 out=440Feb ?1 19:37:24 speedy dovecot: imap(rsmith): Connection closed in=275 out=995 > Feb ?1 19:37:27 speedy dovecot: imap-login: Login: user=<rsmith>, method=PLAIN, rip=10.163.195.83, lip=10.163.195.82, mpid=7485, session=<NAm1tL4qRQCto8NT> > Feb ?1 19:37:28 speedy dovecot: imap(rsmith): Disconnected: Logged out in=298 out=1130please increase logging, see mail_debug at http://wiki2.dovecot.org/Logging That will reveal, what mail location and inbox is used really.> The maildir on my instance is located in /var/log/mail./var/__log__/mail ??> The output of doveadm is as follows: > root at speedy:/var/mail# doveadm user -u jsmithuserdb: jsmith? system_groups_user: jsmith? uid ? ? ? : 1000? gid ? ? ? : 1000? home ? ? ?: /home/jsmith > If that home variable is suppose to be the maildir folder it is wrong.That looks good. About home vs. mail location see http://wiki2.dovecot.org/VirtualUsers/Home (applies to all users) and http://wiki2.dovecot.org/MailLocation>?It should be /var/mail/jsmith. ?If that is the problem, where or how doIs /var/mail/jsmith a directory or a file? If it is a directory, use something like: mail_location = maildir:/var/mail/%n - -or- mail_location = maildir:/var/mail/%n/Maildir depending on how the content of the directory looks like. If it is a file, use mail_location = maildir:~/Maildir:INBOX=/var/mail/%n == How does the userdb section of doveconf -n looks like? - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEVAwUBVrBb/Xz1H7kL/d9rAQJ3ewf9Hif5QHRuwTacc9vPEcRleE++OUpe9V21 nftpqOgDW0a+NX6FRXRABg/lBAP0fUzRN3RKgFmdBLL6N1ZCMyLYKPgyr+8Lcs39 oDJejNSZ+HSjGRIxzH4zbf2G8PDlxjpT02jybJKvmegKIMaPxV9Q4knYj5Zo2IQB lRgL4j+2WnP1P7gKuvvjoX/TbVh7v9cREULDM5krXXkZJ+TtsTMT8v5uYAAbxWGl gdfqVYOF+dLuHrGCe1KdVxvn1vDKuotSpKLFsgr4WluavOQwJx0Ws3/NaKvfj66d 7Xzkg2zR1VnQH9QsnsBeqWzHcm1hwJTlxLmdBwxF8KL/jdF8M1YLfw==sEW+ -----END PGP SIGNATURE-----