How can I configure the dovecot for working with maildir's through NFS? If I add option "index_mmap_invalidate = yes" (as in doc/nfs.t) then in log I have this message: "Error: Error in configuration file /etc/dovecot.conf line 296: Unknown setting: index_mmap_invalidate" If I try to get the mail without option "index_mmap_invalidate" then I have in log this message: "Error: POP3(butyrev.lk): mail_index_lock_fd() failed with file /var/mail/sam-butyrev.lk/dovecot.index.log: No locks available dovecot: Error: POP3(butyrev.lk): mail_index_wait_lock_fd() failed with file /var/mail/sam-butyrev.lk/dovecot.index.log: No locks available dovecot: Error: POP3(butyrev.lk): Couldn't open INBOX: Internal error occured. Refer to server log for more information." dovecot-stable-20050414
I think it might be replaced with "mmap_disable=yes" (see the dovecot-example.conf). I guess the nfs.txt file is a little out of date. Chris On Thu, 14 Apr 2005 19:18:05 +0500 Lev Butyrev <butyrev.lk at mgsm.ru> wrote:> How can I configure the dovecot for working with maildir's through NFS? > > If I add option "index_mmap_invalidate = yes" (as in doc/nfs.t) then in log I > have this message: > > "Error: Error in configuration file /etc/dovecot.conf line 296: Unknown > setting: index_mmap_invalidate" > > If I try to get the mail without option "index_mmap_invalidate" then I have in > log this message: > > "Error: POP3(butyrev.lk): mail_index_lock_fd() failed with > file /var/mail/sam-butyrev.lk/dovecot.index.log: No locks available dovecot: > Error: POP3(butyrev.lk): mail_index_wait_lock_fd() failed with > file /var/mail/sam-butyrev.lk/dovecot.index.log: No locks available dovecot: > Error: POP3(butyrev.lk): Couldn't open INBOX: Internal error occured. Refer > to server log for more information." > > dovecot-stable-20050414 >--+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+-- Christopher Wakelin, c.d.wakelin at reading.ac.uk IT Services Centre, The University of Reading, Tel: +44 (0)118 378 8439 Whiteknights, Reading, RG6 2AF, UK Fax: +44 (0)118 975 3094
>I think it might be replaced with "mmap_disable=yes" (see the >dovecot-example.conf). I guess the nfs.txt file is a little out of date. > >ChrisI try to use option "mmap_disable=yes", but in dovecot logs same messages: "mail_index_lock_fd() failed with file /var/mail/sam-butyrev.lk/dovecot.index.log: No locks available\ ..." In syslog such messages: kernel: lockd: cannot monitor ip_address_nfs_server kernel: lockd: failed to monitor ip_address_nfs_server nfs server Solaris 9 nfs client linux slackware 10.1 with kernel 2.4.29 Sory for my english.