summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThilo Bangert <bangert@gentoo.org>2002-04-26 00:04:00 +0000
committerThilo Bangert <bangert@gentoo.org>2002-04-26 00:04:00 +0000
commit98e0ee8751295f4be3641734a4a48688a3c91ca4 (patch)
treed8246c8a02364b8d0269956b83e0739e75184cc4 /net-mail/mailfront
parentmasking <app-admin/sudo for security reasons (diff)
downloadgentoo-2-98e0ee8751295f4be3641734a4a48688a3c91ca4.tar.gz
gentoo-2-98e0ee8751295f4be3641734a4a48688a3c91ca4.tar.bz2
gentoo-2-98e0ee8751295f4be3641734a4a48688a3c91ca4.zip
fixing cvm module addressing
Diffstat (limited to 'net-mail/mailfront')
-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