Closed znerol closed 1 year ago
Thanks a lot for sending this!
It looks good to me. I merged it to the next
branch, with some minor amends:
go fmt
.--local_name
-> --localname
for consistency with most other flags.Can you please check ad0dbb9cdada840abf5040686677af40ec95c4a2 and confirm you're okay with this?
Thanks again!
Perfect! Thanks a lot.
The golang
net/smtp
package defaults tolocalhost
for theEHLO
local name unless specified otherwise using the c.Hello func.Some MTA do reject client connections unless the local name at least looks like an fqdn. Extract from a sample run: