qpsmtpd/run
Ask Bjørn Hansen a032ced541 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
2002-07-06 08:31:18 +00:00

9 lines
220 B
Bash
Executable File

#!/bin/sh
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 `head -1 config/IP` smtp \
./qpsmtpd 2>&1