- execlp(incproc, mhbasename(incproc), NULL);
- adios(incproc, "unable to exec");
+ adios(NULL, "no interactive mail shell. Use inc/scan/show instead.");
}
arguments = getarguments(invo_name, argc, argv, 0);
}
arguments = getarguments(invo_name, argc, argv, 0);
- tfile = m_mktemp2(NULL, invo_name, NULL, &out);
+ tfile = m_mktemp2("/tmp/", invo_name, NULL, &out);
/* report failure and then send it */
adios(NULL, "unable to fork");
} else if (child_id) {
/* parent process */
/* report failure and then send it */
adios(NULL, "unable to fork");
} else if (child_id) {
/* parent process */
fprintf(stderr, "Letter saved in dead.letter\n");
execl("/bin/mv", "mv", tmpfil, "dead.letter", NULL);
execl("/usr/bin/mv", "mv", tmpfil, "dead.letter",
fprintf(stderr, "Letter saved in dead.letter\n");
execl("/bin/mv", "mv", tmpfil, "dead.letter", NULL);
execl("/usr/bin/mv", "mv", tmpfil, "dead.letter",