On Mon, 2002-03-11 at 10:51, Pong wrote: > > hi qmail experts, is there a way to bind qmail > to an ip interface such that when it sends an > email to a remote server, it will always use > that ip address? the server where qmail runs > has a primary interface with a private ip addr > and a single default route to another private > ip-based gateway. the live ip which it should > use is only an alias to eth0. > > tia, > pong > hi pong, how do you run qmail-smtpd using tcpserver? you can bind it to an ip address by chaging 0 smtp to real.ip.address.here smtp something like tcpserver -H -R -x/etc/tcp.smtp.cdb -u uid -g gid real.ip.here.fafa 25 /var/qmail/bin/qmail-smtpd
if in doubt check the man page for tcpserver in http://cr.yp.to/ucspi-tcp.html if this is not what you want you should look at smtproutes too. if this is still not what you want visit the patch tonton rabena gave you -Dek [EMAIL PROTECTED] _ Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED]
