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
This commit is contained in:
parent
ae8adc41a2
commit
a032ced541
4
config.sample/IP
Normal file
4
config.sample/IP
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
0
|
||||||
|
# the first line of this file is being used as the IP
|
||||||
|
# address tcpserver will bind to. Use 0 to bind to all
|
||||||
|
# interfaces.
|
2
run
2
run
@ -3,6 +3,6 @@ QMAILDUID=`id -u smtpd`
|
|||||||
NOFILESGID=`id -g smtpd`
|
NOFILESGID=`id -g smtpd`
|
||||||
exec /usr/local/bin/softlimit -m 10000000 \
|
exec /usr/local/bin/softlimit -m 10000000 \
|
||||||
/usr/local/bin/tcpserver -c 10 -v -p \
|
/usr/local/bin/tcpserver -c 10 -v -p \
|
||||||
-u $QMAILDUID -g $NOFILESGID 64.81.84.165 smtp \
|
-u $QMAILDUID -g $NOFILESGID `head -1 config/IP` smtp \
|
||||||
./qpsmtpd 2>&1
|
./qpsmtpd 2>&1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user