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