commit 40fba286c95099b8e7b8525b33b9bf1b8d9e290e parent d214ba38007a25e79307441a9b79ccdfafe92536 Author: Jacob R. Edwards <jacob@jacobedwards.org> Date: Fri, 5 May 2023 14:35:09 -0700 Set incmail's ssh(1) connection timeout to 5 seconds Diffstat:
| M | local/bin/bin/incmail | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/local/bin/bin/incmail b/local/bin/bin/incmail @@ -36,6 +36,6 @@ done test $# -ne 1 && usage -ssh -o ExitOnForwardFailure=yes -f -L 10110:localhost:110 "$1" sleep 2.5 || +ssh -o ConnectTimeout=5 -o ExitOnForwardFailure=yes -f -L 10110:localhost:110 "$1" sleep 6 || exit pop3 -sdp 10110 ${flags:+-"$flags"} localhost sendmail "${to:-"$USER"}"