[Midnightbsd-cvs] mports: mports/mail: remove dovecot devel port.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Mar 7 12:37:51 EST 2009


Log Message:
-----------
remove dovecot devel port.  we don't have time to keep up on this

Modified Files:
--------------
    mports/mail:
        Makefile (r1.49 -> r1.50)

Removed Files:
-------------
    mports/mail/dovecot-devel:
        Makefile
        distinfo
        pkg-deinstall
        pkg-descr
        pkg-install
        pkg-message
        pkg-plist
    mports/mail/dovecot-devel/files:
        dovecot.sh.in
        patch-dovecot-example.conf

-------------- next part --------------
--- mail/dovecot-devel/pkg-message
+++ /dev/null
@@ -1,8 +0,0 @@
- You can get basic IMAP and POP3 services running by enabling
- dovecot in /etc/rc.conf.
-
- In this basic configuration Dovecot will authenticate users against
- the system's passwd file and use the default /var/mail/$USER mbox
- files.
-
-  echo dovecot_enable="YES" >> /etc/rc.conf
--- mail/dovecot-devel/pkg-install
+++ /dev/null
@@ -1,106 +0,0 @@
-#!/bin/sh
-# 
-# $MidnightBSD: mports/mail/dovecot-devel/pkg-install,v 1.1 2008/06/23 19:56:44 laffer1 Exp $
-# ex:ts=4
-
-ask() {
-	local question default answer
-
-	question=$1
-	default=$2
-	if [ -z "${PACKAGE_BUILDING}" -a -z "${BATCH}" ]; then
-		read -p "${question} [${default}]? " answer
-	fi
-	echo ${answer:-${default}}
-}
-
-yesno() {
-	local question default answer
-
-	question=$1
-	default=$2
-	while :; do
-		answer=$(ask "${question}" "${default}")
-		case "${answer}" in
-		[Yy]*)	return 0;;
-		[Nn]*)	return 1;;
-		esac
-		echo "Please answer yes or no."
-	done
-}
-
-create_account() {
-	local port user uid group gid gcos home shell
-
-	port=$1
-	user=${2%:*}
-	uid=${2#*:}
-	group=${3%:*}
-	gid=${3#*:}
-	gcos=$4
-	home=$5
-	shell=$6
-
-	pw_user_uid=$(pw usershow -n "${user}" 2>/dev/null | cut -d: -f3)
-	pw_uid_user=$(pw usershow -u "${uid}" 2>/dev/null | cut -d: -f1)
-	pw_group_gid=$(pw groupshow -n "${group}" 2>/dev/null | cut -d: -f3)
-	pw_gid_group=$(pw groupshow -g "${gid}" 2>/dev/null | cut -d: -f1)
-
-	if [ -z "${pw_group_gid}" -a -z "${pw_gid_group}" ]; then
-		echo "You need a ${group} group; creating it..."
-		pw groupadd "${group}" -g "${gid}" || exit
-		echo "Done."
-	elif [ "${gid}" = "${pw_group_gid}" -a "${group}" = "${pw_gid_group}" ]; then
-		echo "Using existing ${group} group."
-	else
-		echo "${port} has reserved the groupname '${group}' and gid '${gid}':"
-		[ -n "${pw_group_gid}" -a "${gid}"   != "${pw_group_gid}" ] \
-			&& echo "ERROR: groupname '${group}' already in use by gid '${pw_group_gid}'"
-		[ -n "${pw_gid_group}" -a "${group}" != "${pw_gid_group}" ] \
-			&& echo "ERROR: gid '${gid}' already in use by group '${pw_gid_group}'"
-		echo "Please resolve these issues and try again:"
-		echo "Either remove the conflicting group or if you wish to continue using a legacy group override DOVECOT_GID."
-		exit 1
-	fi
-
-	if [ -z "${pw_user_uid}" -a -z "${pw_uid_user}" ]; then
-		echo "You need a ${user} user; creating it..."
-		pw useradd "${user}" -u "${uid}" -g "${group}" -c "${gcos}" -d "${home}" -s "${shell}"
-		echo "Done."
-	elif [ "${uid}" = "${pw_user_uid}" -a "${user}" = "${pw_uid_user}" ]; then
-		echo "Using existing ${user} user."
-	else
-		echo "${port} has reserved the username '${user}' and uid '${uid}':"
-		[ -n "${pw_user_uid}" -a "${uid}"  != "${pw_user_uid}" ] \
-			&& echo "ERROR: username '${user}' already in use by uid '${pw_user_uid}'"
-		[ -n "${pw_uid_user}" -a "${user}" != "${pw_uid_user}" ] \
-			&& echo "ERROR: uid '${uid}' already in use by user '${pw_uid_user}'"
-		echo "Please resolve these issues and try again:"
-		echo "Either remove the conflicting user or if you wish to continue using a legacy user override DOVECOT_UID."
-		exit 1
-	fi
-}
-
-case $2 in
-
-PRE-INSTALL)
-	create_account Dovecot dovecot:${DOVECOT_UID:-143} dovecot:${DOVECOT_GID:-143} "Dovecot User" /var/empty /usr/sbin/nologin
-	;;
-
-POST-INSTALL)
-	base=/var/run/dovecot
-	DIRLIST="${base} ${base}/login"
-	echo "Fixing ownerships and modes in \"${base}\"."
-	for directory in ${DIRLIST}; do
-		if [ ! -d "${directory}" ]; then
-			mkdir -p ${directory}
-			echo "Created directory: ${directory}"
-		fi
-	done
-	chown -R root:wheel   ${base}
-	chmod -R 0755         ${base}
-	chown -R root:dovecot ${base}/login
-	chmod -R 0750         ${base}/login
-	;;
-
-esac
--- mail/dovecot-devel/pkg-descr
+++ /dev/null
@@ -1,7 +0,0 @@
-Dovecot is a secure and compact IMAP server which is in the early stages
-of developement. It supports Maildirs and mbox formats and much of the
-IMAP v4 protocol including SSL/TLS. IPv6 support is also included.
-Dovecot supports authentication with OpenLDAP, PostgreSQL, MySQL, vpopmail
-and PAM.
-
-WWW: http://www.dovecot.org/
--- mail/dovecot-devel/pkg-plist
+++ /dev/null
@@ -1,94 +0,0 @@
- at comment $FreeBSD: ports/mail/dovecot-devel/pkg-plist,v 1.28 2008/05/04 09:28:54 delphij Exp $
- at unexec if cmp -s %D/etc/dovecot-example.conf %D/etc/dovecot.conf; then rm -f %D/etc/dovecot.conf; fi
-etc/dovecot-example.conf
- at exec if [ ! -f %D/etc/dovecot.conf ] ; then cp -p %D/%F %B/dovecot.conf; fi
-%%PORTDOCS%%etc/dovecot-ldap-example.conf
-%%PORTDOCS%%etc/dovecot-sql-example.conf
- at dirrmtry include/dovecot
- at dirrm lib/dovecot/auth
-lib/dovecot/imap/lib01_acl_plugin.so
-lib/dovecot/imap/lib02_lazy_expunge_plugin.so
-lib/dovecot/imap/lib10_quota_plugin.so
-lib/dovecot/imap/lib11_imap_quota_plugin.a
-lib/dovecot/imap/lib11_imap_quota_plugin.la
-lib/dovecot/imap/lib11_imap_quota_plugin.so
-lib/dovecot/imap/lib11_trash_plugin.so
-lib/dovecot/imap/lib20_convert_plugin.so
-lib/dovecot/imap/lib20_fts_plugin.so
-lib/dovecot/imap/lib20_expire_plugin.so
-lib/dovecot/imap/lib20_mail_log_plugin.so
-lib/dovecot/imap/lib20_mbox_snarf_plugin.so
-lib/dovecot/lib20_zlib_plugin.a
-lib/dovecot/lib20_zlib_plugin.la
-lib/dovecot/imap/lib20_zlib_plugin.so
-lib/dovecot/imap/lib21_fts_squat_plugin.so
- at dirrm lib/dovecot/imap
-lib/dovecot/lda/lib01_acl_plugin.so
-lib/dovecot/lda/lib10_quota_plugin.so
-lib/dovecot/lda/lib11_trash_plugin.so
-lib/dovecot/lda/lib20_convert_plugin.so
-lib/dovecot/lda/lib20_expire_plugin.so
-lib/dovecot/lda/lib20_fts_plugin.so
-lib/dovecot/lda/lib20_mail_log_plugin.so
-lib/dovecot/lda/lib21_fts_squat_plugin.so
- at dirrm lib/dovecot/lda
-lib/dovecot/pop3/lib02_lazy_expunge_plugin.so
-lib/dovecot/pop3/lib10_quota_plugin.so
-lib/dovecot/pop3/lib20_convert_plugin.so
-lib/dovecot/pop3/lib20_expire_plugin.so
-lib/dovecot/pop3/lib20_mail_log_plugin.so
-lib/dovecot/pop3/lib20_mbox_snarf_plugin.so
- at dirrm lib/dovecot/pop3
-lib/dovecot/lib01_acl_plugin.a
-lib/dovecot/lib01_acl_plugin.la
-lib/dovecot/lib01_acl_plugin.so
-lib/dovecot/lib02_lazy_expunge_plugin.a
-lib/dovecot/lib02_lazy_expunge_plugin.la
-lib/dovecot/lib02_lazy_expunge_plugin.so
-lib/dovecot/lib10_quota_plugin.a
-lib/dovecot/lib10_quota_plugin.la
-lib/dovecot/lib10_quota_plugin.so
-lib/dovecot/lib11_trash_plugin.a
-lib/dovecot/lib11_trash_plugin.la
-lib/dovecot/lib11_trash_plugin.so
-lib/dovecot/lib20_convert_plugin.a
-lib/dovecot/lib20_convert_plugin.la
-lib/dovecot/lib20_convert_plugin.so
-lib/dovecot/lib20_expire_plugin.a
-lib/dovecot/lib20_expire_plugin.so
-lib/dovecot/lib20_expire_plugin.la
-lib/dovecot/lib20_fts_plugin.a
-lib/dovecot/lib20_fts_plugin.so
-lib/dovecot/lib20_fts_plugin.la
-lib/dovecot/lib20_mail_log_plugin.a
-lib/dovecot/lib20_mail_log_plugin.la
-lib/dovecot/lib20_mail_log_plugin.so
-lib/dovecot/lib20_mbox_snarf_plugin.a
-lib/dovecot/lib20_mbox_snarf_plugin.la
-lib/dovecot/lib20_mbox_snarf_plugin.so
-lib/dovecot/lib21_fts_squat_plugin.a
-lib/dovecot/lib21_fts_squat_plugin.so
-lib/dovecot/lib21_fts_squat_plugin.la
- at dirrm lib/dovecot
-libexec/dovecot/checkpassword-reply
-%%LDA%%libexec/dovecot/deliver
-libexec/dovecot/convert-tool
-libexec/dovecot/dict
-libexec/dovecot/dovecot-auth
-libexec/dovecot/expire-tool
-libexec/dovecot/gdbhelper
-libexec/dovecot/idxview
-libexec/dovecot/imap
-libexec/dovecot/imap-login
-libexec/dovecot/listview
-libexec/dovecot/logview
-%%POP3%%libexec/dovecot/pop3
-%%POP3%%libexec/dovecot/pop3-login
-libexec/dovecot/rawlog
-libexec/dovecot/ssl-build-param
- at dirrm libexec/dovecot
-sbin/dovecot
-sbin/dovecotpw
-%%DATADIR%%/dovecot-openssl.cnf
-%%DATADIR%%/mkcert.sh
- at dirrm %%DATADIR%%
--- mail/dovecot-devel/pkg-deinstall
+++ /dev/null
@@ -1,65 +0,0 @@
-#! /bin/sh
-#
-# ex:ts=4
-
-ask() {
-	local question default answer
-
-	question=$1
-	default=$2
-	if [ -z "${PACKAGE_BUILDING}" -a -z "${BATCH}" ]; then
-		read -p "${question} [${default}]? " answer
-	fi
-	echo ${answer:-${default}}
-}
-
-yesno() {
-	local question default answer
-
-	question=$1
-	default=$2
-	while :; do
-		answer=$(ask "${question}" "${default}")
-		case "${answer}" in
-		[Yy]*)	return 0;;
-		[Nn]*)	return 1;;
-		esac
-		echo "Please answer yes or no."
-	done
-}
-
-delete_account() {
-	local port user uid group gid
-
-	port=$1
-	user=${2%:*}
-	uid=${2#*:}
-	group=${3%:*}
-	gid=${3#*:}
-
-	echo "If you do not intend to reinstall ${port}, you should manually remove the user '${user}' (uid='${uid}') and the group '${group}' (gid='${gid}')."
-}
-
-case $2 in
-
-DEINSTALL)
-	if ps -axc | grep -qw dovecot; then
-		if yesno "Dovecot is still running. Shall I stop it?" y; then
-			killall dovecot
-			sleep 2
-		else
-			echo "OK ... I hope you know what you are doing."
-		fi
-	fi
-
-	delete_account Dovecot dovecot:${DOVECOT_UID:-143} dovecot:${DOVECOT_GID:-143}
-
-	base=/var/run/dovecot
-	DIRLIST="${base}/login ${base}"
-	echo "Cleaning up \"${base}\"."
-	for directory in ${DIRLIST}; do
-		rmdir ${directory} 2>/dev/null || :
-	done
-	;;
-
-esac
--- mail/dovecot-devel/Makefile
+++ /dev/null
@@ -1,166 +0,0 @@
-# New ports collection makefile for:	dovecot
-# Date created:				12/08/2002
-# Whom:			Dominic Marks <dominic.marks at btinternet.com>
-#
-# $MidnightBSD: mports/mail/dovecot-devel/Makefile,v 1.3 2008/10/07 15:44:19 laffer1 Exp $
-# $FreeBSD: ports/mail/dovecot-devel/Makefile,v 1.87 2008/05/05 10:00:54 delphij Exp $
-#
-
-PORTNAME=	dovecot
-DISTVERSION=	1.1.3
-CATEGORIES=	mail ipv6
-MASTER_SITES=	http://www.dovecot.org/releases/1.1/ \
-		${MASTER_SITE_GENTOO}
-MASTER_SITE_SUBDIR=	distfiles
-
-MAINTAINER=	ports at MidnightBSD.org
-COMMENT=	Secure and compact IMAP and POP3 servers
-LICENSE=	lgpl
-
-USE_ICONV=	yes
-USE_RC_SUBR=	dovecot.sh
-
-CONFLICTS?=	${PORTNAME}-1.[02-9].*
-
-GNU_CONFIGURE=	yes
-CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd6.0
-CONFIGURE_ARGS=	--without-shadow --localstatedir=/var
-CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
-		LDFLAGS="-L${LOCALBASE}/lib"
-USE_LDCONFIG=	${PREFIX}/lib/dovecot \
-		${PREFIX}/lib/dovecot/imap \
-		${PREFIX}/lib/dovecot/pop3 \
-		${PREFIX}/lib/dovecot/lda
-
-.if !defined(NOPORTDOCS)
-PORTDOCS=	*.txt wiki
-.else
-CONFIGURE_ARGS+=	--without-docs
-.endif
-
-DOVECOT_UID?=	143
-DOVECOT_GID?=	143
-SCRIPT_ENV+=	DOVECOT_UID=${DOVECOT_UID} \
-		DOVECOT_GID=${DOVECOT_GID}
-
-OPTIONS=	KQUEUE		"kqueue(2) support"	on  \
-		SSL		"SSL support"		on  \
-		IPV6		"IPv6 support"		on  \
-		POP3		"POP3 support"		on  \
-		LDA		"LDA support"		on  \
-		GSSAPI		"GSSAPI support"	off \
-		VPOPMAIL	"VPopMail support"	off \
-		LDAP		"OpenLDAP support"	off \
-		PGSQL		"PostgreSQL support"	off \
-		MYSQL		"MySQL support"		off \
-		SQLITE		"SQLite support"	off
-
-.include <bsd.port.pre.mk>
-
-## kqueue(2) support
-#
-.if !defined(WITHOUT_KQUEUE)
-CONFIGURE_ARGS+=	--with-ioloop=kqueue
-.endif
-
-## SSL support
-#
-.if defined(WITHOUT_SSL)
-CONFIGURE_ARGS+=	--without-ssl
-.endif
-
-## IPv6 support
-#
-.if defined(WITHOUT_IPV6)
-CONFIGURE_ARGS+=	--disable-ipv6
-.endif
-
-## POP3 support
-#
-.if defined(WITHOUT_POP3)
-CONFIGURE_ARGS+=	--without-pop3d
-PROTOCOLS=		imap
-PLIST_SUB+=		POP3="@comment "
-.else
-PROTOCOLS=		imap pop3
-PLIST_SUB+=		POP3=""
-.endif
-
-## LDA support
-#
-.if defined(WITHOUT_LDA)
-CONFIGURE_ARGS+=	--without-deliver
-PLIST_SUB+=		LDA="@comment "
-.else
-PLIST_SUB+=		LDA=""
-.endif
-
-## GSSAPI support
-#
-.if defined(WITH_GSSAPI)
-CONFIGURE_ARGS+=	--with-gssapi
-.else
-CONFIGURE_ARGS+=	--without-gssapi
-.endif
-
-## VPopMail Support
-#
-.if defined(WITH_VPOPMAIL)
-VPOPMAIL=		${LOCALBASE}/vpopmail/bin/vchkpw
-BUILD_DEPENDS+=		${VPOPMAIL}:${PORTSDIR}/mail/vpopmail
-CONFIGURE_ARGS+=	--with-vpopmail
-.else
-CONFIGURE_ARGS+=	--without-vpopmail
-.endif
-
-## OpenLDAP Support
-#
-.if defined(WITH_LDAP)
-USE_OPENLDAP=		yes
-CONFIGURE_ARGS+=	--with-ldap
-.endif
-
-## PostgreSQL Support
-#
-.if defined(WITH_PGSQL)
-USE_PGSQL=		yes
-CONFIGURE_ARGS+=	--with-pgsql
-.endif
-
-## MySQL Support
-#
-.if defined(WITH_MYSQL)
-USE_MYSQL=		yes
-CONFIGURE_ARGS+=	--with-mysql
-.endif
-
-## SQLite Support
-#
-.if defined(WITH_SQLITE)
-USE_SQLITE=		3
-CONFIGURE_ARGS+=	--with-sqlite
-.endif
-
-post-patch:
-.if defined(WITH_GSSAPI)
-	@${REINPLACE_CMD} -e 's,<gssapi/gssapi\.h>,<gssapi.h>,' \
-		${WRKSRC}/src/auth/mech-gssapi.c \
-		${WRKSRC}/configure
-.endif
-
-post-build:
-	@${REINPLACE_CMD} \
-		-e 's,%%PREFIX%%,${PREFIX},g' \
-		-e 's,%%PROTOCOLS%%,${PROTOCOLS},g' \
-		${WRKSRC}/dovecot-example.conf
-
-pre-install:
-	@${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
-
-post-install:
-	@${MKDIR} ${DATADIR}
-	${INSTALL_SCRIPT} ${WRKSRC}/doc/mkcert.sh ${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/doc/dovecot-openssl.cnf ${DATADIR}
-	@${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-
-.include <bsd.port.post.mk>
--- mail/dovecot-devel/distinfo
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 (dovecot-1.1.3.tar.gz) = 103ff0ffb4bcb37f22c27779553e48bc
-SHA256 (dovecot-1.1.3.tar.gz) = e07d52e6d61a653672c5173d6d27fe119970c792478cbbd23b87f9fdfc0c13c7
-SIZE (dovecot-1.1.3.tar.gz) = 2306933
-MD5 (dovecot-1.1.3-managesieve-0.10.3.diff.gz) = 3e1755a2ca4dab1a8d1cb00d8ea9e451
-SHA256 (dovecot-1.1.3-managesieve-0.10.3.diff.gz) = 045520404c0928e63a7127d9a38b7c12ff68ff74dc423f88f8af9e93f129e756
-SIZE (dovecot-1.1.3-managesieve-0.10.3.diff.gz) = 5837
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/mail/Makefile,v
retrieving revision 1.49
retrieving revision 1.50
diff -L mail/Makefile -L mail/Makefile -u -r1.49 -r1.50
--- mail/Makefile
+++ mail/Makefile
@@ -14,7 +14,6 @@
     SUBDIR += couriergraph
     SUBDIR += chk4mail    
     SUBDIR += dovecot
-    SUBDIR += dovecot-devel
     SUBDIR += evolution
     SUBDIR += evolution-exchange
     SUBDIR += faces
--- mail/dovecot-devel/files/dovecot.sh.in
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/sh
-#
-# $MidnightBSD: mports/mail/dovecot-devel/files/dovecot.sh.in,v 1.1 2008/06/23 19:56:44 laffer1 Exp $
-#
-# PROVIDE: dovecot
-# REQUIRE: LOGIN
-# KEYWORD: shutdown
-#
-# Add the following lines to /etc/rc.conf to enable dovecot:
-#
-#dovecot_enable="YES"
-#
-
-. %%RC_SUBR%%
-
-name=dovecot
-rcvar=`set_rcvar`
-
-: ${dovecot_enable:="NO"}
-command=%%PREFIX%%/sbin/${name}
-required_files=%%PREFIX%%/etc/${name}.conf
-
-load_rc_config ${name}
-run_rc_command "$1"
--- mail/dovecot-devel/files/patch-dovecot-example.conf
+++ /dev/null
@@ -1,214 +0,0 @@
---- ./dovecot-example.conf.orig	2008-03-14 20:01:35.000000000 -0700
-+++ ./dovecot-example.conf	2008-04-30 14:18:20.161269186 -0700
-@@ -12,7 +12,7 @@
- # Default values are shown for each setting, it's not required to uncomment
- # any of the lines. Exception to this are paths, they're just examples with
- # the real defaults being based on configure options. The paths listed here
--# are for configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
-+# are for configure --prefix=%%PREFIX%% --sysconfdir=%%PREFIX%%/etc --localstatedir=/var
- # --with-ssldir=/etc/ssl
- 
- # Base directory where to store runtime data.
-@@ -21,6 +21,7 @@
- # Protocols we want to be serving: imap imaps pop3 pop3s
- # If you only want to use dovecot-auth, you can set this to "none".
- #protocols = imap imaps
-+protocols = %%PROTOCOLS%%
- 
- # A space separated list of IP or host addresses where to listen in for
- # connections. "*" listens in all IPv4 interfaces. "[::]" listens in all IPv6
-@@ -213,6 +214,7 @@
- # <doc/wiki/MailLocation.txt>
- #
- #mail_location = 
-+mail_location = mbox:~/mail/:INBOX=/var/mail/%u
- 
- # If you need to set multiple mailbox locations or want to change default
- # namespace settings, you can do it by defining namespace sections.
-@@ -273,6 +275,7 @@
- # used only for creating mbox dotlock files when creation fails for INBOX.
- # Typically this is set to "mail" to give access to /var/mail.
- #mail_privileged_group =
-+mail_privileged_group = mail
- 
- # Grant access to these supplementary groups for mail processes. Typically
- # these are used to set up access to shared mailboxes. Note that it may be
-@@ -340,6 +343,7 @@
- # IP address. Useful for seeing who are actually using the IMAP processes
- # (eg. shared mailboxes or if same uid is used for multiple accounts).
- #verbose_proctitle = no
-+verbose_proctitle = yes
- 
- # Valid UID range for users, defaults to 500 and above. This is mostly
- # to make sure that users can't log in as daemons or other system users.
-@@ -502,19 +506,19 @@
- 
- protocol imap {
-   # Login executable location.
--  #login_executable = /usr/libexec/dovecot/imap-login
-+  #login_executable = %%PREFIX%%/libexec/dovecot/imap-login
- 
-   # IMAP executable location. Changing this allows you to execute other
-   # binaries before the imap process is executed.
-   #
-   # This would write rawlogs into ~/dovecot.rawlog/ directory:
--  #   mail_executable = /usr/libexec/dovecot/rawlog /usr/libexec/dovecot/imap
-+  #   mail_executable = %%PREFIX%%/libexec/dovecot/rawlog %%PREFIX%%/libexec/dovecot/imap
-   #
-   # This would attach gdb into the imap process and write backtraces into
-   # /tmp/gdbhelper.* files:
--  #   mail_executable = /usr/libexec/dovecot/gdbhelper /usr/libexec/dovecot/imap
-+  #   mail_executable = %%PREFIX%%/libexec/dovecot/gdbhelper %%PREFIX%%/libexec/dovecot/imap
-   #
--  #mail_executable = /usr/libexec/dovecot/imap
-+  #mail_executable = %%PREFIX%%/libexec/dovecot/imap
- 
-   # Maximum IMAP command line length in bytes. Some clients generate very long
-   # command lines with huge mailboxes, so you may need to raise this if you get
-@@ -528,7 +532,7 @@
-   # Support for dynamically loadable plugins. mail_plugins is a space separated
-   # list of plugins to load.
-   #mail_plugins = 
--  #mail_plugin_dir = /usr/lib/dovecot/imap
-+  #mail_plugin_dir = %%PREFIX%%/lib/dovecot/imap
- 
-   # Send IMAP capabilities in greeting message. This makes it unnecessary for
-   # clients to request it with CAPABILITY command, so it saves one round-trip.
-@@ -563,6 +567,7 @@
-   #     accept '/' suffix in mailbox names in subscriptions list.
-   # The list is space-separated.
-   #imap_client_workarounds = 
-+  imap_client_workarounds = delay-newmail netscape-eoh tb-extra-mailbox-sep
- }
-   
- ##
-@@ -571,11 +576,11 @@
- 
- protocol pop3 {
-   # Login executable location.
--  #login_executable = /usr/libexec/dovecot/pop3-login
-+  #login_executable = %%PREFIX%%/libexec/dovecot/pop3-login
- 
-   # POP3 executable location. See IMAP's mail_executable above for examples
-   # how this could be changed.
--  #mail_executable = /usr/libexec/dovecot/pop3
-+  #mail_executable = %%PREFIX%%/libexec/dovecot/pop3
- 
-   # Don't try to set mails non-recent or seen with POP3 sessions. This is
-   # mostly intended to reduce disk I/O. With maildir it doesn't move files
-@@ -615,6 +620,7 @@
-   # idea to change this. %08Xu%08Xv should be pretty fail-safe.
-   #
-   #pop3_uidl_format = %08Xu%08Xv
-+  pop3_uidl_format = %08Xu%08Xv
- 
-   # POP3 logout format string:
-   #  %i - total number of bytes read from client
-@@ -635,7 +641,7 @@
-   # Support for dynamically loadable plugins. mail_plugins is a space separated
-   # list of plugins to load.
-   #mail_plugins = 
--  #mail_plugin_dir = /usr/lib/dovecot/pop3
-+  #mail_plugin_dir = %%PREFIX%%/lib/dovecot/pop3
- 
-   # Workarounds for various client bugs:
-   #   outlook-no-nuls:
-@@ -646,6 +652,7 @@
-   #     missing. This option simply sends it if it's missing.
-   # The list is space-separated.
-   #pop3_client_workarounds = 
-+  pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
- }
- 
- ##
-@@ -663,7 +670,7 @@
-   # Support for dynamically loadable plugins. mail_plugins is a space separated
-   # list of plugins to load.
-   #mail_plugins = 
--  #mail_plugin_dir = /usr/lib/dovecot/lda
-+  #mail_plugin_dir = %%PREFIX%%/lib/dovecot/lda
- 
-   # If user is over quota, return with temporary failure instead of
-   # bouncing the mail.
-@@ -677,7 +684,7 @@
-   #deliver_log_format = msgid=%m: %$
- 
-   # Binary to use for sending mails.
--  #sendmail_path = /usr/lib/sendmail
-+  #sendmail_path = /usr/sbin/sendmail
- 
-   # Human readable error message for rejection mails. Use can use variables:
-   #  %n = CRLF, %r = reason, %s = subject, %t = recipient
-@@ -692,7 +699,7 @@
- ##
- 
- # Executable location
--#auth_executable = /usr/libexec/dovecot/dovecot-auth
-+#auth_executable = %%PREFIX%%/libexec/dovecot/dovecot-auth
- 
- # Set max. process size in megabytes.
- #auth_process_size = 256
-@@ -782,7 +789,7 @@
- #auth_ntlm_use_winbind = no
- 
- # Path for Samba's ntlm_auth helper binary.
--#auth_winbind_helper_path = /usr/bin/ntlm_auth
-+#auth_winbind_helper_path = %%PREFIX%%/bin/ntlm_auth
- 
- # Number of seconds to delay before replying to failed authentications.
- #auth_failure_delay = 2
-@@ -815,7 +822,7 @@
- 
-   #passdb passwd-file {
-     # File contains a list of usernames, one per line
--    #args = /etc/dovecot.deny
-+    #args = %%PREFIX%%/etc/dovecot.deny
-     #deny = yes
-   #}
- 
-@@ -1052,7 +1059,7 @@
- # referenced using URIs in format "proxy:<name>".
- 
- dict {
--  #quota = mysql:/etc/dovecot-dict-quota.conf 
-+  #quota = mysql:%%PREFIX%%/etc/dovecot-dict-quota.conf 
- }
- 
- ##
-@@ -1090,8 +1097,8 @@
-   # Each quota root has separate limits. Only the command for the first
-   # exceeded limit is excecuted, so put the highest limit first.
-   # Note that % needs to be escaped as %%, otherwise "% " expands to empty.
--  #   quota_warning = storage=95%% /usr/local/bin/quota-warning.sh 95
--  #   quota_warning2 = storage=80%% /usr/local/bin/quota-warning.sh 80
-+  #   quota_warning = storage=95%% %%PREFIX%%/bin/quota-warning.sh 95
-+  #   quota_warning2 = storage=80%% %%PREFIX%%/bin/quota-warning.sh 80
-   #quota = maildir
- 
-   # ACL plugin. vfile backend reads ACLs from "dovecot-acl" file from maildir
-@@ -1100,7 +1107,7 @@
-   # one file for each mailbox, eg. INBOX or sub.mailbox. cache_secs parameter
-   # specifies how many seconds to wait between stat()ing dovecot-acl file
-   # to see if it changed.
--  #acl = vfile:/etc/dovecot-acls:cache_secs=300
-+  #acl = vfile:%%PREFIX%%/etc/dovecot-acls:cache_secs=300
- 
-   # Convert plugin. If set, specifies the source storage path which is
-   # converted to destination storage (mail_location) when the user logs in.
-@@ -1119,14 +1126,14 @@
-   # until the message can be saved within quota limits. The configuration file
-   # is a text file where each line is in format: <priority> <mailbox name>
-   # Mails are first deleted in lowest -> highest priority number order
--  #trash = /etc/dovecot-trash.conf
-+  #trash = %%PREFIX%%/etc/dovecot-trash.conf
- 
-   # Expire plugin. Mails are expunged from mailboxes after being there the
-   # configurable time. The first expiration date for each mailbox is stored in
-   # a dictionary so it can be quickly determined which mailboxes contain
-   # expired mails. The actual expunging is done in a nightly cronjob, which
-   # you must set up:
--  #   dovecot --exec-mail ext /usr/libexec/dovecot/expire-tool
-+  #   dovecot --exec-mail ext %%PREFIX%%/libexec/dovecot/expire-tool
-   #expire = Trash 7 Spam 30
-   #expire_dict = db:/var/lib/dovecot/expire.db
- 


More information about the Midnightbsd-cvs mailing list