[Dovecot] Connecting to dovecot

Grant Lowe glowe at sbcglobal.net
Wed Sep 17 22:44:24 EEST 2008


Hi Scott.

Thanks for the help!  Appricate the feedback.

I reset the dovecot.conf.  Here's the output of dovecot -n now:

#
# 1.1.2: /usr/local/etc/dovecot.conf
base_dir: /var/run/dovecot/
log_path: /var/log/dovecot.log
ssl_disable: yes
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable: /usr/local/libexec/dovecot/imap-login
auth default:
  verbose: yes
  passdb:
    driver: pam
  userdb:
    driver: passwd
#

I'm still getting the same error as before:

ovecot: Sep 17 12:42:43 Info: imap-login: Login: user=<wfoatst>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
dovecot: Sep 17 12:42:43 Error: IMAP(wfoatst): mail_location not set and autodetection failed: Mail storage autodetection failed with home=/var/mail/wfoatst
dovecot: Sep 17 12:42:43 Fatal: IMAP(wfoatst): Namespace initialization failed

Any more thoughts?




----- Original Message ----
From: Scott Silva <ssilva at sgvwater.com>
To: dovecot at dovecot.org
Sent: Wednesday, September 17, 2008 7:48:39 AM
Subject: Re: [Dovecot] Connecting to dovecot

on 9-17-2008 7:25 AM Grant Lowe spake the following:
> Hi All,
> 
> I've got a brand new dovecot installation.  I'm new to dovecot, so please be gentle  :-)
> 
> Anyway,
> I'm getting some errors when I try to connect to dovecot. I've tried
> searching the web and haven't been able to find a lot of information. 
> Here's the config info:
> 
> # dovecot --version
> 1.1.2
> # dovecot -n
> sudo dovecot -n
> # 1.1.2: /usr/local/etc/dovecot.conf
> base_dir: /var/run/dovecot/
> log_path: /var/log/dovecot.log
> ssl_disable: yes
> disable_plaintext_auth: no
> login_dir: /var/run/dovecot//login
> login_executable: /usr/local/libexec/dovecot/imap-login
> mail_location: /var/mail/%u
You need to fix your mail location setting;
see http://wiki.dovecot.org/MailLocation

> auth default:
>   verbose: yes
>   passdb:
>     driver: passwd-file
>     args: /etc/dovecot/passwd
>   userdb:
>     driver: static
>     args: uid=vmail gid=vmail home=/var/mail/%u
Since you are also setting mail location here with home setting, you are 
probably resolving to /var/mail/%u/var/mail/%u


-- 
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!


More information about the dovecot mailing list