import
IMAP server for Maildir format mailboxes
This commit is contained in:
parent
1adff3d3bc
commit
8ebe7b332a
22
mail/courier-imap/Makefile
Normal file
22
mail/courier-imap/Makefile
Normal file
@ -0,0 +1,22 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2000/07/03 03:42:55 turan Exp $
|
||||
|
||||
DISTNAME= courier-imap-0.35
|
||||
NEED_VERSION= 1.273
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= ftp://download.sourceforge.net/pub/sourceforge/courier/
|
||||
|
||||
MAINTAINER= anil@recoil.org
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
FAKE= Yes
|
||||
|
||||
SYSCONFDIR= /usr/local/share/courier-imap
|
||||
GNU_CONFIGURE= Yes
|
||||
|
||||
RUN_DEPENDS= stunnel::security/stunnel
|
||||
|
||||
.include <bsd.port.mk>
|
3
mail/courier-imap/files/md5
Normal file
3
mail/courier-imap/files/md5
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (courier-imap-0.35.tar.gz) = 70080e8f4f42b13c73ec6b8f83f3e2d6
|
||||
RMD160 (courier-imap-0.35.tar.gz) = 255f4c2b8c14636f04f374d2cee02d336a39623c
|
||||
SHA1 (courier-imap-0.35.tar.gz) = aefd5341862cef800b59c638bb616fb8327acac5
|
12
mail/courier-imap/patches/patch-authlib-Makefile-in
Normal file
12
mail/courier-imap/patches/patch-authlib-Makefile-in
Normal file
@ -0,0 +1,12 @@
|
||||
--- authlib/Makefile.in.orig Thu Jun 29 17:23:06 2000
|
||||
+++ authlib/Makefile.in Thu Jun 29 17:23:25 2000
|
||||
@@ -1073,8 +1073,7 @@ install-data-local: install-authldaprc i
|
||||
test "$(man_LINKS)" = "" && exit 0; \
|
||||
$(mkinstalldirs) $(DESTDIR)$(man8dir) ; \
|
||||
for f in $(man_MANS) "" ; do \
|
||||
- test "$$f" = "" && continue ; \
|
||||
- $(INSTALL_DATA) $$f $(DESTDIR)$(man8dir) ; done ; \
|
||||
+ test "$$f" = "" && continue ; done ; \
|
||||
cd $(DESTDIR)$(man8dir) || exit 1 ; \
|
||||
for f in $(man_LINKS) "" ; do \
|
||||
test "$$f" = "" && continue ; \
|
37
mail/courier-imap/patches/patch-configure
Normal file
37
mail/courier-imap/patches/patch-configure
Normal file
@ -0,0 +1,37 @@
|
||||
--- configure.orig Thu Jun 29 01:47:00 2000
|
||||
+++ configure Thu Jun 29 17:30:50 2000
|
||||
@@ -45,10 +45,10 @@ x_libraries=NONE
|
||||
bindir='${exec_prefix}/bin'
|
||||
sbindir='${exec_prefix}/sbin'
|
||||
libexecdir='${exec_prefix}/libexec'
|
||||
-datadir='${prefix}/share'
|
||||
-sysconfdir='${prefix}/etc'
|
||||
+datadir='${prefix}/share/courier-imap'
|
||||
+sysconfdir='${prefix}/share/courier-imap'
|
||||
sharedstatedir='${prefix}/com'
|
||||
-localstatedir='${prefix}/var'
|
||||
+localstatedir='/var/run'
|
||||
libdir='${exec_prefix}/lib'
|
||||
includedir='${prefix}/include'
|
||||
oldincludedir='/usr/include'
|
||||
@@ -1109,19 +1109,7 @@ fi
|
||||
|
||||
|
||||
|
||||
-defaultprefix="/usr/lib/courier-imap"
|
||||
-
|
||||
-
|
||||
-rm -f confmdtest1
|
||||
-cp /dev/null confmdtest1
|
||||
-chmod 000 confmdtest1
|
||||
-if test -w confmdtest1
|
||||
-then
|
||||
- echo "configure: warning: === Do not compile Courier-IMAP as root. Compile" 1>&2
|
||||
- echo "configure: warning: === Courier-IMAP as a non-root user then su to" 1>&2
|
||||
- echo "configure: warning: === root before running make install." 1>&2
|
||||
- { echo "configure: error: aborted." 1>&2; exit 1; }
|
||||
-fi
|
||||
+defaultprefix="/usr/local"
|
||||
|
||||
if test x$prefix = xNONE
|
||||
then
|
24
mail/courier-imap/patches/patch-imapd-rc-in
Normal file
24
mail/courier-imap/patches/patch-imapd-rc-in
Normal file
@ -0,0 +1,24 @@
|
||||
--- imapd.rc.in.orig Thu Jun 29 16:48:00 2000
|
||||
+++ imapd.rc.in Thu Jun 29 16:49:13 2000
|
||||
@@ -10,8 +10,8 @@ exec_prefix=@exec_prefix@
|
||||
bindir=@bindir@
|
||||
libexecdir=@libexecdir@
|
||||
|
||||
-. @sysconfdir@/imapd.config
|
||||
-. @sysconfdir@/imapd-ssl.config
|
||||
+. /etc/imapd.config
|
||||
+. /etc/imapd-ssl.config
|
||||
|
||||
case $1 in
|
||||
start)
|
||||
@@ -27,8 +27,8 @@ start)
|
||||
fi
|
||||
|
||||
ulimit -d $IMAP_ULIMITD
|
||||
- @SETENV@ - @SHELL@ -c " . @sysconfdir@/imapd.config ; \
|
||||
- `sed -n '/^#/d;/=/p' <@sysconfdir@/imapd.config | \
|
||||
+ @SETENV@ - @SHELL@ -c " . /etc/imapd.config ; \
|
||||
+ `sed -n '/^#/d;/=/p' </etc/imapd.config | \
|
||||
sed 's/=.*//;s/^/export /;s/$/;/'`
|
||||
@libexecdir@/couriertcpd -address=$ADDRESS \
|
||||
-stderrlogger=@libexecdir@/logger \
|
29
mail/courier-imap/patches/patch-imapd-ssl-rc-in
Normal file
29
mail/courier-imap/patches/patch-imapd-ssl-rc-in
Normal file
@ -0,0 +1,29 @@
|
||||
--- imapd-ssl.rc.in.orig Sat Jun 10 02:41:27 2000
|
||||
+++ imapd-ssl.rc.in Thu Jun 29 16:50:49 2000
|
||||
@@ -10,8 +10,8 @@ exec_prefix=@exec_prefix@
|
||||
bindir=@bindir@
|
||||
libexecdir=@libexecdir@
|
||||
|
||||
-. @sysconfdir@/imapd.config
|
||||
-. @sysconfdir@/imapd-ssl.config
|
||||
+. /etc/imapd.config
|
||||
+. /etc/imapd-ssl.config
|
||||
|
||||
case $1 in
|
||||
start)
|
||||
@@ -27,11 +27,11 @@ start)
|
||||
fi
|
||||
|
||||
ulimit -d $IMAP_ULIMITD
|
||||
- @SETENV@ - @SHELL@ -c " . @sysconfdir@/imapd.config ; \
|
||||
- . @sysconfdir@/imapd-ssl.config ; \
|
||||
- `sed -n '/^#/d;/=/p' <@sysconfdir@/imapd.config | \
|
||||
+ @SETENV@ - @SHELL@ -c " . /etc/imapd.config ; \
|
||||
+ . /etc/imapd-ssl.config ; \
|
||||
+ `sed -n '/^#/d;/=/p' </etc/imapd.config | \
|
||||
sed 's/=.*//;s/^/export /;s/$/;/'`
|
||||
- `sed -n '/^#/d;/=/p' <@sysconfdir@/imapd-ssl.config | \
|
||||
+ `sed -n '/^#/d;/=/p' </etc/imapd-ssl.config | \
|
||||
sed 's/=.*//;s/^/export /;s/$/;/'`
|
||||
@libexecdir@/couriertcpd -address=$ADDRESS \
|
||||
-stderrlogger=@libexecdir@/logger \
|
1
mail/courier-imap/pkg/COMMENT
Normal file
1
mail/courier-imap/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
IMAP server for Maildir format mailboxes
|
12
mail/courier-imap/pkg/DESCR
Normal file
12
mail/courier-imap/pkg/DESCR
Normal file
@ -0,0 +1,12 @@
|
||||
This server provides IMAP access to Maildir format mailboxes. It
|
||||
does not handle traditional mailbox files.
|
||||
|
||||
It is part of the Courier mail server (http://courier.sourceforge.net)
|
||||
but can be configured as a standalone IMAP server.
|
||||
|
||||
Features include an extremely small memory footprint, abstract
|
||||
authentication modules (e.g. /etc/passwd, LDAP, PAM), virtual mailbox
|
||||
support, resource controls, SSL/TLS, shared folders, and IPv6 support.
|
||||
|
||||
--
|
||||
Anil Madhavapeddy, anil@recoil.org
|
20
mail/courier-imap/pkg/MESSAGE
Normal file
20
mail/courier-imap/pkg/MESSAGE
Normal file
@ -0,0 +1,20 @@
|
||||
==============================================================
|
||||
The configuration files for Courier-IMAP have been installed
|
||||
in /usr/local/share/courier.
|
||||
|
||||
You should copy imapd.config and imapd-ssl.config to /etc,
|
||||
and edit them to your site's needs.
|
||||
|
||||
It is generally not a good idea to expose plain-text IMAP to
|
||||
the outside world, so you can bind the plain-text one to
|
||||
127.0.0.1, and the SSL one to your external IP interface(s).
|
||||
Don't forget to configure stunnel correctly before trying to
|
||||
use the SSL facility of Courier.
|
||||
|
||||
To control the daemon use /usr/local/libexec/imapd.rc and
|
||||
/usr/local/libexec/imapd-ssl.rc
|
||||
|
||||
More documentation is available at the Courier-IMAP homepage,
|
||||
at http://www.inter7.com/courierimap/
|
||||
==============================================================
|
||||
|
41
mail/courier-imap/pkg/PLIST
Normal file
41
mail/courier-imap/pkg/PLIST
Normal file
@ -0,0 +1,41 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2000/07/03 03:42:55 turan Exp $
|
||||
bin/imapd
|
||||
bin/maildirmake
|
||||
libexec/authlib/authcram
|
||||
libexec/authlib/authpwd
|
||||
libexec/authlib/authuserdb
|
||||
libexec/couriertcpd
|
||||
libexec/deliverquota
|
||||
libexec/imapd-ssl.rc
|
||||
libexec/imapd.rc
|
||||
libexec/logger
|
||||
libexec/makedatprog
|
||||
man/man1/maildirmake.1
|
||||
man/man8/authcram.8
|
||||
man/man8/authdaemon.8
|
||||
man/man8/authdaemond.8
|
||||
man/man8/authldap.8
|
||||
man/man8/authmysql.8
|
||||
man/man8/authpam.8
|
||||
man/man8/authpwd.8
|
||||
man/man8/authshadow.8
|
||||
man/man8/authuserdb.8
|
||||
man/man8/authvchkpw.8
|
||||
man/man8/couriertcpd.8
|
||||
man/man8/deliverquota.8
|
||||
man/man8/imapd.8
|
||||
man/man8/makeuserdb.8
|
||||
man/man8/pw2userdb.8
|
||||
man/man8/userdb.8
|
||||
man/man8/userdbpw.8
|
||||
man/man8/vchkpw2userdb.8
|
||||
sbin/imaplogin
|
||||
sbin/makeuserdb
|
||||
sbin/pw2userdb
|
||||
sbin/userdb
|
||||
sbin/userdbpw
|
||||
sbin/vchkpw2userdb
|
||||
share/courier-imap/imapd-ssl.config
|
||||
share/courier-imap/imapd.config
|
||||
@dirrm share/courier-imap
|
||||
@dirrm libexec/authlib
|
Loading…
x
Reference in New Issue
Block a user