[Dovecot] 1.2.alpha1: file_dotlock_open() failed with subscription file
Hi *,
running dovecot 1.2.alpha1 I find the following messages in the log:
Sep 10 01:28:38 seymour dovecot: IMAP(steffen,192.168.28.31): fchown(/home/Mail/steffen/subscriptions.lock) failed: Operation not permitted Sep 10 01:28:38 seymour dovecot: IMAP(steffen,192.168.28.31): file_dotlock_open() failed with subscription file /home/Mail/steffen/subscriptions: Operation not permitted Sep 10 01:28:38 seymour dovecot: IMAP(steffen,192.168.28.31): fchown(/home/Mail/steffen/subscriptions.lock) failed: Operation not permitted Sep 10 01:28:38 seymour dovecot: IMAP(steffen,192.168.28.31): file_dotlock_open() failed with subscription file /home/Mail/steffen/subscriptions: Operation not permitted Sep 10 01:28:52 seymour dovecot: IMAP(steffen,192.168.28.31): fchown(/home/Mail/steffen/subscriptions.lock) failed: Operation not permitted Sep 10 01:28:52 seymour dovecot: IMAP(steffen,192.168.28.31): file_dotlock_open() failed with subscription file /home/Mail/steffen/subscriptions: Operation not permitted
File permissions are:
-rw------- 1 steffen elsner 124 Aug 22 12:51 /home/Mail/steffen/subscriptions
And finally the output of "dovecot -n" reads:
# 1.2.alpha1: /usr/local/dovecot/etc/dovecot.conf base_dir: /var/run/dovecot/ ssl_cert_file: /usr/local/etc/seymour.crt ssl_key_file: /usr/local/etc/seymour.key disable_plaintext_auth: no login_dir: /var/run/dovecot//login login_executable: /usr/dovecot/libexec/dovecot/imap-login login_greeting: c64.shuttle.de - Dovecot ready. login_log_format_elements: %u %r %c login_processes_count: 2 verbose_proctitle: yes first_valid_uid: 100 last_valid_uid: 65534 mail_location: maildir:/home/Mail/%u:INDEX=MEMORY maildir_copy_preserve_filename: yes mail_executable: /usr/dovecot/libexec/dovecot/imap mail_plugin_dir: /usr/dovecot/lib/dovecot/imap mail_log_prefix: %Us(%u,%r): mail_log_max_lines_per_sec: 100 imap_client_workarounds: netscape-eoh tb-extra-mailbox-sep imap_logout_format: [%i/%o] auth default: executable: /usr/dovecot/libexec/dovecot/dovecot-auth master_user_separator: / passdb: driver: pam args: dovecot passdb: driver: passwd-file args: /usr/dovecot/etc/masters userdb: driver: passwd plugin: mail_log_events: delete undelete expunge copy mailbox_delete
What's behind? Critical? How to solve?
Regards, Frank Elsner
On Wed, 2008-09-10 at 11:13 +0200, Frank Elsner wrote:
Sep 10 01:28:38 seymour dovecot: IMAP(steffen,192.168.28.31): fchown(/home/Mail/steffen/subscriptions.lock) failed: Operation not permitted
This'll improve the error message: http://hg.dovecot.org/dovecot-1.2/rev/c22b7db8c173
File permissions are:
-rw------- 1 steffen elsner 124 Aug 22 12:51 /home/Mail/steffen/subscriptions
What about /home/Mail/steffen directory's? It's probably trying to preserve its group. If so, either change the group or chmod g+s it or give mail process permission for that group.
On Wed, 10 Sep 2008 21:48:01 +0300 Timo Sirainen wrote:
On Wed, 2008-09-10 at 11:13 +0200, Frank Elsner wrote:
Sep 10 01:28:38 seymour dovecot: IMAP(steffen,192.168.28.31): fchown(/home/Mail/steffen/subscriptions.lock) failed: Operation not permitted
This'll improve the error message: http://hg.dovecot.org/dovecot-1.2/rev/c22b7db8c173
File permissions are:
-rw------- 1 steffen elsner 124 Aug 22 12:51 /home/Mail/steffen/subscriptions
What about /home/Mail/steffen directory's? It's probably trying to preserve its group. If so, either change the group or chmod g+s it or give mail process permission for that group.
# ls -dal /home/Mail/steffen drwxr-x--- 19 steffen mail 4096 Sep 10 22:12 /home/Mail/steffen/
--Frank Elsner
On Thu, 2008-09-11 at 09:54 +0200, Frank Elsner wrote:
On Wed, 10 Sep 2008 21:48:01 +0300 Timo Sirainen wrote:
On Wed, 2008-09-10 at 11:13 +0200, Frank Elsner wrote:
Sep 10 01:28:38 seymour dovecot: IMAP(steffen,192.168.28.31): fchown(/home/Mail/steffen/subscriptions.lock) failed: Operation not permitted
This'll improve the error message: http://hg.dovecot.org/dovecot-1.2/rev/c22b7db8c173
File permissions are:
-rw------- 1 steffen elsner 124 Aug 22 12:51 /home/Mail/steffen/subscriptions
What about /home/Mail/steffen directory's? It's probably trying to preserve its group. If so, either change the group or chmod g+s it or give mail process permission for that group.
# ls -dal /home/Mail/steffen drwxr-x--- 19 steffen mail 4096 Sep 10 22:12 /home/Mail/steffen/
Does it need to have mail group? I'd say chgrp it to elsner.
On Thu, 11 Sep 2008 11:12:05 +0300 Timo Sirainen wrote:
On Thu, 2008-09-11 at 09:54 +0200, Frank Elsner wrote:
On Wed, 10 Sep 2008 21:48:01 +0300 Timo Sirainen wrote:
On Wed, 2008-09-10 at 11:13 +0200, Frank Elsner wrote:
Sep 10 01:28:38 seymour dovecot: IMAP(steffen,192.168.28.31): fchown(/home/Mail/steffen/subscriptions.lock) failed: Operation not permitted
This'll improve the error message: http://hg.dovecot.org/dovecot-1.2/rev/c22b7db8c173
File permissions are:
-rw------- 1 steffen elsner 124 Aug 22 12:51 /home/Mail/steffen/subscriptions
What about /home/Mail/steffen directory's? It's probably trying to preserve its group. If so, either change the group or chmod g+s it or give mail process permission for that group.
# ls -dal /home/Mail/steffen drwxr-x--- 19 steffen mail 4096 Sep 10 22:12 /home/Mail/steffen/
Does it need to have mail group? I'd say chgrp it to elsner.
No. Changed.
Thanks, Frank Elsner
participants (3)
-
Frank Elsner
-
Frank Elsner
-
Timo Sirainen