On 19 Nov 2000, at 21:51, Jose AP Celestino wrote:
> Phil Barnett wrote:
>
> > On 19 Nov 2000, at 16:32, Vince Vielhaber wrote:
> >
> > > On Sun, 19 Nov 2000, Phil Barnett wrote:
> > >
> > > >
> > > > Is there a simple way to have SMTP listen on another port _as
> > > > well as_ port 25?
> > > >
> > > > Several of my pop before smtp users have found that their
> > > > providers are blocking outbound traffic destined for port 25.
> > >
> > > Sure. Just tell tcpserver to listen on another port. You can
> > > safely run a second, third, etc. instance of tcpserver for mail.
> >
> > Which configuration file controls this?
> >
>
> the qmail init script, for instance, /etc/init.d/qmail, copy the
> tcpserver line and alter the port:
>
> (listens on port 25)
> /usr/local/bin/tcpserver -P -H -R -u 64011 -g 101 0 smtp
> /usr/local/bin/tcpcontrol /etc/tcp.smtp.cdb /var/qmail/bin/qmail-smtpd
> &
>
> (listens on port 666)
> /usr/local/bin/tcpserver -P -H -R -u 64011 -g 101 0 666
> /usr/local/bin/tcpcontrol /etc/tcp.smtp.cdb /var/qmail/bin/qmail-smtpd
> &
Thanks.
I found some time to figure this out and found that smtp is running
via inetd.conf, not tcpserver. Once I found that, it was easy to add
another port to services and inetd.conf.
--
Phil Barnett mailto:[EMAIL PROTECTED]
WWW http://www.the-oasis.net/
FTP Site ftp://ftp.the-oasis.net