On Fri, 2008-07-18 at 21:02 -0700, Kurt Bigler wrote: > Hi, all, > > This is perhaps technically off-topic since I don't use a toaster > configuration, but I thought this was a good list to ask the question to. > If not my apologies and I'll try the vchkpw list. > > The question of listening on multiple ports has come up before. It was > suggested that either another tcpserver command could be added to the > startup script with configurations cloned/modified, or if separate > configurations are not needed to use iptables to redirect an additional port > to the existing one. > > I do not need separate configurations, but I don't seem to have a command > called iptables on my freebsd server. > > I currently invoke qmail smtp as follows: > > > env - PATH="/var/qmail/bin:/usr/local/bin" \ > tcpserver -v -H -R -l$HOSTNAME -x /var/vpopmail/etc/tcp.smtp.cdb \ > -c200 -u89 -g89 0 25 fixcrio /var/qmail/bin/qmail-smtpd-chkuser 2>&1 | \ > /usr/local/bin/setuidgid qmaill \ > /usr/local/bin/multilog t n100 s1000000 /var/log/smtp & > > > and I am wondering if I will cause problems if I just duplicate the above > command with 25 changed to something else. Is there an issue of some single > queue being involved, or of collisions in logging?
Thats all you need to do. Change the port number to what you want and start up the new configuration.