From 56f41de1ec6add94bba609fd6dfefe4b4262336f Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Fri, 29 Jun 2012 20:30:06 -0400 Subject: [PATCH] run: define PORT variable --- run | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/run b/run index 22c6029..0e2ff84 100755 --- a/run +++ b/run @@ -11,6 +11,7 @@ PERL=/usr/bin/perl QMAILDUID=`id -u $QPUSER` NOFILESGID=`id -g $QPUSER` IP=`head -1 config/IP` +PORT=25 LANG=C # Remove the comments between the and tags to choose a @@ -19,7 +20,7 @@ LANG=C # exec $BIN/softlimit -m $MAXRAM \ $BIN/tcpserver -c 10 -v -R -p \ - -u $QMAILDUID -g $NOFILESGID $IP smtp \ + -u $QMAILDUID -g $NOFILESGID $IP $PORT \ ./qpsmtpd 2>&1 # @@ -30,7 +31,7 @@ exec $BIN/softlimit -m $MAXRAM \ # exec $BIN/softlimit -m $MAXRAM \ # $PERL -T ./qpsmtpd-forkserver \ # --listen-address $IP \ -# --port 25 \ +# --port $PORT \ # --limit-connections 15 \ # --max-from-ip 5 \ # --user $QPUSER