#include <h/mh.h>
#include <fcntl.h>
#include <h/aliasbr.h>
-#include <h/mts.h>
#include <h/utils.h>
#include <grp.h>
#include <pwd.h>
if (context_foil(NULL) == -1)
done(1);
- mts_init(invo_name);
arguments = getarguments(invo_name, argc, argv, 0);
argp = arguments;
dup2(fd, 1);
close(fd);
}
- execlp(mailproc, mhbasename(mailproc),
+ execlp("mhmail", "mhmail",
mail, "-subject", invo_name,
NULL);
- adios(mailproc, "unable to exec ");
+ adios("mhmail", "unable to exec ");
default:
close(pd[0]);