diff options
author | Patrick Spek <p.spek@tyil.nl> | 2021-03-04 18:23:30 +0100 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2021-08-14 11:59:45 +0200 |
commit | f528313c20fb020c653a9aad27cc3b14b6a8f20a (patch) | |
tree | c5cdfa52baa8408ac6ec970169a45fbdcab84fba /.local/bin/localmail | |
parent | 212af8da568cf8f1c3f587ac3bd8420cc1f84387 (diff) |
Use explicit port numbers in localmail
Diffstat (limited to '.local/bin/localmail')
-rwxr-xr-x | .local/bin/localmail | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.local/bin/localmail b/.local/bin/localmail index 428e0fc..50894a1 100755 --- a/.local/bin/localmail +++ b/.local/bin/localmail @@ -50,10 +50,11 @@ sub fetch ($config, @args) { } say "Fetching mail for $account"; - say " Connecting to $current->{server}"; + say " Connecting to $current->{server}:" . ($current->{port} // 993); my $connection = Net::IMAP::Simple->new( $current->{server}, + #port => $current->{port} // 993, use_ssl => $current->{ssl} // 1, Timeout => $current->{timeout} // 5, ); |