summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f2a6db9)
Without direct SMTP delivery, they are useless.
.RB [ \-alias
.IR aliasfile ]
.RB [ \-verbose " | " \-noverbose ]
.RB [ \-alias
.IR aliasfile ]
.RB [ \-verbose " | " \-noverbose ]
-.RB [ \-watch " | " \-nowatch ]
.RB [ msg
\&...]
.RB [ \-Version ]
.RB [ msg
\&...]
.RB [ \-Version ]
.B \-verbose
is specified,
.B send
.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.
.nf
.RB ` msg "' defaults to the current message in the draft folder"
.RB ` \-noverbose '
.nf
.RB ` msg "' defaults to the current message in the draft folder"
.RB ` \-noverbose '
.fi
.SH CONTEXT
None
.SH BUGS
.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.
.IR aliasfile
.RB " | " \-noalias ]
.RB [ \-verbose " | " \-noverbose ]
.IR aliasfile
.RB " | " \-noalias ]
.RB [ \-verbose " | " \-noverbose ]
-.RB [ \-watch " | " \-nowatch ]
.I file
.RB [ \-Version ]
.RB [ \-help ]
.I file
.RB [ \-Version ]
.RB [ \-help ]
-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
.B sendmail
invocation.
.PP
.SH DEFAULTS
.nf
.RB ` \-noverbose '
.SH DEFAULTS
.nf
.RB ` \-noverbose '
#include <time.h>
int debugsw = 0; /* global */
#include <time.h>
int debugsw = 0; /* global */
char *altmsg = NULL;
char *annotext = NULL;
char *distfile = NULL;
char *altmsg = NULL;
char *annotext = NULL;
char *distfile = NULL;
{ "verbose", 0 },
#define NVERBSW 3
{ "noverbose", 2 },
{ "verbose", 0 },
#define NVERBSW 3
{ "noverbose", 2 },
-#define WATCSW 4
- { "watch", 0 },
-#define NWATCSW 5
- { "nowatch", 2 },
-#define VERSIONSW 6
{ "help", 0 },
{ NULL, 0 }
};
{ "help", 0 },
{ NULL, 0 }
};
print_version(invo_name);
done(1);
print_version(invo_name);
done(1);
+ case DEBUGSW:
+ debugsw++;
+ /* fall */
- verbsw++;
- vec[vecp++] = --cp;
- continue;
- verbsw = 0;
- vec[vecp++] = --cp;
- continue;
-
- case DEBUGSW:
- debugsw++; /* fall */
- case WATCSW:
- case NWATCSW:
vec[vecp++] = --cp;
continue;
vec[vecp++] = --cp;
continue;
{ "verbose", 0 },
#define NVERBSW 1
{ "noverbose", 2 },
{ "verbose", 0 },
#define NVERBSW 1
{ "noverbose", 2 },
-#define WATCSW 2
- { "watch", 0 },
-#define NWATCSW 3
- { "nowatch", 2 },
-#define ALIASW 4
{ "alias aliasfile", 0 },
{ "alias aliasfile", 0 },
{ "dist", -4 }, /* interface from dist */
{ "dist", -4 }, /* interface from dist */
{ "library directory", -7 },
{ NULL, 0 }
};
{ "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 */
static int aliasflg = 0; /* if going to process aliases */
static unsigned msgflags = 0; /* what we've seen */
- case WATCSW:
- watch++;
- continue;
- case NWATCSW:
- watch = 0;
- continue;
-
case ALIASW:
if (!(cp = *argp++) || *cp == '-')
adios(NULL, "missing argument to %s",
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 "." */
*argp++ = "-m"; /* send to me too */
*argp++ = "-t"; /* read msg for recipients */
*argp++ = "-i"; /* don't stop on "." */
- if (watch || verbose) {
*argp++ = "-v";
}
*argp = NULL;
*argp++ = "-v";
}
*argp = NULL;