--- spamc.c Mon Sep 2 12:48:12 2002 +++ /u/n/m/nmueller/work/spamassassin-2.41/spamd/spamc.c Wed Sep 25 16:04:28 2002 @@ -67,6 +67,7 @@ printf("-h: print this help message\n"); printf("-p port: specify port for connection [default: 783]\n"); printf("-s size: specify max message size, any bigger and it will be returned w/out processing [default: 250k]\n"); + printf("-S: use SSL to talk to spamd\n"); printf("-u username: specify the username for spamd to process this message under\n"); } @@ -75,7 +76,7 @@ { int opt, i, j; - while(-1 != (opt = getopt(argc,argv,"-Bcd:e:fhp:t:s:u:"))) + while(-1 != (opt = getopt(argc,argv,"-Bcd:e:fhs:p:t:u:S"))) { switch(opt) { @@ -122,6 +123,11 @@ case 's': { *max_size = atoi(optarg); + break; + } + case 'S': + { + flags |= SPAMC_USE_SSL; break; } case '?': {