mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-23 15:37:01 +00:00
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.