[dovecot-cvs] dovecot configure.in, 1.164, 1.165 dovecot-example.conf, 1.88, 1.89

cras at procontrol.fi cras at procontrol.fi
Sun May 30 01:21:41 EEST 2004


Update of /home/cvs/dovecot
In directory talvi:/tmp/cvs-serv32116

Modified Files:
	configure.in dovecot-example.conf 
Log Message:
Added maildir_stat_dirs option.



Index: configure.in
===================================================================
RCS file: /home/cvs/dovecot/configure.in,v
retrieving revision 1.164
retrieving revision 1.165
diff -u -d -r1.164 -r1.165
--- a/configure.in	26 May 2004 15:26:05 -0000	1.164
+++ b/configure.in	29 May 2004 22:21:39 -0000	1.165
@@ -448,6 +448,16 @@
     ;;
 esac
 
+dnl * Do we have struct dirent->d_type
+AC_TRY_COMPILE([
+  #include <dirent.h>
+], [
+  struct dirent d;
+  d.d_type = DT_DIR;
+], [
+  AC_DEFINE(HAVE_DIRENT_D_TYPE,, Define if you have struct dirent->d_type)
+])
+
 dnl * Do we have OFF_T_MAX?
 AC_TRY_COMPILE([
   #include <limits.h>

Index: dovecot-example.conf
===================================================================
RCS file: /home/cvs/dovecot/dovecot-example.conf,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -d -r1.88 -r1.89
--- a/dovecot-example.conf	26 May 2004 03:08:48 -0000	1.88
+++ b/dovecot-example.conf	29 May 2004 22:21:39 -0000	1.89
@@ -270,6 +270,13 @@
 # which may be slower. Required for NFS.
 #fcntl_locks_disable = no
 
+# By default LIST command returns all entries in maildir beginning with dot.
+# Enabling this option makes Dovecot return only entries which are directories.
+# This is done by stat()ing each entry, so it causes more disk I/O.
+# (For systems setting struct dirent->d_type, this check is free and it's
+# done always regardless of this setting)
+#maildir_stat_dirs = no
+
 # Copy mail to another folders using hard links. This is much faster than
 # actually copying the file. This is problematic only if something modifies
 # the mail in one folder but doesn't want it modified in the others. I don't



More information about the dovecot-cvs mailing list