[Dovecot] Connecting to dovecot
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 auth default: verbose: yes passdb: driver: passwd-file args: /etc/dovecot/passwd userdb: driver: static args: uid=vmail gid=vmail home=/var/mail/%u #
Here are the errors I'm getting.
dovecot: Sep 16 18:44:15 Info: imap-login: Login: user=<wfoatst>, method=PLAIN, rip=172.20.58.4, lip=172.20.8.215 dovecot: Sep 16 18:44:15 Error: IMAP(wfoatst): mail_location not set and autodetection failed: Mail storage autodetection failed with ho me=/var/mail/wfoatst
Thanks!
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!!!!
on 9-17-2008 7:48 AM Scott Silva spake the following:
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 Forget this last comment, but the mail location is not set properly.
-- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't!!!!
Hi, I had the same error and I discovered it was only a problem of permissions. I just typed: chown -R username:mail /home/username (replace "username" with the real user name)
and I had no more errors! :clap:
View this message in context: http://www.nabble.com/Connecting-to-dovecot-tp19533270p24355726.html Sent from the Dovecot mailing list archive at Nabble.com.
participants (3)
-
billgates1
-
Grant Lowe
-
Scott Silva