Commit Diff


commit - 974b0ed3305ecf2b8bed57726d88987ca83538eb
commit + dcdc3af143bb85012efc42c6c91f3bc7548944eb
blob - 2af3a1240be577b0d86e8dbba4efb7c85a1c438f
blob + e5b8e5ca2481e74b299a6fd10ca6b9521258b047
--- src/cmd/upas/nfs/imap.c
+++ src/cmd/upas/nfs/imap.c
@@ -756,6 +756,8 @@ imapdial(char *server, int mode)
 		fd[2] = dup(2, -1);
 		tmp = esmprint("%s:993", server);
 		if(threadspawnl(fd, "tlsclient", "tlsclient", tmp, nil) < 0
+		    && threadspawnl(fd, "/usr/sbin/stunnel3", "stunnel3", "-c", "-r", tmp, nil) < 0
+		    && threadspawnl(fd, "/usr/bin/stunnel3", "stunnel3", "-c", "-r", tmp, nil) < 0
 		    && threadspawnl(fd, "/usr/sbin/stunnel", "stunnel", "-c", "-r", tmp, nil) < 0
 		    && threadspawnl(fd, "/usr/bin/stunnel", "stunnel", "-c", "-r", tmp, nil) < 0){
 			free(tmp);