Am 21.07.04 04:11 schrieb(en) Willem Riede:
Could Balsa check whether 587 is available in real time while the smtp server is being set up?
If there is a connection to the net (or the machine where the mta is running, which might be localhost), this would of course be the optimum solution. It's quite simple - just connect() to 587 and then to 25, and try to read the welcome message string, which should start with "220 ". If 587 replies, set 587, otherwise set 25.
Cheers, Albrecht. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Albrecht Dreß - Johanna-Kirchner-Straße 13 - D-53123 Bonn (Germany) Phone (+49) 228 6199571 - mailto:albrecht dress arcor de _________________________________________________________________________
Attachment:
signature.asc
Description: PGP signature