diff options
-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, ); |