X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/f4e84752c9c8de7dcb266054135147434b0dc3b8..4dff00a2d1a9e0b1e301c3015d8f7bdf87e2e37a:/uip/mhfixmsg.c?ds=inline diff --git a/uip/mhfixmsg.c b/uip/mhfixmsg.c index d6903974..150600a8 100644 --- a/uip/mhfixmsg.c +++ b/uip/mhfixmsg.c @@ -31,6 +31,8 @@ X("nofixcte", 0, NFIXCTESW) \ X("file file", 0, FILESW) \ X("outfile file", 0, OUTFILESW) \ + X("rmmproc program", 0, RPROCSW) \ + X("normmproc", 0, NRPRCSW) \ X("verbose", 0, VERBSW) \ X("noverbose", 0, NVERBSW) \ X("version", 0, VERSIONSW) \ @@ -216,6 +218,14 @@ main (int argc, char **argv) { outfile = *cp == '-' ? add (cp, NULL) : path (cp, TFILE); continue; + case RPROCSW: + if (!(rmmproc = *argp++) || *rmmproc == '-') + adios (NULL, "missing argument to %s", argp[-2]); + continue; + case NRPRCSW: + rmmproc = NULL; + continue; + case VERBSW: verbosw = 1; continue; @@ -315,7 +325,7 @@ main (int argc, char **argv) { adios (maildir, "unable to change directory to"); /* read folder and create message structure */ - if (! (mp = folder_read (folder))) + if (! (mp = folder_read (folder, 1))) adios (NULL, "unable to read folder %s", folder); /* check for empty folder */