aboutsummaryrefslogtreecommitdiff
path: root/contrib/sendmail/mail.local
diff options
context:
space:
mode:
authorGregory Neil Shapiro <gshapiro@FreeBSD.org>2001-01-21 22:17:06 +0000
committerGregory Neil Shapiro <gshapiro@FreeBSD.org>2001-01-21 22:17:06 +0000
commit193538b7dabbb9c165660ca97d2704eea0642fa1 (patch)
tree4f725bdbff499cf7343d2eaeec15f8a0f0926140 /contrib/sendmail/mail.local
parent42e5d1658931f6141a962c4b87919e7a1613ec8e (diff)
downloadsrc-193538b7dabbb9c165660ca97d2704eea0642fa1.tar.gz
src-193538b7dabbb9c165660ca97d2704eea0642fa1.zip
Notes
Diffstat (limited to 'contrib/sendmail/mail.local')
-rw-r--r--contrib/sendmail/mail.local/mail.local.810
-rw-r--r--contrib/sendmail/mail.local/mail.local.c6
2 files changed, 9 insertions, 7 deletions
diff --git a/contrib/sendmail/mail.local/mail.local.8 b/contrib/sendmail/mail.local/mail.local.8
index e6e8ea397aa0..939d772f2e71 100644
--- a/contrib/sendmail/mail.local/mail.local.8
+++ b/contrib/sendmail/mail.local/mail.local.8
@@ -8,15 +8,17 @@
.\" the sendmail distribution.
.\"
.\"
-.\" $Id: mail.local.8,v 8.14.14.3 2000/09/17 17:04:25 gshapiro Exp $
+.\" $Id: mail.local.8,v 8.14.14.5 2000/12/29 18:12:16 gshapiro Exp $
.\"
-.TH MAIL.LOCAL 8 "$Date: 2000/09/17 17:04:25 $"
+.TH MAIL.LOCAL 8 "$Date: 2000/12/29 18:12:16 $"
.SH NAME
-.B mail.local
+mail.local
\- store mail in a mailbox
.SH SYNOPSIS
.B mail.local
-.RB [ \-7 "] [" \-b "] [" \-d "] [" \-l "] [" \-f
+.RB [ \-7 "] [" \-b "] [" \-d "] [" \-l "] [" \-f
+.IR from "] "
+.RB [ \-r
.IR from "] " "user ..."
.SH DESCRIPTION
.B Mail.local
diff --git a/contrib/sendmail/mail.local/mail.local.c b/contrib/sendmail/mail.local/mail.local.c
index 8178f7bd2c2e..473d04ab3b81 100644
--- a/contrib/sendmail/mail.local/mail.local.c
+++ b/contrib/sendmail/mail.local/mail.local.c
@@ -19,7 +19,7 @@ static char copyright[] =
#endif /* ! lint */
#ifndef lint
-static char id[] = "@(#)$Id: mail.local.c,v 8.143.4.37 2000/09/22 00:49:10 doug Exp $";
+static char id[] = "@(#)$Id: mail.local.c,v 8.143.4.39 2000/11/14 20:02:47 gshapiro Exp $";
#endif /* ! lint */
/*
@@ -650,7 +650,7 @@ dolmtp(bouncequota)
printf("250 2.0.0 ok\r\n");
rset:
- while (rcpt_num)
+ while (rcpt_num > 0)
free(rcpt_addr[--rcpt_num]);
if (return_path != NULL)
free(return_path);
@@ -911,7 +911,7 @@ deliver(fd, name, bouncequota)
struct stat sb;
struct passwd *pw;
char path[MAXPATHLEN];
- int mbfd, nr = 0, nw, off;
+ int mbfd = -1, nr = 0, nw, off;
char *p;
off_t curoff;
#ifdef CONTENTLENGTH