Omar Armas Aleman wrote:
El Dom 03 Jul 2005 02:30, Sameer N Ingole escribió:
[snip]
How can I make my smtp to listen on just one IP?
/var/qmail/control/outgoingip:
http://www.qmail-ldap.org/wiki/~control/outgoingip
I think he already has his qmail-remote originating connections from a
given IP.
I think he wants his qmail-smtpd to listen only on a specific IP.
If you have a standard qmail-ldap setup, edit:
/var/qmail/boot/qmail-smtpd/run
and edit it so that the tcpserver line looks something like:
--8<--
...
tcpserver -v -URl $ME -x$QMAIL/control/qmail-smtpd.cdb \
${CONCURRENCY:+"-c$CONCURRENCY"} ${BACKLOG:+"-b$BACKLOG"} \
1.2.3.4 smtp $QMAIL/bin/qmail-smtpd
--8<--
Where 1.2.3.4 is the IP you would like it to listen on.
Paul