[Dovecot] FreeBSD setup: more problems

Dmitry Samersoff dms at samersoff.net
Fri Feb 6 23:28:57 EET 2009


Timo,

Everything seems to be working except I can't access one folder:

I have messages below in the log:

dovecot: Feb 06 21:28:04 Error: IMAP(dms):
file_lock_dotlock() failed with mbox file /var/mail/dms: Permission denied

But permissions seems to be OK:

mircat:dovecot#ls -ld /var/mail
drwxrwxr-x  2 root  mail  512 Feb  6 21:23 /var/mail

mircat:dovecot#ls -l /var/mail/dms
-rw-r-----  1 dms  smmsp  91463 Feb  6 21:31 /var/mail/dms

Dovecot setup:

mail_uid: smmsp
mail_gid: mail

Thank you!
-Dmitry

PS:

Full dovecot -n output below.


mircat:dovecot#/usr/local/dovecot/sbin/dovecot -n
# 1.1.10: /usr/local/dovecot/etc/dovecot.conf
# OS: FreeBSD 6.2-RELEASE i386
base_dir: /var/run/dovecot
log_path: /var/log/dovecot_main.log
info_log_path: /var/log/dovecot_info.log
listen: *:8143
ssl_listen: *:993
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable: /usr/local/dovecot/libexec/dovecot/imap-login
login_user: nobody
login_chroot: no
login_max_processes_count: 30
max_mail_processes: 30
first_valid_uid: 1
mail_uid: smmsp
mail_gid: mail
mail_location: mbox:%h/Mail:INBOX=/var/mail/%u
mail_debug: yes
mbox_lazy_writes: no
auth default:
   failure_delay: 1
   verbose: yes
   debug: yes
   worker_max_request_count: 1
   passdb:
     driver: pam
     args: imap
   userdb:
     driver: passwd





-- 
Dmitry Samersoff
dms at samersoff.net, http://devnull.samersoff.net
* There will come soft rains ...



More information about the dovecot mailing list