Hello,
I installed 1.2.3 and we are seeing a few messages in the log files such
as:
---
Aug 4 16:40:24 xyz dovecot: IMAP(john): fchown() failed with file
/home/john/.imap/INBOX/dovecot.index.log.newlock: Operation not permitted
Aug 4 16:40:24 xyz dovecot: IMAP(john): fchown() failed with file
/home/john/.imap/INBOX/dovecot.index.tmp: Operation not permitted
---
dovecot -n:
# 1.2.3: /usr/local/etc/dovecot.conf
# OS: Linux 2.6.20.1 i686 CentOS release 4.7 (Final)
protocols: imap imaps pop3 pop3s
ssl_ca_file: /usr/local/apache/conf/ssl.crt/gd_intermediate_bundle.crt
ssl_cert_file: /usr/local/apache/conf/ssl.crt/xyz.com.cert
ssl_key_file: /usr/local/apache/conf/ssl.key/xyz.com.key
ssl_cipher_list: HIGH:MEDIUM:+TLSv1:!SSLv2:+SSLv3:!ADH:!LOW
disable_plaintext_auth: no
login_dir: /usr/local/var/run/dovecot/login
login_executable(default): /usr/local/libexec/dovecot/imap-login
login_executable(imap): /usr/local/libexec/dovecot/imap-login
login_executable(pop3): /usr/local/libexec/dovecot/pop3-login
mail_max_userip_connections(default): 25
mail_max_userip_connections(imap): 25
mail_max_userip_connections(pop3): 10
mail_privileged_group: mail
mail_location: mbox:~/:INBOX=/var/spool/mail/%u
mail_full_filesystem_access: yes
mmap_disable: yes
fsync_disable: yes
mbox_read_locks: fcntl flock
mbox_write_locks: fcntl flock
mbox_very_dirty_syncs: yes
mail_executable(default): /usr/local/libexec/dovecot/imap
mail_executable(imap): /usr/local/libexec/dovecot/imap
mail_executable(pop3): /usr/local/libexec/dovecot/pop3
mail_process_size: 512
mail_plugin_dir(default): /usr/local/lib/dovecot/imap
mail_plugin_dir(imap): /usr/local/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3
pop3_uidl_format(default): %08Xu%08Xv
pop3_uidl_format(imap): %08Xu%08Xv
pop3_uidl_format(pop3): %08Xv%08Xu
pop3_client_workarounds(default):
pop3_client_workarounds(imap):
pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
lda:
postmaster_address: postmaster at example.com
auth default:
mechanisms: plain login
username_format: %Lu
verbose: yes
passdb:
driver: shadow
userdb:
driver: passwd
---
Permissions look fine in the home directory john, including all
sub-directories. Thanks for letting me know of anything to check/change.
Rob
On Tue, 2009-08-04 at 16:46 -0400, Rob Mangiafico wrote:> Hello, > > I installed 1.2.3 and we are seeing a few messages in the log files such > as: > --- > Aug 4 16:40:24 xyz dovecot: IMAP(john): fchown() failed with file > /home/john/.imap/INBOX/dovecot.index.log.newlock: Operation not permitted > Aug 4 16:40:24 xyz dovecot: IMAP(john): fchown() failed with file > /home/john/.imap/INBOX/dovecot.index.tmp: Operation not permittedThis patch should give you a bit better error message that would explain the reason: http://hg.dovecot.org/dovecot-1.2/rev/8ea90a23ed74 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20090804/520c3950/attachment-0002.bin>
On Tue, 4 Aug 2009, Timo Sirainen wrote:> On Tue, 2009-08-04 at 16:46 -0400, Rob Mangiafico wrote: >> Hello, >> >> I installed 1.2.3 and we are seeing a few messages in the log files such >> as: >> --- >> Aug 4 16:40:24 xyz dovecot: IMAP(john): fchown() failed with file >> /home/john/.imap/INBOX/dovecot.index.log.newlock: Operation not permitted >> Aug 4 16:40:24 xyz dovecot: IMAP(john): fchown() failed with file >> /home/john/.imap/INBOX/dovecot.index.tmp: Operation not permitted > > This patch should give you a bit better error message that would explain > the reason: http://hg.dovecot.org/dovecot-1.2/rev/8ea90a23ed74Thanks. We've applied the patch and will email back if it continues to happen or we have any questions. Rob