aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpullimap2
-rw-r--r--pullimap.12
2 files changed, 2 insertions, 2 deletions
diff --git a/pullimap b/pullimap
index 27226d2..235bc62 100755
--- a/pullimap
+++ b/pullimap
@@ -124,7 +124,7 @@ sub sendmail($$) {
# the connection due to a timeout (RFC 5321 section 4.5.3.2)
my ($fam, $addr) = (PF_INET, $CONF->{'deliver-method'} // 'smtp:[127.0.0.1]:25');
$addr =~ s/^([ls]mtp):// or die;
- my $ehlo = $1 eq 'lmtp' ? 'LHO' : $1 eq 'smtp' ? 'EHLO' : die;
+ my $ehlo = $1 eq 'lmtp' ? 'LHLO' : $1 eq 'smtp' ? 'EHLO' : die;
$ehlo .= ' '. ($CONF->{'deliver-ehlo'} // 'localhost.localdomain');
my $port = $addr =~ s/:(\d+)$// ? $1 : die;
diff --git a/pullimap.1 b/pullimap.1
index 05fdc2c..52a6152 100644
--- a/pullimap.1
+++ b/pullimap.1
@@ -98,7 +98,7 @@ messages. Both SMTP [RFC 5321] and LMTP [RFC 2030] are supported.
.TP
.I deliver\-ehlo
-Hostname to use in EHLO or LHO commands.
+Hostname to use in EHLO or LHLO commands.
(Default: \(lq\fIlocalhost.localdomain\fR\)\(rq.)