Add STARTTLS to poster.pl

Signed-off-by: Thomas Hochstein <thh@thh.name>
This commit is contained in:
Thomas Hochstein 2026-01-31 22:26:06 +01:00
parent 8db4fa83e0
commit fc71f975af

View file

@ -87,6 +87,7 @@ sub connect_nntp($)
# authinfo does not return a value # authinfo does not return a value
$nntp->authinfo($cfg_nntp_user, $cfg_nntp_pass); $nntp->authinfo($cfg_nntp_user, $cfg_nntp_pass);
$nntp->starttls if $nntp->can_ssl();
return $nntp; return $nntp;
} }