Software: Apache/2.0.54 (Fedora). PHP/5.0.4 uname -a: Linux mina-info.me 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 uid=48(apache) gid=48(apache) groups=48(apache) Safe-mode: OFF (not secure) /usr/share/doc/dovecot-0.99.14/ drwxr-xr-x |
Viewing file: Select action/file-type: Index files aren't NFS safe, and they likely won't be made. You can access the actual mailboxes via NFS, but place the indexes into local hard disk (see mail-storage.txt). - .customflags and .subscriptions files require fcntl() locking currently. Many NFS servers don't support it, at least without a separate lockd daemon. These will be fixed later to be NFS-safe by default. - .lock files currently rely on O_EXCL which doesn't work with NFSv2 servers. Also Linux's NFSv3 client still doesn't work with this either. This will be fixed later to use temporary files and link(). - gethostname() must return different name for each IMAP server accessing a user's mailboxes - Clocks should be synchronized or things can start to fail. If you _really_ wish to try using indexes via NFS: - Indexes are shared mmap()ed and we rely on noticing changes made by others. If your OS doesn't perform some magical mmap() updates (likely won't), you'll need to modify the code so that each index update will update sync_id in the header, and each time when index is accessed, the sync_id should be read(). If it has changed, the file has to be re-mmap()ed. - Indexes require fcntl() locking. .lock files would be pretty slow, but possible. - Modifylog uses fcntl() for figuring out when to delete the log file, and assumes that changing file locking between F_RDLCK / F_WRLCK is atomic (not sure if this is the case with all operating systems, I hope so). This anyway would be more difficult to change not to use fcntl(). |
:: Command execute :: | |
--[ c99shell v. 1.0 pre-release build #16 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0027 ]-- |