summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2004-01-05 23:29:41 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2004-01-05 23:29:41 +0000
commit24ce5cddf6e7b6e4f0e82190eb01166441301d27 (patch)
tree605b981517f6696c0ddcb4ae0db3d245cae40862 /net-mail/mailfront
parentfix tail -1 issue and copyright headers (Manifest recommit) (diff)
downloadgentoo-2-24ce5cddf6e7b6e4f0e82190eb01166441301d27.tar.gz
gentoo-2-24ce5cddf6e7b6e4f0e82190eb01166441301d27.tar.bz2
gentoo-2-24ce5cddf6e7b6e4f0e82190eb01166441301d27.zip
fix tail -1 issue
Diffstat (limited to 'net-mail/mailfront')
-rw-r--r--net-mail/mailfront/ChangeLog6
-rw-r--r--net-mail/mailfront/files/run-pop3front2
-rw-r--r--net-mail/mailfront/files/run-smtpfront2
3 files changed, 7 insertions, 3 deletions
diff --git a/net-mail/mailfront/ChangeLog b/net-mail/mailfront/ChangeLog
index d3c6e0659f0c..d94815475623 100644
--- a/net-mail/mailfront/ChangeLog
+++ b/net-mail/mailfront/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-mail/mailfront
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/mailfront/ChangeLog,v 1.9 2004/01/05 23:03:24 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mailfront/ChangeLog,v 1.10 2004/01/05 23:29:41 robbat2 Exp $
+
+ 05 Jan 2004; Robin H. Johnson <robbat2@gentoo.org> files/run-pop3front,
+ files/run-smtpfront:
+ fix tail -1 issue
*mailfront-0.88 (05 Jan 2004)
diff --git a/net-mail/mailfront/files/run-pop3front b/net-mail/mailfront/files/run-pop3front
index f28d5286327c..0f341ee714e9 100644
--- a/net-mail/mailfront/files/run-pop3front
+++ b/net-mail/mailfront/files/run-pop3front
@@ -1,6 +1,6 @@
#!/bin/sh
-SOCKET=`head -1 /etc/vmailmgr/cvm-vmailmgr-socket`
+SOCKET=`head -n1 /etc/vmailmgr/cvm-vmailmgr-socket`
exec /usr/bin/softlimit -m 2000000 \
/usr/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \
diff --git a/net-mail/mailfront/files/run-smtpfront b/net-mail/mailfront/files/run-smtpfront
index 33d0e01adf18..714a35db1394 100644
--- a/net-mail/mailfront/files/run-smtpfront
+++ b/net-mail/mailfront/files/run-smtpfront
@@ -4,7 +4,7 @@ QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
#set CVM_SASL_LOGIN and CVM_SSASL_PLAIN to the path of cvm-vmailmgr socket (/etc/vmailmgr/cvm-vmailmgr-socket
-SOCKET=`head -1 /etc/vmailmgr/cvm-vmailmgr-socket`
+SOCKET=`head -n1 /etc/vmailmgr/cvm-vmailmgr-socket`
export CVM_SASL_LOGIN=$SOCKET
export CVM_SASL_PLAIN=$SOCKET