Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Elisamuel Resto (77a5949674ae06f2f8ca4bc5a1046a33b247d383)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Elisamuel Resto <scm AT mail.sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Elisamuel Resto (77a5949674ae06f2f8ca4bc5a1046a33b247d383)
  • Date: Mon, 5 Feb 2007 01:25:57 -0600

GIT changes to master grimoire by Elisamuel Resto <ryuji AT sourcemage.org>:

mail/c-client/BUILD | 22 +++
mail/c-client/CONFLICTS | 1
mail/c-client/DEPENDS | 3
mail/c-client/DETAILS | 13 ++
mail/c-client/HISTORY | 23 ++++
mail/c-client/INSTALL | 3
mail/c-client/PROVIDES | 1
mail/imap/BUILD | 24 ++++
mail/imap/CONFIGURE | 13 ++
mail/imap/CONFLICTS | 4
mail/imap/DEPENDS | 12 ++
mail/imap/DETAILS | 15 ++
mail/imap/FINAL | 7 +
mail/imap/HISTORY | 189
+++++++++++++++++++++++++++++++++
mail/imap/INSTALL | 22 +++
mail/imap/PROVIDES | 2
mail/imap/TRIGGERS | 7 +
mail/imap/imapd-stunnel_withoutopenssl | 17 ++
mail/imap/mailsubdir.patch | 12 ++
mail/imap/pam.d/imap | 7 +
mail/imap/pam.d/pop | 7 +
mail/imap/pop3-stunnel_withoutopenssl | 17 ++
mail/imap/services | 12 ++
mail/imap/xinetd.d/imapd | 14 ++
mail/imap/xinetd.d/imapd-stunnel | 17 ++
mail/imap/xinetd.d/pop3 | 14 ++
mail/imap/xinetd.d/pop3-stunnel | 17 ++
27 files changed, 495 insertions(+)

New commits:
commit 77a5949674ae06f2f8ca4bc5a1046a33b247d383
Author: Elisamuel Resto <ryuji AT sourcemage.org>
Commit: Elisamuel Resto <ryuji AT sourcemage.org>

mail/c-client, mail/imap: moved to test from z-rejected due to license
change

diff --git a/mail/c-client/BUILD b/mail/c-client/BUILD
new file mode 100755
index 0000000..64aa257
--- /dev/null
+++ b/mail/c-client/BUILD
@@ -0,0 +1,22 @@
+if echo $OPTS | grep -q with-openssl; then
+ message "${MESSAGE_COLOR}Building with OpenSSL...${DEFAULT_COLOR}" &&
+ SSLOPTS="SSLTYPE=unix \
+ SSLCERTS=$INSTALL_ROOT/etc/ssl/certs \
+ SSLINCLUDE=$INSTALL_ROOT/usr/include/openssl \
+ SSLLIB=$INSTALL_ROOT/usr/lib \
+ SSLTYPE=unix"
+else
+ message "${MESSAGE_COLOR}Building without OpenSSL...${DEFAULT_COLOR}" &&
+ SSLOPTS='SSLTYPE=none'
+fi &&
+if echo $OPTS | grep -q with-pam; then
+ TARGET=lnp
+else
+ TARGET=slx
+fi &&
+
+# the trick to building c-client only is to remove the target named "bundled"
+# from the dependents list of default target "build"
+sedit 's|^\(build:.*\)bundled|\1|g' Makefile &&
+
+yes | make $SSLOPTS EXTRACFLAGS="$CFLAGS" $TARGET
diff --git a/mail/c-client/CONFLICTS b/mail/c-client/CONFLICTS
new file mode 100755
index 0000000..f1729ad
--- /dev/null
+++ b/mail/c-client/CONFLICTS
@@ -0,0 +1 @@
+conflicts imap
diff --git a/mail/c-client/DEPENDS b/mail/c-client/DEPENDS
new file mode 100755
index 0000000..3f87da9
--- /dev/null
+++ b/mail/c-client/DEPENDS
@@ -0,0 +1,3 @@
+# The '--' options are bogus, they're only used by the spell itself
+optional_depends openssl '--with-openssl' '--without-openssl' 'for SSL/TLS
support' &&
+optional_depends linux-pam '--with-pam' '--without-pam' 'for PAM support'
diff --git a/mail/c-client/DETAILS b/mail/c-client/DETAILS
new file mode 100755
index 0000000..2ca717e
--- /dev/null
+++ b/mail/c-client/DETAILS
@@ -0,0 +1,13 @@
+ SPELL=c-client
+ VERSION=2006e
+
SOURCE_HASH=sha512:a05bf9373a8eb59aaa9abfba2c0693a1e1042f5b0e463d0ec218899510b5accacada0e73c8e2cd1ef58829b703dfc1c544b04f3b8e5cdcd2cf665d1697b9f9f9
+ SOURCE=imap-$VERSION.tar.Z
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/imap-$VERSION
+ SOURCE_URL[0]=ftp://ftp.cac.washington.edu/imap/$SOURCE
+ WEB_SITE=http://www.washington.edu/imap/
+ ENTERED=20050411
+ LICENSE[0]=APACHE
+ SHORT='University of Washington IMAP/POP/SMTP/NNTP client library'
+cat << EOF
+The IMAP4rev1, POP3, SMTP and NNTP client API library, a.k.a. c-client.
+EOF
diff --git a/mail/c-client/HISTORY b/mail/c-client/HISTORY
new file mode 100644
index 0000000..0a6736d
--- /dev/null
+++ b/mail/c-client/HISTORY
@@ -0,0 +1,23 @@
+2007-01-05 Elisamuel Resto <ryuji AT mages.ath.cx>
+ * ALL: spell moved to test from z-rejected due to license change
+
+2007-01-30 Elisamuel Resto <ryuji AT mages.ath.cx>
+ * DETAILS: version bump to 2006e, changed license to APACHE
+
+2006-10-03 Juuso Alasuutari <iuso AT sourcemage.org>
+ * DETAILS: [automated] Removed UPDATED.
+
+2006-09-21 Juuso Alasuutari <iuso AT sourcemage.org>
+ * PROVIDES: [automated] Fixed invalid entries.
+
+2006-09-21 Juuso Alasuutari <iuso AT sourcemage.org>
+ * DETAILS: [automated] Removed BUILD_API=2.
+
+2005-10-03 Sergey Lipnevich <sergey AT sourcemage.org>
+ * DETAILS: upgarde to 2004g; replace $SPELL with `imap' in SOURCE_URL.
+
+2005-04-12 Sergey Lipnevich <sergey AT sourcemage.org>
+ * BUILD: pass our CFLAGS using EXTRACFLAGS make variable.
+
+2005-04-11 Sergey Lipnevich <sergey AT sourcemage.org>
+ * ALL: spell created from current imap spell.
diff --git a/mail/c-client/INSTALL b/mail/c-client/INSTALL
new file mode 100755
index 0000000..0fb7e88
--- /dev/null
+++ b/mail/c-client/INSTALL
@@ -0,0 +1,3 @@
+mkdir -p $INSTALL_ROOT/usr/include/imap &&
+cp -vf ./c-client/*.h $INSTALL_ROOT/usr/include/imap/ &&
+cp -vf ./c-client/c-client.a $INSTALL_ROOT/usr/lib/libc-client.a
diff --git a/mail/c-client/PROVIDES b/mail/c-client/PROVIDES
new file mode 100755
index 0000000..2936167
--- /dev/null
+++ b/mail/c-client/PROVIDES
@@ -0,0 +1 @@
+C-CLIENT
diff --git a/mail/imap/BUILD b/mail/imap/BUILD
new file mode 100755
index 0000000..b84f5ec
--- /dev/null
+++ b/mail/imap/BUILD
@@ -0,0 +1,24 @@
+if [ "$IMAP_MAILSUBDIR" == "y" ]; then
+ patch -p1 < $SCRIPT_DIRECTORY/mailsubdir.patch
+fi &&
+
+if [ "$IMAP_SSL" == "y" ]; then
+ message "${MESSAGE_COLOR}Building with OpenSSL...${DEFAULT_COLOR}" &&
+ SSLOPTS="SSLTYPE=unix \
+ SSLCERTS=/etc/ssl/certs \
+ SSLINCLUDE=/usr/include/openssl \
+ SSLLIB=/usr/lib \
+ SSLTYPE=unix"
+else
+ message "${MESSAGE_COLOR}Building without OpenSSL...${DEFAULT_COLOR}" &&
+ SSLOPTS="SSLTYPE=none"
+fi &&
+
+if [ "$IMAP_PAM" == "y" ]; then
+ message "${MESSAGE_COLOR}Building with PAM...${DEFAULT_COLOR}" &&
+ TARGET=lnp
+else
+ TARGET=slx
+fi &&
+
+yes | make EXTRACFLAGS="$CFLAGS" $SSLOPTS $TARGET
diff --git a/mail/imap/CONFIGURE b/mail/imap/CONFIGURE
new file mode 100755
index 0000000..0ee92ba
--- /dev/null
+++ b/mail/imap/CONFIGURE
@@ -0,0 +1,13 @@
+config_query IMAP_MAILSUBDIR "Apply patch to use ~/.imap/ as a mail
sub-directory?" y &&
+
+if spell_ok openssl; then
+ config_query IMAP_SSL "Use openssl (for stunnel) for imapds?" y
+else
+ config_query IMAP_SSL "Use openssl (for stunnel) for imapds?" n
+fi &&
+
+if spell_ok linux-pam; then
+ config_query IMAP_PAM "Use Linux-PAM for PAM authentication?" y
+else
+ config_query IMAP_PAM "Use Linux-PAM for PAM authentication?" n
+fi
diff --git a/mail/imap/CONFLICTS b/mail/imap/CONFLICTS
new file mode 100755
index 0000000..fcc8623
--- /dev/null
+++ b/mail/imap/CONFLICTS
@@ -0,0 +1,4 @@
+conflicts c-client &&
+conflicts pine-imap &&
+conflicts courier-imap &&
+conflicts dovecot
diff --git a/mail/imap/DEPENDS b/mail/imap/DEPENDS
new file mode 100755
index 0000000..4c98097
--- /dev/null
+++ b/mail/imap/DEPENDS
@@ -0,0 +1,12 @@
+if [ "$IMAP_SSL" == "y" ]; then
+ depends openssl
+fi &&
+
+if [ "$IMAP_PAM" == "y" ]; then
+ depends linux-pam
+fi &&
+
+optional_depends stunnel \
+ "" \
+ "" \
+ "for imaps and pop3s support"
diff --git a/mail/imap/DETAILS b/mail/imap/DETAILS
new file mode 100755
index 0000000..cb9270a
--- /dev/null
+++ b/mail/imap/DETAILS
@@ -0,0 +1,15 @@
+ SPELL=imap
+ VERSION=2006e
+
SOURCE_HASH=sha512:a05bf9373a8eb59aaa9abfba2c0693a1e1042f5b0e463d0ec218899510b5accacada0e73c8e2cd1ef58829b703dfc1c544b04f3b8e5cdcd2cf665d1697b9f9f9
+ SOURCE=$SPELL-$VERSION.tar.Z
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
+ SOURCE_URL[0]=ftp://ftp.cac.washington.edu/$SPELL/$SOURCE
+ WEB_SITE=http://www.washington.edu/imap
+ ENTERED=20010922
+ UPDATED=20030810
+ LICENSE[0]=UW-FF
+ SHORT="University of Washington IMAP server with POP3 gateway"
+cat << EOF
+The IMAP4rev1 server and a POP server with the ability to relay commands to
+an IMAP server, thus permitting existing POP clients to access an IMAP
server.
+EOF
diff --git a/mail/imap/FINAL b/mail/imap/FINAL
new file mode 100755
index 0000000..9880582
--- /dev/null
+++ b/mail/imap/FINAL
@@ -0,0 +1,7 @@
+source /etc/sorcery/local/depends/imap
+
+if [ "$USE_SSL" != "y" ]; then
+ message "${MESSAGE_COLOR}Updating xinetd imap/pop3 files (without
stunnel) ${DEFAULT_COLOR}"
+ cp $SCRIPT_DIRECTORY/imapd-stunnel_withoutopenssl
/etc/xinetd.d/imapd-stunnel
+ cp $SCRIPT_DIRECTORY/pop3-stunnel_withoutopenssl
/etc/xinetd.d/pop3-stunnel
+fi

diff --git a/mail/imap/HISTORY b/mail/imap/HISTORY
new file mode 100644
index 0000000..6c36061
--- /dev/null
+++ b/mail/imap/HISTORY
@@ -0,0 +1,189 @@
+2006-02-05 Elisamuel Resto <ryuji AT sourcemage.org>
+ * ALL: moved spell to test from z-rejected due to license change
+
+2006-01-30 Elisamuel Resto <ryuji AT sourcemage.org>
+ * DETAILS: version bump to 2006e, changed license to APACHE
+
+2006-10-26 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
+ * INSTALL: use TRACK_ROOT when linking #9163
+
+2006-09-21 Juuso Alasuutari <iuso AT sourcemage.org>
+ * PROVIDES: [automated] Fixed invalid entries.
+
+2006-09-21 Juuso Alasuutari <iuso AT sourcemage.org>
+ * DETAILS: [automated] Removed BUILD_API=2.
+
+2005-10-03 Sergey Lipnevich <sergey AT sourcemage.org>
+ * DETAILS: upgarde to 2004g.
+
+2005-05-10 Seth Woolley <seth AT tautology.org>
+ * BUILD: DEBUG is now EXTRACFLAGS which works correctly (already
+ in c-client, so I'm unsure why both weren't fixed at the same time).
+
+2005-04-11 Sergey Lipnevich <sergey AT sourcemage.org>
+ * PROVIDES: provides C-CLIENT;
+ * CONFLICTS: conflicts with c-client spell.
+
+2005-02-18 Eric Sandall <eric AT sandall.us>
+ * DETAILS: Updated to 2004c1 (Bug #7291)
+ Removed MENU_* items, MAINTAINER, VOYEUR, and NET_SELECT
+ Added BUILD_API=2
+ Removed explicit SMGL mirror listing
+ Changed LICENSE to LICENSE[0]
+ * CONFIGURE: Converted to config_query
+ Added query for linux-pam
+ * DEPENDS: Properly depend on packages from choices in CONFIGURE
+ Formatted to Guru Handbook
+ * CONFLICTS: Added "&&"s
+ * BUILD: Converted to build_api 2
+ Removed TABs
+ * INSTALL: Branched from BUILD
+ Converted to build_api 2
+ Removed TABs
+ * POST_INSTALL,FINAL: POST_INSTALL renamed to FINAL
+ * TRIGGERS: Cleaned up spacing
+
+2005-01-29 Arjan Bouter <abouter AT sourcemage.org>
+ * INSTALL: spell_installed -> spell_ok conversion
+
+2005-01-22 Rafael George <george.rafael AT gmail.com>
+ * BUILD: linux-pam rename lower case
+ * TRIGGERS: linux-pam rename lower case
+ * DEPENDS: linux-pam rename lower case
+
+2004-01-13 Eric Sandall <eric AT sandall.us>
+ * BUILD: stunnel installs stunnel.pem to /etc/stunnel now
+
+2003-11-02 Eric Sandall <eric AT sandall.us>
+ * PROVIDES: Upper-case provides
+ * HISTORY: Formatted to Guru Handbook
+
+2003-08-10 hgg <hgreig AT bigpond.net.au>
+ * TRIGGERS: Revert on_dispel Linux-PAM cast_self
+ (doesn't work the way it is documented)
+
+2003-07-26 hgg <hgreig AT bigpond.net.au>
+ * TRIGGERS: Update for Linux-PAM
+
+2003-05-30 M.L. <mlubrano AT sourcemage.org>
+ * DETAILS: Version++ (2002d).
+
+2003-04-19 M.L. <mlubrano AT sourcemage.org>
+ * DETAILS: Version++ (2002c1).
+
+2003-04-17 M.L. <mlubrano AT sourcemage.org>
+ * DETAILS: Version++ (2002c).
+
+2003-02-06 M.L. <mlubrano AT sourcemage.org>
+ * Fixed bug 2507 (thanks to tony AT smee.org)
+
+2003-01-14 M.L. <mlubrano AT sourcemage.org>
+ * DETAILS: Version++ (2002b).
+
+2002-12-22 M.L. <mlubrano AT sourcemage.org>
+ * DETAILS: Version++ (2002a).
+
+2002-12-16 M.L. <mlubrano AT sourcemage.org>
+ * DETAILS: Changed VOYEUR=off to on...
+
+2002-12-06 M.L. <mlubrano AT sourcemage.org>
+ * DETAILS: Fixed bug #1883, added VOYEUR=off in DETAILS.
+ Thanks to eric AT sandall.us (Eric Sandall).
+
+2002-11-20 M.L. <mlubrano AT sourcemage.org>
+ * DETAILS: Version++ (2002).
+
+2002-11-05 M.L. <mlubrano AT sourcemage.org>
+ * DETAILS: Added MENU_* entries to DETAILS file.
+
+2002-10-31 M.L. <mlubrano AT sourcemage.org>
+ * DETAILS: Version++ (2002.RC10).
+
+2002-10-30 M.L. <mlubrano AT sourcemage.org>
+ * DETAILS: Version++ (2002.RC9).
+
+2002-10-17 M.L. <mlubrano AT sourcemage.org>
+ * DETAILS: Version++ (2002.RC8).
+
+2002-10-07 M.L. <mlubrano AT sourcemage.org>
+ * DETAILS: Version++ (2002.RC7) thanks to Eric eric AT sandall.us
+
+2002-09-15 M.L. <mlubrano AT sourcemage.org>
+ * DETAILS: Version++ (2002.RC6).
+
+2002-09-10 M.L. <mlubrano AT sourcemage.org>
+ * xinetd.d/imap: Fixed files (thanks to LKThomas).
+ * BUILD: Patched so cast imap now generate an install log.
+
+2002-09-05 M.L. <m.l AT compaqnet.fr>
+ * DETAILS: Version++ (2002.RC5).
+
+2002-09-02 M.L. <m.l AT compaqnet.fr>
+ * DETAILS: Version++ (2002.RC4).
+ Thanks to "Thomas Graham" <lkthomas AT sml.dyndns.org>
+
+2002-08-21 M.L. <m.l AT compaqnet.fr>
+ * DETAILS: MD5[0] field updated, built from the ".tar" archive.
+
+2002-08-15 M.L. <m.l AT compaqnet.fr>
+ * DETAILS: MD5[x] field format conforming to grimoire-gurus handbook.
+ Added source url of last ressort (sourcemage mirror).
+
+2002-07-24 M.L. <m.l AT compaqnet.fr>
+ * DETAILS: Changed licence to UW-FF
+
+2002-07-23 M.L. <m.l AT compaqnet.fr>
+ * Fixed bug #492, uses user "root" in xinet.d/ files instead of
nobody.
+ Updated to 2002-RC2 (fixes buffer overflow security bug with root
account,
+ which is now used by default in xinetd files).
+
+2002-07-17 M.L. <m.l AT compaqnet.fr>
+ * PROVIDES: Added
+
+2002-06-11 M.L. <m.l AT compaqnet.fr>
+ * DETAILS: Added MD5.
+
+2002-06-10 M.L. <m.l AT compaqnet.fr>
+ * DETAILS: Added LICENSE.
+ !!! TO BE TUNED !!!
+
+2002-06-04 M.L. <m.l AT compaqnet.fr>
+ * USEGCC2: Removed
+
+2002-05-10 M.L. <m.l AT compaqnet.fr>
+ * CONFLICTS: Modified (because of pine split).
+
+2002-05-08 M.L. <m.l AT compaqnet.fr>
+ * CONFLICTS: Added courier-imap to CONFLICTS file
+ * DETAILS: Added Sergey as MAINTAINER. Thanks to him for this spell.
+
+2002-05-08 Sergey Lipnevich <sergey AT sourcemage.org>
+ * Make option NOSSL corrected to SSLTYPE, added patch to use ~/.imap/
+ instead of ~, improved the structure of BUILD script by combining
four
+ separate 'make' into one parameterized. UPDATED changed because SSL
was
+ effectively not enabled.
+
+2002-04-16 Anonymous <sergey AT sourcemage.org>
+ * Added copying of mtest binary to /usr/bin, changed all 'cp'
+ to 'cp -f' for binaries. No UPDATED change. Added CONFLICTS
+ to indicate conflict with current pine spell.
+
+2002-04-12 Sergey Lipnevich <sergey AT sourcemage.org>
+ * Separated IMAPd into a separate spell, imap. Fixed 'services'
according to
+ http://www.iana.org/assignments/port-numbers. 'services' and
xinet.d/*
+ changed to be non-executable. All services run under 'nobody'.
Removed
+ copying of manpages because they don't come with this archive.
Removed
+ copying of client binaries: only imapd, ipop2d and ipop3d are
copied.
+
+2002-09-15 M.L. <anonymous AT sourcemage.org>
+ * Changelog,HISTORY: mv Changelog HISTORY
+
+2002-01-15 Kyle Sallee <anonymous AT sourcemage.org>
+ * fixed pam authentication & imaps/pop3s
+
+2001-01-06 Kyle Sallee <anonymous AT sourcemage.org>
+ * Added support launching imapd from xinetd
+
+2002-01-14 Kyle Sallee <anonymous AT sourcemage.org>
+ * Added imaps support to spell.
+
diff --git a/mail/imap/INSTALL b/mail/imap/INSTALL
new file mode 100755
index 0000000..09402b4
--- /dev/null
+++ b/mail/imap/INSTALL
@@ -0,0 +1,22 @@
+#
+# Install c-cient
+#
+mkdir -p /usr/include/imap &&
+cp -f ./c-client/*.h /usr/include/imap/ &&
+cp -f ./c-client/c-client.a /usr/lib/libc-client.a &&
+
+cp -f ./imapd/imapd /usr/sbin/ &&
+cp -f ./ipopd/ipop2d /usr/sbin/ &&
+cp -f ./ipopd/ipop3d /usr/sbin/ &&
+cp -f ./mtest/mtest /usr/bin/ &&
+
+if spell_ok stunnel; then
+ ln -sf $TRACK_ROOT/etc/stunnel/stunnel.pem \
+ /etc/ssl/certs/imapd.pem &&
+ ln -sf $TRACK_ROOT/etc/stunnel/stunnel.pem \
+ /etc/ssl/certs/ipop3d.pem
+fi &&
+
+message "${MESSAGE_COLOR}If you get 'unknown AUTHORIZATION state command'"
&&
+message "Then you probably want to edit /etc/xinetd.d/imapd-stunnel"
&&
+message "and use imap without stunnel encapsulation... ${DEFAULT_COLOR}"
diff --git a/mail/imap/PROVIDES b/mail/imap/PROVIDES
new file mode 100755
index 0000000..2eeab1b
--- /dev/null
+++ b/mail/imap/PROVIDES
@@ -0,0 +1,2 @@
+IMAPD
+C-CLIENT
diff --git a/mail/imap/TRIGGERS b/mail/imap/TRIGGERS
new file mode 100755
index 0000000..85fced0
--- /dev/null
+++ b/mail/imap/TRIGGERS
@@ -0,0 +1,7 @@
+for i in $(grep $SPELL $DEPENDS_STATUS); do
+ if [ $(echo $i | cut -d: -f1) == "$SPELL" ] &&
+ [ $(echo $i | cut -d: -f2) == "linux-pam" ] &&
+ [ $(echo $i | cut -d: -f3) == "on" ]; then
+ on_cast linux-pam cast_self
+ fi
+done
diff --git a/mail/imap/imapd-stunnel_withoutopenssl
b/mail/imap/imapd-stunnel_withoutopenssl
new file mode 100755
index 0000000..555ba53
--- /dev/null
+++ b/mail/imap/imapd-stunnel_withoutopenssl
@@ -0,0 +1,17 @@
+service imaps
+{
+ socket_type = stream
+ protocol = tcp
+ wait = no
+ user = root
+ #user = nobody
+ #server = /usr/sbin/stunnel
+ #server_args = -l /usr/sbin/imapd
+ # imaps will work without stunnel if you have /etc/ssl/certs/imapd.pem
+ server = /usr/sbin/imapd
+ # server_args =
+ per_source = 4
+ log_type = FILE /var/log/xinetd/imapd-stunnel
+ log_on_success = PID HOST USERID EXIT DURATION
+ log_on_failure = USERID ATTEMPT
+}
diff --git a/mail/imap/mailsubdir.patch b/mail/imap/mailsubdir.patch
new file mode 100755
index 0000000..8f137f9
--- /dev/null
+++ b/mail/imap/mailsubdir.patch
@@ -0,0 +1,12 @@
+diff -urN imap-2001a/src/osdep/unix/env_unix.c imap/src/osdep/unix/env_unix.c
+--- imap-2001a/src/osdep/unix/env_unix.c 2001-10-17 23:27:59.000000000
-0400
++++ imap/src/osdep/unix/env_unix.c 2002-05-08 11:09:19.000000000 -0400
+@@ -29,7 +29,7 @@
+ static char *myMailboxDir = NIL;/* mailbox directory name */
+ static char *myLocalHost = NIL; /* local host name */
+ static char *myNewsrc = NIL; /* newsrc file name */
+-static char *mailsubdir = NIL; /* mail subdirectory name */
++static char *mailsubdir = ".imap"; /* mail subdirectory name */
+ static char *sysInbox = NIL; /* system inbox name */
+ static char *newsActive = NIL; /* news active file */
+ static char *newsSpool = NIL; /* news spool */
diff --git a/mail/imap/pam.d/imap b/mail/imap/pam.d/imap
new file mode 100755
index 0000000..15b9d55
--- /dev/null
+++ b/mail/imap/pam.d/imap
@@ -0,0 +1,7 @@
+#
+# The PAM configuration file for the `imap' service
+#
+auth required pam_unix.so
+account required pam_unix.so
+password required pam_unix.so
+session required pam_unix.so
diff --git a/mail/imap/pam.d/pop b/mail/imap/pam.d/pop
new file mode 100755
index 0000000..effc3c1
--- /dev/null
+++ b/mail/imap/pam.d/pop
@@ -0,0 +1,7 @@
+#
+# The PAM configuration file for the `pop' service
+#
+auth required pam_unix.so
+account required pam_unix.so
+password required pam_unix.so
+session required pam_unix.so
diff --git a/mail/imap/pop3-stunnel_withoutopenssl
b/mail/imap/pop3-stunnel_withoutopenssl
new file mode 100755
index 0000000..535bf06
--- /dev/null
+++ b/mail/imap/pop3-stunnel_withoutopenssl
@@ -0,0 +1,17 @@
+service pop3s
+{
+ socket_type = stream
+ protocol = tcp
+ wait = no
+ user = root
+ #user = nobody
+ #server = /usr/sbin/stunnel
+ #server_args = -l /usr/sbin/ipop3d
+ # pop3s will work without stunnel if you have
/etc/ssl/certs/ipop3d.pem
+ server = /usr/sbin/ipop3d
+ # server_args =
+ per_source = 4
+ log_type = FILE /var/log/xinetd/pop3s
+ log_on_success = PID HOST USERID EXIT DURATION
+ log_on_failure = USERID ATTEMPT
+}
diff --git a/mail/imap/services b/mail/imap/services
new file mode 100644
index 0000000..a91febd
--- /dev/null
+++ b/mail/imap/services
@@ -0,0 +1,12 @@
+pop2 109/tcp Post Office Protocol - Version 2
+pop2 109/udp Post Office Protocol - Version 2
+pop3 110/tcp Post Office Protocol - Version 3
+pop3 110/udp Post Office Protocol - Version 3
+imap 143/tcp Internet Message Access Protocol
+imap 143/udp Internet Message Access Protocol
+imap3 220/tcp Interactive Mail Access Protocol v3
+imap3 220/udp Interactive Mail Access Protocol v3
+imaps 993/tcp imap4 protocol over TLS/SSL
+imaps 993/udp imap4 protocol over TLS/SSL
+pop3s 995/tcp pop3 protocol over TLS/SSL (was spop3)
+pop3s 995/udp pop3 protocol over TLS/SSL (was spop3)
diff --git a/mail/imap/xinetd.d/imapd b/mail/imap/xinetd.d/imapd
new file mode 100755
index 0000000..a8daa82
--- /dev/null
+++ b/mail/imap/xinetd.d/imapd
@@ -0,0 +1,14 @@
+service imap
+{
+ socket_type = stream
+ protocol = tcp
+ wait = no
+ user = root
+ #user = nobody
+ server = /usr/sbin/imapd
+ #server_args =
+ per_source = 4
+ log_type = FILE /var/log/xinetd/imapd
+ log_on_success = PID HOST USERID EXIT DURATION
+ log_on_failure = USERID ATTEMPT
+}
diff --git a/mail/imap/xinetd.d/imapd-stunnel
b/mail/imap/xinetd.d/imapd-stunnel
new file mode 100755
index 0000000..905d5a1
--- /dev/null
+++ b/mail/imap/xinetd.d/imapd-stunnel
@@ -0,0 +1,17 @@
+service imaps
+{
+ socket_type = stream
+ protocol = tcp
+ wait = no
+ user = root
+ #user = nobody
+ server = /usr/sbin/stunnel
+ server_args = -l /usr/sbin/imapd
+ # imaps will work without stunnel if you have /etc/ssl/certs/imapd.pem
+ # server = /usr/sbin/imapd
+ # server_args =
+ per_source = 4
+ log_type = FILE /var/log/xinetd/imapd-stunnel
+ log_on_success = PID HOST USERID EXIT DURATION
+ log_on_failure = USERID ATTEMPT
+}
diff --git a/mail/imap/xinetd.d/pop3 b/mail/imap/xinetd.d/pop3
new file mode 100755
index 0000000..e2fd1e8
--- /dev/null
+++ b/mail/imap/xinetd.d/pop3
@@ -0,0 +1,14 @@
+service pop3
+{
+ socket_type = stream
+ protocol = tcp
+ wait = no
+ user = root
+ #user = nobody
+ server = /usr/sbin/ipop3d
+ #server_args =
+ per_source = 4
+ log_type = FILE /var/log/xinetd/pop3
+ log_on_success = PID HOST USERID EXIT DURATION
+ log_on_failure = USERID ATTEMPT
+}
diff --git a/mail/imap/xinetd.d/pop3-stunnel b/mail/imap/xinetd.d/pop3-stunnel
new file mode 100755
index 0000000..2442fc7
--- /dev/null
+++ b/mail/imap/xinetd.d/pop3-stunnel
@@ -0,0 +1,17 @@
+service pop3s
+{
+ socket_type = stream
+ protocol = tcp
+ wait = no
+ user = root
+ #user = nobody
+ server = /usr/sbin/stunnel
+ server_args = -l /usr/sbin/ipop3d
+ # pop3s will work without stunnel if you have
/etc/ssl/certs/ipop3d.pem
+ # server = /usr/sbin/ipop3d
+ # server_args =
+ per_source = 4
+ log_type = FILE /var/log/xinetd/pop3s
+ log_on_success = PID HOST USERID EXIT DURATION
+ log_on_failure = USERID ATTEMPT
+}




Archive powered by MHonArc 2.6.24.

Top of Page