1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-30 16:47:02 +00:00
Files
go-chasquid-smtp/internal/courier
Alberto Bertogli 2f2d1f2dbd courier: Use the senders' domain when saying EHLO
Some servers, like postfix, will pay close attention to the domain we say as a
part of the EHLO.

By default, Go's smtp package will use "localhost", causing it to complain.

This patch fixes that by using the envelope-from's domain.
It's not clear if that's better than using what we are resolving to, but
that's much more involved so we're going to do this for now.
2016-10-10 00:51:04 +01:00
..