Initial commit. master
authorroot <root@deleuze.hcoop.net>
Fri, 27 Jun 2008 01:24:07 +0000 (21:24 -0400)
committerroot <root@deleuze.hcoop.net>
Fri, 27 Jun 2008 01:24:07 +0000 (21:24 -0400)
.gitignore [new file with mode: 0644]
log/run [new file with mode: 0755]
run [new file with mode: 0755]

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..23e60ef
--- /dev/null
@@ -0,0 +1 @@
+supervise
diff --git a/log/run b/log/run
new file mode 100755 (executable)
index 0000000..41c258b
--- /dev/null
+++ b/log/run
@@ -0,0 +1,2 @@
+#!/bin/bash
+exec /usr/bin/svlogd -tt /var/log/courier/pop-ssl
diff --git a/run b/run
new file mode 100755 (executable)
index 0000000..2c7cccb
--- /dev/null
+++ b/run
@@ -0,0 +1,21 @@
+#!/bin/bash
+
+exec 2>&1
+
+. /etc/courier/pop3d
+. /etc/courier/pop3d-ssl
+
+POP3_TLS=1 ; export POP3_TLS
+
+`sed -n '/^#/d;/=/p' </etc/courier/pop3d | \
+  sed 's/=.*//;s/^/export /'`
+`sed -n '/^#/d;/=/p' </etc/courier/pop3d-ssl | \
+  sed 's/=.*//;s/^/export /'`
+
+exec \
+  /usr/sbin/couriertcpd \
+    -address=$SSLADDRESS -maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \
+    $TCPDOPTS \
+    $SSLPORT /usr/bin/couriertls -server -tcpd \
+    /usr/lib/courier/courier/courierpop3login \
+    /usr/lib/courier/courier/courierpop3d Maildir