Post hadn't had it as renaming the draft is done by send. It appears as
if it were only there for debugging purposes.
{ "watch", 0 },
#define NWATCSW 5
{ "nowatch", 0 },
{ "watch", 0 },
#define NWATCSW 5
{ "nowatch", 0 },
-#define BACKSW 6
- { "backup", 0 },
-#define NBACKSW 7
- { "nobackup", 0 },
-#define ALIASW 8
{ "alias aliasfile", 0 },
{ "alias aliasfile", 0 },
{ "dist", -4 }, /* interface from dist */
{ "dist", -4 }, /* interface from dist */
-#define PUSHSW 14 /* fork to sendmail then exit */
+#define PUSHSW 12 /* fork to sendmail then exit */
-#define NPUSHSW 15 /* exec sendmail */
+#define NPUSHSW 13 /* exec sendmail */
{ "library directory", -7 },
{ NULL, 0 }
};
{ "library directory", -7 },
{ NULL, 0 }
};
static int verbose = 0; /* spell it out */
static int debug = 0; /* debugging post */
static int watch = 0; /* watch the delivery process */
static int verbose = 0; /* spell it out */
static int debug = 0; /* debugging post */
static int watch = 0; /* watch the delivery process */
-static int backflg = 0; /* prepend backup prefix to input file when done */
static int pushflg = 0; /* if going to fork to sendmail */
static int aliasflg = 0; /* if going to process aliases */
static int pushflg = 0; /* if going to fork to sendmail */
static int aliasflg = 0; /* if going to process aliases */
- case BACKSW:
- backflg++;
- continue;
- case NBACKSW:
- backflg = 0;
- continue;
-
case VERBSW:
verbose++;
continue;
case VERBSW:
verbose++;
continue;
- if (backflg) {
- strncpy(buf, m_backup(msg), sizeof(buf));
- if (rename(msg, buf) == NOTOK)
- advise(buf, "unable to rename %s to", msg);
- }
-
if (debug) {
/* stop here */
done(0);
if (debug) {
/* stop here */
done(0);