qpsmtpd/run
2009-02-27 19:14:17 -08:00

10 lines
230 B
Bash
Executable File

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