Re: [Dovecot] Connecting to dovecot
So should I comment out the "mail_location = /var/mail/%u" line?
----- Original Message ---- From: Scott Silva ssilva@sgvwater.com To: dovecot@dovecot.org Sent: Wednesday, September 17, 2008 7:53:43 AM Subject: Re: [Dovecot] Connecting to dovecot
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!!!!
on 9-17-2008 8:37 AM Grant Lowe spake the following:
So should I comment out the "mail_location = /var/mail/%u" line?
Read the wiki I posted. You need to prepend it with what type of mail storage format you are using like mail_location = mbox:/var/mail/%u or mail_location = Maildir:/var/mail/%u depending on your mail storage type. You also might need to add lines for index.
http://wiki.dovecot.org/MailLocation is full of helpful info.
-- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't!!!!
participants (2)
-
Grant Lowe
-
Scott Silva