From a032ced5414a68f8931701acb473a37e8f72708c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ask=20Bj=C3=B8rn=20Hansen?= Date: Sat, 6 Jul 2002 08:31:18 +0000 Subject: [PATCH] config option for which IP address to bind to git-svn-id: https://svn.perl.org/qpsmtpd/branches/v010@33 958fd67b-6ff1-0310-b445-bb7760255be9 --- config.sample/IP | 4 ++++ run | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 config.sample/IP diff --git a/config.sample/IP b/config.sample/IP new file mode 100644 index 0000000..360c58e --- /dev/null +++ b/config.sample/IP @@ -0,0 +1,4 @@ +0 +# the first line of this file is being used as the IP +# address tcpserver will bind to. Use 0 to bind to all +# interfaces. diff --git a/run b/run index 6356496..aab7fb6 100755 --- a/run +++ b/run @@ -3,6 +3,6 @@ QMAILDUID=`id -u smtpd` NOFILESGID=`id -g smtpd` exec /usr/local/bin/softlimit -m 10000000 \ /usr/local/bin/tcpserver -c 10 -v -p \ - -u $QMAILDUID -g $NOFILESGID 64.81.84.165 smtp \ + -u $QMAILDUID -g $NOFILESGID `head -1 config/IP` smtp \ ./qpsmtpd 2>&1