Closed znerol closed 1 year ago
Hi! Thanks for sending this!
The hostname
config option can be used to set the local name, and I think it does what you need. So a separate flag may not be needed (and may end up being confusing).
Is that reasonable, or am I missing something?
Note this is separate from the issue of "the default (which is not an FQDN) may cause some email rejections", let's discuss that in issue #37.
Thanks!
Sorry, I just realized this is for smtp-check
which is independent from chasquid's config!
So please ignore my last message, I will review this in the next couple of days, but it seems reasonable in principle.
Merged in ad0dbb9c
Some MTA do reject client connections unless the local name looks like an FQDN. This patch adds a command line flag to smtp-check to specify the local name to be used in the EHLO command.
Fixes #37