Print this page
5166 sendmail package should be replaceable
@@ -36,12 +36,10 @@
* University Acknowledgment- Portions of this document are derived from
* software developed by the University of California, Berkeley, and its
* contributors.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
/*
* mailx -- a modified version of a University of California at Berkeley
* mail program
*
* Handle name lists.
@@ -605,40 +603,36 @@
extra = 2;
if (rflag != NOSTR)
extra += 2;
-#ifdef SENDMAIL
extra++;
metoo = value("metoo") != NOSTR;
if (metoo)
extra++;
verbose = value("verbose") != NOSTR;
if (verbose)
extra++;
if (hflag)
extra += 2;
-#endif /* SENDMAIL */
top = (char **) salloc((t + extra) * sizeof (char *));
ap = top;
- *ap++ = "mail";
+ *ap++ = "sendmail";
if (rflag != NOSTR) {
*ap++ = "-r";
*ap++ = rflag;
}
-#ifdef SENDMAIL
*ap++ = "-i";
if (metoo)
*ap++ = "-m";
if (verbose)
*ap++ = "-v";
if (hflag) {
*ap++ = "-h";
snprintf(hbuf, sizeof (hbuf), "%d", hflag);
*ap++ = savestr(hbuf);
}
-#endif /* SENDMAIL */
while (n != NIL) {
if (n->n_type & GDEL) {
n = n->n_flink;
continue;
}