]> git.marmaro.de Git - mmh/blobdiff - uip/whatnowsbr.c
Feed fileproc and mhlproc from rcvdist, send, whatnow, and whom to post.
[mmh] / uip / whatnowsbr.c
index 6541b42ed08b53ed6a27fac31b7e9db24ccf3367..ad7570a532f3c4e8eee748be38d84915855e9f92 100644 (file)
@@ -1157,6 +1157,16 @@ sendit (char *sp, char **arg, char *file, int pushed)
     vec[vecp++] = "-library";
     vec[vecp++] = getcpy (m_maildir (""));
 
+    if ((cp = context_find ("fileproc"))) {
+      vec[vecp++] = "-fileproc";
+      vec[vecp++] = cp;
+    }
+
+    if ((cp = context_find ("mhlproc"))) {
+      vec[vecp++] = "-mhlproc";
+      vec[vecp++] = cp;
+    }
+
     while ((cp = *argp++)) {
        if (*cp == '-') {
            switch (smatch (++cp, sendswitches)) {