qpsmtpd/run
Ask Bjørn Hansen c5453ef74c pass -R to tcpserver
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@123 958fd67b-6ff1-0310-b445-bb7760255be9
2003-03-18 09:46:52 +00:00

9 lines
223 B
Bash
Executable File

#!/bin/sh
QMAILDUID=`id -u smtpd`
NOFILESGID=`id -g smtpd`
exec /usr/local/bin/softlimit -m 25000000 \
/usr/local/bin/tcpserver -c 10 -v -R -p \
-u $QMAILDUID -g $NOFILESGID `head -1 config/IP` smtp \
./qpsmtpd 2>&1