I modified mail_location in dovecot.conf : mail_location = mbox:~/mail:INBOX=/var/mail/%u
but still not working :-( Have this in maillog : Dec 5 16:22:53 mailserver dovecot: imap-login: Login: user=<wesley>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=14593, secured Dec 5 16:22:53 mailserver dovecot: imap(wesley): Disconnected: Logged out bytes=29/399 On Mon, 5 Dec 2011 14:10:03 +0200, Gregory Edigarov <g...@bestnet.kharkov.ua> wrote: > On Mon, 05 Dec 2011 15:47:23 +0400 > "Wesley M." <open...@e-solutions.re> wrote: > >> in my /etc/dovecot/dovecot.conf >> i added this line : >> mail_location = mbox:/var/mail/%u >> >> when i atempt to connect using webmail (roundcube) and do a "tail -f >> /var/log/maillog", i have : >> >> Dec 5 15:45:19 mailserver dovecot: imap-login: Login: user=<wesley>, >> method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=1502, secured >> Dec 5 15:45:19 mailserver dovecot: imap(wesley): Error: user wesley: >> Initialization failed: Initializing mail storage from mail_location >> setting failed: mbox: mbox root directory can't be a >> file: /var/mail/wesley (http://wiki2.dovecot.org/MailLocation/Mbox) >> Dec 5 15:45:19 mailserver dovecot: imap(wesley): Error: Invalid user >> settings. Refer to server log for more information. >> >> Also, mail are in : /var/mail/%u (mbox) >> If i add a user, does it need a home directory ? >> >> If someone can help me. > actually, if you read your log message carefully - you will be able to > solve it yourself. > http://wiki2.dovecot.org/MailLocation/mbox > gives you the right syntax. > >> >> >> On Mon, 5 Dec 2011 12:26:55 +0100, Vitali <coonar...@gmail.com> wrote: >> > On Mon, Dec 5, 2011 at 11:56 AM, Wesley M. <open...@e-solutions.re> >> wrote: >> >> Hi, >> >> >> >> Thank you for your reply. >> >> Already done. But still doesn't work. >> >> I have "connection error on imap server" >> >> >> >> I have 3 users created, with 3 2 domains hosted. >> >> 993, 143 dovecot ports (imaps,imap) listen OK. >> >> >> >> ? >> > >> > Please, try to connect to your IMAP port manually to see what it's >> > going to reply. >> > >> > # telnet your.imap.host 143 >> > here there will be imap server messages... >> > you then type: >> > a001 login username passwd >> > here must imap server's messages... >> > a002 logout >> > # >> > >> > V.