Browse Source

make imaps: on the command line adjust the port and ssl options as well

Oswald Buddenhagen 21 years ago
parent
commit
424db34ff2
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/main.c

+ 3 - 0
src/main.c

@@ -284,6 +284,9 @@ main (int argc, char **argv)
 		if (!strncasecmp ("imaps:", optarg, 6))
 		{
 		    global.use_imaps = 1;
+		    global.port = 993;
+		    global.use_sslv2 = 1;
+		    global.use_sslv3 = 1;
 		    optarg += 6;
 		}
 #endif