The Network People Support Forums

Mail::Toaster => General Questions => Topic started by: jenno on December 16, 2004, 07:33:45 AM

Title: problem in running smtp (tcpserver -S option not supported)
Post by: jenno on December 16, 2004, 07:33:45 AM
Dear Matt,

Thank you very much for your Toaster script.

I discovered a minor bug in lib/Mail/Toaster/Qmail.pm.

At routine build_smtp_run, there is a line which add a "-S" option to tcpserver to run the smtp service. I notice that this option is not a valid option for tcpserver. After removing it, the smtp service runs perfectly.

My environment is FreeBSD 4.10

Many thanks.
Title: Re: problem in running smtp (tcpserver -S option not supported)
Post by: LogicX on December 16, 2004, 08:53:02 AM
Stop all instances of tcpserver.

run toaster_setup.pl -s ucspi

You were running an unpatched copy.

The copy that gets installed with the toaster supports -S

Enjoy.
Title: Re: problem in running smtp (tcpserver -S option not supported)
Post by: jenno on December 16, 2004, 09:41:42 PM
Dear LogicX,

I am already running the latest....

dogma# pkg_info ucspi-tcp-0.88
Information for ucspi-tcp-0.88:

Comment:
Command-line tools for building TCP client-server applications


Required by:
vpopmail-5.4.6_1
p5-vpopmail-0.08
sqwebmail-4.0.7


Description:
ucspi-tcp is a set of command-line tools for building TCP-based
client/server applications.  They are compliant to UCSPI, the
UNIX Client-Server Program Interface.  UCSPI tools are available
for several different types of networks.

WWW: http://cr.yp.to/ucspi-tcp.html
Title: Re: problem in running smtp (tcpserver -S option not supported)
Post by: LogicX on December 17, 2004, 04:02:32 AM
and this was installed using the toaster command?
while there were no other instances running?
Title: Re: problem in running smtp (tcpserver -S option not supported)
Post by: jenno on December 17, 2004, 09:38:28 AM
Yep LogicX,

The PC was a new FreeBSD 4.10 system with only lynx on it pkg_info.

Before doing the toaster, I just recompiled the kernel to include IPF, and then added a IPF rules. Reboot.

I actually after doing the installation re-ran the toaster to reinstall ucspi-tcp...

Weird isn't it? But removing "-S" option it runs really well too.