[csw-devel] SF.net SVN: gar:[3815] csw/mgar/pkg/dovecot/trunk

skayser at users.sourceforge.net skayser at users.sourceforge.net
Thu Mar 19 14:32:58 CET 2009


Revision: 3815
          http://gar.svn.sourceforge.net/gar/?rev=3815&view=rev
Author:   skayser
Date:     2009-03-19 13:32:58 +0000 (Thu, 19 Mar 2009)

Log Message:
-----------
dovecot: added ulimit -n to init script, updated changelog/README

Modified Paths:
--------------
    csw/mgar/pkg/dovecot/trunk/Makefile
    csw/mgar/pkg/dovecot/trunk/checksums
    csw/mgar/pkg/dovecot/trunk/files/CSWdovecot.README.CSW
    csw/mgar/pkg/dovecot/trunk/files/CSWdovecot.changelog.CSW
    csw/mgar/pkg/dovecot/trunk/files/CSWdovecot.cswdovecot

Modified: csw/mgar/pkg/dovecot/trunk/Makefile
===================================================================
--- csw/mgar/pkg/dovecot/trunk/Makefile	2009-03-19 13:18:45 UTC (rev 3814)
+++ csw/mgar/pkg/dovecot/trunk/Makefile	2009-03-19 13:32:58 UTC (rev 3815)
@@ -87,17 +87,17 @@
 
 include gar/category.mk
 
-# Adjust file paths in various files. Not a prerequisite to the remaining build
-# process, but i found it easiest # to put it here and not clutter post-install
-# even more
+# Adjust file paths in various files. Not a prerequisite to the remaining 
+# build process, but i found it easiest to put it here and not clutter 
+# post-install even more
 pre-install-modulated:
 	@perl -pi -e 's|/etc/ssl|/opt/csw/ssl|' $(WORKSRC)/doc/mkcert.sh
 	@perl -pi -e '\
 		s| /var/run| /var/opt/csw/run|; \
 		s| /etc/ssl| /opt/csw/ssl|; \
 		s| /usr/libexec| /opt/csw/libexec|; \
-		s| /usr/lib/dovecot| /opt/csw/lib/dovecot|; \
-		' $(WORKSRC)/dovecot-example.conf
+		s| /usr/lib/dovecot| /opt/csw/lib/dovecot|;' \
+		$(WORKSRC)/dovecot-example.conf
 	@$(MAKECOOKIE)
 
 # Maybe there is a nicer way to build this via modulations ...

Modified: csw/mgar/pkg/dovecot/trunk/checksums
===================================================================
--- csw/mgar/pkg/dovecot/trunk/checksums	2009-03-19 13:18:45 UTC (rev 3814)
+++ csw/mgar/pkg/dovecot/trunk/checksums	2009-03-19 13:32:58 UTC (rev 3815)
@@ -1,2 +1,4 @@
 c973eb41aca79fb16630a16f0d84f765  download/dovecot-1.1.11.tar.gz
+1f39cae3a38d10169fe31f246095b67f  download/patch-authcrash.diff
+b6bdbd7b8e6f513a8f19dbc0a7507aa6  download/patch-enosys.diff
 765a31bece26ed3cebee784dc4aa8216  download/patch-exampleconf.diff

Modified: csw/mgar/pkg/dovecot/trunk/files/CSWdovecot.README.CSW
===================================================================
--- csw/mgar/pkg/dovecot/trunk/files/CSWdovecot.README.CSW	2009-03-19 13:18:45 UTC (rev 3814)
+++ csw/mgar/pkg/dovecot/trunk/files/CSWdovecot.README.CSW	2009-03-19 13:32:58 UTC (rev 3815)
@@ -1,17 +1,56 @@
-Service user accounts
-=====================
-The CSWdovecot package will create a service user account (dovecot) for you in
-case no user account by this name exists upon installation. This user account
-is required for the dovecot login service (and nothing else).
+Configuration file
+------------------
 
+The default configuration path is /opt/csw/etc/dovecot.conf. CSWdovecot
+brings with it a sample configuration (suffixed with .CSW) that will be
+installed when dovecot.conf doesn't exist yet. This sample configuration
+provides IMAP/POP3 and IMAPS/POP3S services to system users and uses a
+self-signed certificate that comes with the package.
+
+When you adjust dovecot.conf, package upgrades will preserve your
+configuration and just install the sample configuration as dovecot.conf.CSW.
+
+
+Machine-local configuration in shared /opt setups
+-------------------------------------------------
+
+If you share /opt among several machines (via NFS for example) you can use
+/etc/opt/csw/dovecot.conf as machine-local configuration. The dovecot
+startup script will then use it instead of the default configuration.
+
+
+User accounts
+-------------
+
+On installation CSWdovecot will create a user named dovecot in case no user
+account by this name exists. This user account is required for the Dovecot
+login service (and nothing else).
+
 If you want to use Dovecot for virtual users, you need to create another
-service user account (!= dovecot). For background information, see
+user account (!= dovecot). For background information, see
 
   http://wiki.dovecot.org/UserIds
 
+
 Upgrading
-=========
+---------
+
 For upgrading information from other IMAP servers or previous Dovecot
 versions, see
 
   http://wiki.dovecot.org/UpgradingDovecot
+
+
+Sieve plugin
+------------
+
+Sieve support (via the cmusieve plugin) is contained in the CSWdovecot_sieve
+package. If required install this package and add
+
+  mail_plugins = cmusieve
+
+to the "protocol lda" section in dovecot.conf. This requires that you use
+Dovecot's deliver as LDA of course. See the following URLs for details
+
+  http://wiki.dovecot.org/LDA
+  http://wiki.dovecot.org/LDA/Sieve#CMUSieve_Plugin

Modified: csw/mgar/pkg/dovecot/trunk/files/CSWdovecot.changelog.CSW
===================================================================
--- csw/mgar/pkg/dovecot/trunk/files/CSWdovecot.changelog.CSW	2009-03-19 13:18:45 UTC (rev 3814)
+++ csw/mgar/pkg/dovecot/trunk/files/CSWdovecot.changelog.CSW	2009-03-19 13:32:58 UTC (rev 3815)
@@ -1,7 +1,9 @@
-dovecot (1.1.11) REV=2009.03.15
+dovecot (1.1.11) REV=2009.03.19
 
   * Package adopted again and updated to 1.1.11.
   * Tested and validated LDAP interopability with PAM. (Closes: #2760)
   * Adjusted SSLDIR in mkcert.sh. (Closes: #3027)
+  * Compiled with --localstatedir=/var/opt/csw. Changes base_dir from
+    /opt/csw/var/run/dovecot to /var/opt/csw/run/dovecot.
 
- -- Sebastian Kayser <skayser at opencsw.org>  Sun, 15 Mar 2009 18:19:59 +0100
+ -- Sebastian Kayser <skayser at opencsw.org>  Thu, 19 Mar 2009 14:02:16 +0100

Modified: csw/mgar/pkg/dovecot/trunk/files/CSWdovecot.cswdovecot
===================================================================
--- csw/mgar/pkg/dovecot/trunk/files/CSWdovecot.cswdovecot	2009-03-19 13:18:45 UTC (rev 3814)
+++ csw/mgar/pkg/dovecot/trunk/files/CSWdovecot.cswdovecot	2009-03-19 13:32:58 UTC (rev 3815)
@@ -27,6 +27,7 @@
 case "$1" in
   start)
     echo "Starting Dovecot"
+    ulimit -n 1024
     $DAEMON -c $CONF
     ;;
   stop)
@@ -51,6 +52,7 @@
       kill `cat $pidfile`
       sleep 1
     fi
+    ulimit -n 1024
     $DAEMON -c $CONF
     ;;
   *)


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list