problem in running smtp (tcpserver -S option not supported)

Started by jenno, December 16, 2004, 07:33:45 AM

Previous topic - Next topic

jenno

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.

LogicX

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.
--- May this post be indexed by spiders, and archived for all to see as my internet epitaph.
http://fpux.com" target="_blank">http://fpux.com

jenno

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" target="_blank">http://cr.yp.to/ucspi-tcp.html

LogicX

and this was installed using the toaster command?
while there were no other instances running?
--- May this post be indexed by spiders, and archived for all to see as my internet epitaph.
http://fpux.com" target="_blank">http://fpux.com

jenno

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.