Files
chasquid/docs/man/smtp-check.1.pod
znerol ad0dbb9cda smtp-check: Add flag to specify local name
Some MTAs reject client connections unless the local name (used in the
HELO/EHLO command) looks like an FQDN. Currently, smtp-check always uses
`localhost`, which does not look like an FQDN.

This patch adds a command line flag to smtp-check to specify the
local name to be used.

Fixes https://github.com/albertito/chasquid/issues/37.

Amended-by: Alberto Bertogli <albertito@blitiri.com.ar>
  Minor edits to the commit message, adjust flag name, go fmt.
2023-07-16 10:03:50 +01:00

36 lines
555 B
Plaintext

=head1 NAME
smtp-check - SMTP setup checker
=head1 SYNOPSIS
B<smtp-check> [-port I<port>] [-localname I<domain>] [-skip_tls_check] I<domain>
=head1 DESCRIPTION
smtp-check is a command-line too for checking SMTP setups (DNS records, TLS
certificates, SPF, etc.).
=head1 OPTIONS
=over 8
=item B<-port> I<port>:
Port to use for connecting to the MX servers.
=item B<-localname> I<domain>:
Local name to use for the EHLO command.
=item B<-skip_tls_check>:
Skip TLS check (useful if connections are blocked).
=back
=head1 SEE ALSO
chasquid(1)