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.


On Mon, 5 Dec 2011 12:26:55 +0100, Vitali <[email protected]> wrote:
> On Mon, Dec 5, 2011 at 11:56 AM, Wesley M. <[email protected]>
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.

Reply via email to