lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I tried to use the luasocket to send an email but I got the message  -->nil    500 Syntax Error, Command Unrecognized EHLO localhost.

So, I look at and discovery that "older clients might not support extension negotiation (EHLO) and therefore might send any of those commands (VRFY, EXPN, SEND, SAML, SOML) w/o negotiating."

Finally, I modify smtp.lua

--  self.try("EHLO", domain or DOMAIN))
    self.try("HELO", domain or DOMAIN))

and now its work. My question is:

I got any problem for this modification? Like there is something who doesn't work with the Helo in despite of EHLO?

Bruno Novelli.