summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-mail/mailfront/files/run-pop3front')
-rw-r--r--net-mail/mailfront/files/run-pop3front9
1 files changed, 9 insertions, 0 deletions
diff --git a/net-mail/mailfront/files/run-pop3front b/net-mail/mailfront/files/run-pop3front
new file mode 100644
index 000000000000..0f341ee714e9
--- /dev/null
+++ b/net-mail/mailfront/files/run-pop3front
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+SOCKET=`head -n1 /etc/vmailmgr/cvm-vmailmgr-socket`
+
+exec /usr/bin/softlimit -m 2000000 \
+ /usr/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \
+ 0 pop-3 /var/qmail/bin/pop3front-auth cvm-local:${SOCKET} \
+ /var/qmail/bin/pop3front-maildir .maildir 2>&1
+