summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-mail/mailfront/files/run-pop3front')
-rw-r--r--net-mail/mailfront/files/run-pop3front5
1 files changed, 4 insertions, 1 deletions
diff --git a/net-mail/mailfront/files/run-pop3front b/net-mail/mailfront/files/run-pop3front
index 9e594a7e7baa..f28d5286327c 100644
--- a/net-mail/mailfront/files/run-pop3front
+++ b/net-mail/mailfront/files/run-pop3front
@@ -1,6 +1,9 @@
#!/bin/sh
+
+SOCKET=`head -1 /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-vmailmgr-local \
+ 0 pop-3 /var/qmail/bin/pop3front-auth cvm-local:${SOCKET} \
/var/qmail/bin/pop3front-maildir .maildir 2>&1