Added -mts switch to post, send, and whom. Replaced test-sendmail-pipe
[mmh] / uip / whom.c
index 5f0eefd..ad49d86 100644 (file)
@@ -60,6 +60,8 @@ static struct swit switches[] = {
     { "tls", TLSminc(-3) },
 #define NTLSSW             17
     { "notls", TLSminc(-5) },
+#define MTSSW             18
+    { "mts smtp|sendmail/smtp|sendmail/pipe", 0 },
     { NULL, 0 }
 };
 
@@ -148,6 +150,7 @@ main (int argc, char **argv)
                case USERSW:
                case PORTSW:
                case SASLMECHSW:
+               case MTSSW:
                    vec[vecp++] = --cp;
                    if (!(cp = *argp++) || *cp == '-')
                        adios (NULL, "missing argument to %s", argp[-2]);