2002-02-08 12:02:19 +01:00
|
|
|
#!/bin/sh
|
|
|
|
QMAILDUID=`id -u smtpd`
|
|
|
|
NOFILESGID=`id -g smtpd`
|
2009-02-28 04:14:17 +01:00
|
|
|
LANG=C
|
2012-04-29 11:01:14 +02:00
|
|
|
# by default limit qpsmtpd to 150MB memory which should be several
|
|
|
|
# times what is needed.
|
|
|
|
exec /usr/local/bin/softlimit -m 150000000 \
|
2003-03-18 10:46:52 +01:00
|
|
|
/usr/local/bin/tcpserver -c 10 -v -R -p \
|
2002-07-06 10:31:18 +02:00
|
|
|
-u $QMAILDUID -g $NOFILESGID `head -1 config/IP` smtp \
|
2002-02-08 12:02:19 +01:00
|
|
|
./qpsmtpd 2>&1
|
|
|
|
|