[Dovecot] Corrected permissions for login directory message

Nicolas Letellier nicolas at nicoelro.net
Thu Sep 11 16:45:09 EEST 2008


Hello.

I already have this warn message when I start dovecot (1.1.3). I saw
some message in mailing list about this warning, but nothing which
solve my problem.

See the message:

root at machine dovecot $  /usr/local/etc/rc.d/dovecot restart
Stopping dovecot.
Waiting for PIDS: 47494.
Starting dovecot.
Warning: Corrected permissions for login
directory /var/run/dovecot/login

See the permissions:
ls -l /var/rundrwxr-xr-x  3 root   wheel      512 Sep 11 15:42 dovecot

ls -l /var/run/dovecot/
srw-rw----  1 dovecot  mail            0 Sep 11 15:42 auth-master
srw-------  1 root     wheel           0 Sep 11 15:42 auth-worker.47529
srwxrwxrwx  1 root     wheel           0 Sep 11 15:42 dict-server
drwxr-x---  2 root     dovecot-auth  512 Sep 11 15:42 login
-rw-------  1 root     wheel           6 Sep 11 15:42 master.pid

ls -l /var/run/dovecot/login/
srw-rw----  1 root  dovecot-auth    0 Sep 11 15:42 default
-rw-r--r--  2 root  wheel         230 Sep 11 15:41 ssl-parameters.dat

And the dovecot conf:
# 1.1.3: /usr/local/etc/dovecot.conf
syslog_facility: local6
ssl_cert_file: /etc/ssl/mail/mail.nicoelro.net.cert
ssl_key_file: /etc/ssl/mail/mail.nicoelro.net.key
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable: /usr/local/libexec/dovecot/imap-login
login_user: dovecot-auth
login_greeting: Mail Server
login_processes_count: 2
verbose_proctitle: yes
first_valid_uid: 143
last_valid_uid: 143
first_valid_gid: 143
last_valid_gid: 143
mail_access_groups: mail
mail_location: maildir:/var/mail/vmail/%u/
mail_plugins: quota imap_quota
imap_client_workarounds: delay-newmail outlook-idle netscape-eoh
tb-extra-mailbox-sep auth default:
  mechanisms: plain login
  passdb:
    driver: sql
    args: /usr/local/etc/dovecot/dovecot-sql.conf
  userdb:
    driver: sql
    args: /usr/local/etc/dovecot/dovecot-sql.conf
  socket:
    type: listen
    client:
      path: /var/spool/postfix/private/auth
      mode: 432
      user: postfix
    master:
      path: /var/run/dovecot/auth-master
      mode: 432
      user: dovecot
      group: mail
plugin:
  quota: maildir
  sieve: /var/mail/vmail/%u/sieve


Thanks for your informations.

-- 
 - Nicolas.


More information about the dovecot mailing list