X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;ds=sidebyside;f=uip%2Fpost.c;h=3c4716100120e4a0d9c8d40a96e33c81c2b482d9;hb=39b0d6244fe3906648ce40336a2c6e8a7d9dd783;hp=6f04593d9854cf84cb3637ba66d1ec0d1f5153f4;hpb=79e665fc9bdaa67a9cd2dfd02bd4494bbec7cc2d;p=mmh diff --git a/uip/post.c b/uip/post.c index 6f04593..3c47161 100644 --- a/uip/post.c +++ b/uip/post.c @@ -131,6 +131,8 @@ static struct swit switches[] = { { "fileproc", -4 }, #define MHLPROCSW 39 { "mhlproc", -3 }, +#define MTSSW 40 + { "mts smtp|sendmail/smtp|sendmail/pipe", 2 }, { NULL, 0 } }; @@ -518,6 +520,12 @@ main (int argc, char **argv) adios (NULL, "missing argument to %s", argp[-2]); mhlproc = cp; continue; + + case MTSSW: + if (!(cp = *argp++) || *cp == '-') + adios (NULL, "missing argument to %s", argp[-2]); + save_mts_method (cp); + continue; } } if (msg)