Without direct SMTP delivery, they are useless.
.RB [ \-alias
.IR aliasfile ]
.RB [ \-verbose " | " \-noverbose ]
-.RB [ \-watch " | " \-nowatch ]
.RB [ msg
\&...]
.RB [ \-Version ]
.B \-verbose
is specified,
.B send
-will indicate the interactions
-occurring with the transport system, prior to actual delivery.
-If
-.B \-watch
-is specified
-.B send
-will monitor the delivery of local
-and network mail. Hence, by specifying both switches, a large detail
-of information can be gathered about each step of the message's entry
-into the transport system.
+will request verbose information of the transport system.
.PP
.B Send
with no
.nf
.RB ` msg "' defaults to the current message in the draft folder"
.RB ` \-noverbose '
-.RB ` \-nowatch '
.fi
.SH CONTEXT
None
.SH BUGS
-Under some configurations, it is not possible to monitor the mail delivery
-transaction;
-.B \-watch
-is a no-op on those systems.
+None
.IR aliasfile
.RB " | " \-noalias ]
.RB [ \-verbose " | " \-noverbose ]
-.RB [ \-watch " | " \-nowatch ]
.I file
.RB [ \-Version ]
.RB [ \-help ]
.PP
The
.B \-verbose
-enables the output of informational messages.
-This option sets \-watch, too.
-.PP
-The
-.B \-watch
-switch adds the `\-v' switch to the
+switch enables informational messages.
+For example, the `\-v' switch will be added to the
.B sendmail
invocation.
.PP
.SH DEFAULTS
.nf
.RB ` \-noverbose '
-.RB ` \-nowatch '
.fi
.SH CONTEXT
#include <time.h>
int debugsw = 0; /* global */
-int verbsw = 0;
char *altmsg = NULL;
char *annotext = NULL;
char *distfile = NULL;
{ "verbose", 0 },
#define NVERBSW 3
{ "noverbose", 2 },
-#define WATCSW 4
- { "watch", 0 },
-#define NWATCSW 5
- { "nowatch", 2 },
-#define VERSIONSW 6
+#define VERSIONSW 4
{ "Version", 0 },
-#define HELPSW 7
+#define HELPSW 5
{ "help", 0 },
{ NULL, 0 }
};
print_version(invo_name);
done(1);
+ case DEBUGSW:
+ debugsw++;
+ /* fall */
case VERBSW:
- verbsw++;
- vec[vecp++] = --cp;
- continue;
case NVERBSW:
- verbsw = 0;
- vec[vecp++] = --cp;
- continue;
-
- case DEBUGSW:
- debugsw++; /* fall */
- case WATCSW:
- case NWATCSW:
vec[vecp++] = --cp;
continue;
{ "verbose", 0 },
#define NVERBSW 1
{ "noverbose", 2 },
-#define WATCSW 2
- { "watch", 0 },
-#define NWATCSW 3
- { "nowatch", 2 },
-#define ALIASW 4
+#define ALIASW 2
{ "alias aliasfile", 0 },
-#define NALIASW 5
+#define NALIASW 3
{ "noalias", 2 },
-#define VERSIONSW 6
+#define VERSIONSW 4
{ "Version", 0 },
-#define HELPSW 7
+#define HELPSW 5
{ "help", 0 },
-#define DEBUGSW 8
+#define DEBUGSW 6
{ "debug", -5 },
-#define DISTSW 9
+#define DISTSW 7
{ "dist", -4 }, /* interface from dist */
-#define LIBSW 10
+#define LIBSW 8
{ "library directory", -7 },
{ NULL, 0 }
};
};
-static int badmsg = 0; /* message has bad semantics */
-static int verbose = 0; /* spell it out */
-static int debug = 0; /* debugging post */
-static int watch = 0; /* watch the delivery process */
+static int badmsg = 0;
+static int verbose = 0;
+static int debug = 0;
static int aliasflg = 0; /* if going to process aliases */
static unsigned msgflags = 0; /* what we've seen */
verbose = 0;
continue;
- case WATCSW:
- watch++;
- continue;
- case NWATCSW:
- watch = 0;
- continue;
-
case ALIASW:
if (!(cp = *argp++) || *cp == '-')
adios(NULL, "missing argument to %s",
*argp++ = "-m"; /* send to me too */
*argp++ = "-t"; /* read msg for recipients */
*argp++ = "-i"; /* don't stop on "." */
- if (watch || verbose) {
+ if (verbose) {
*argp++ = "-v";
}
*argp = NULL;