Viktor, I DID try to just raise timeouts and I did some more tests.

My MTA is exim and it is very "strict" on the protocol.

Try to issue this command:
telnet <mailserver> 25
and you will get a
"220 message"
and ONLY IN THIS MOMENT you can issue commands !

Exim doesn't accept any command before the 220 is sent ! In the past,
a lot of spam software did send the HELO without waiting for the 220
banner and exim killed them....

Gmail accepts the message without the patch and probably the same will
happen with other MTAs....


I want to say that  in a particular case (external antivirus + backend
MTA) I have
"220-message 1"
"220 message 2"
and if the backend is  down I get a
"5xx error message"

> Second because GetOK() _is_ actually called after HELO and
> EHLO requests in line 124 and 143.

It is correct that it is called after HELO/EHLO ! But the reply must
be correctly checked !

Finally, please try the patch....

Thanks,
Francesco
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to