aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2021-03-17 01:05:06 +0100
committerPatrick Spek <p.spek@tyil.nl>2021-08-14 12:01:16 +0200
commit9c2969dc2752f0be0873aa47c53f585933814e4c (patch)
tree25338eb8c96c8af6f8326f37112a113fdb5486a3
parent864ee8ba76251037831b95d7f2cd853f9982c65f (diff)
Set hostname on EHLO
-rwxr-xr-x.local/bin/localmail2
1 files changed, 2 insertions, 0 deletions
diff --git a/.local/bin/localmail b/.local/bin/localmail
index 50894a1..c10871a 100755
--- a/.local/bin/localmail
+++ b/.local/bin/localmail
@@ -15,6 +15,7 @@ use File::Path;
use File::Slurp;
use Net::IMAP::Simple;
use Net::SMTP;
+use Sys::Hostname::FQDN;
use App::Localmail;
@@ -154,6 +155,7 @@ sub send ($config, @args) {
Port => $port,
SSL => $current->{ssl} // 0,
Timeout => $current->{timeout} // 5,
+ Hello => Sys::Hostname::FQDN::fqdn(),
Debug => 1,
);