jmz
153ac8544a
Ignore the MAIL environment variable when the -u flag is set.
...
PR: bin/8665
1999-05-20 22:23:04 +00:00
simokawa
35561f04bb
Allocate aligned memory according to sizeof(char *).
...
Approved by: jkh
Obtained from: NetBSD
1999-01-13 10:37:22 +00:00
bde
fb38f3b38f
vfork -> fork. The child calls abort(), which calls stdio.
1998-10-10 19:21:39 +00:00
bde
b6707d5d72
vfork -> fork. This home made popen() had the same bug as the library
...
popen(), but worse. The child calls execvp(), which calls malloc()
a bit more than execl(), and it calls non-library functions that call
malloc() and who-knows-what else (stdio is called in at least some
error cases).
1998-10-10 19:18:30 +00:00
bde
85a8445364
Fixed gross breakage in previous commit. The malloc sizes for the
...
temporary file names were uninitialized if TMPDIR was set and 1 too
small otherwise.
Fixed style bugs in previous commit.
Fixed missing checks for malloc failure in previous commit.
Report malloc failure consistently, at least in temp.c.
1998-10-10 19:01:47 +00:00
bde
f9d228be4a
Removed debugging cruft.
...
Broken in: previous commit
1998-10-10 18:37:02 +00:00
thepish
7e13cb17ff
PR: bin/8250
...
protect against buffer overruns in mail temporary files.
1998-10-10 09:58:20 +00:00
jkoshy
be7e5066f8
Move setting of 'crt' mail variable to {/usr/src}/etc/mail.rc.
1998-08-31 10:53:06 +00:00
bde
0ea85390b1
Fixed printf format errors.
1998-07-06 21:01:54 +00:00
steve
113ee51c74
Document the use of sendmail options on the commandline.
...
PR: 4778
Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua>
1998-04-14 00:59:29 +00:00
joerg
3ca754e073
Fix a style bug, and a real bug (&& vs. & misused).
...
Submitted by: bde
1998-01-04 10:08:26 +00:00
joerg
9c35be2c44
Teach boring old mail(1) about the use of the REPLYTO environment
...
variable which is de-facto standard for MUAs.
Teach bomail to generate an in-reply-to header so threading MUAs and
mail->news gateways won't lose context.
While i was at it, removed two gratuitous standard violations for
functions starting with an underscore.
1998-01-02 16:44:13 +00:00
jraynard
7f39a4205e
Balance parentheses around command abbreviations.
...
PR: 4888
Submitted by: h-nokubi@nmit.tmg.nec.co.jp
1997-11-01 00:56:15 +00:00
phk
7d1a30911b
Many places in the code NULL is used in integer context, where
...
plain 0 should be used. This happens to work because we #define
NULL to 0, but is stylistically wrong and can cause problems
for people trying to port bits of code to other environments.
PR: 2752
Submitted by: Arne Henrik Juul <arnej@imf.unit.no>
1997-09-18 14:08:40 +00:00
wosch
cb32690aba
Fix file names.
1997-08-31 21:33:27 +00:00
wosch
9b7571f208
make install should not install mail.rc in /etc
1997-08-15 21:50:02 +00:00
charnier
c187fe9d5d
Use err(3).
1997-07-24 06:56:33 +00:00
bde
a3ae9f963c
Renamed undelete() to undelete_messages() to avoid conflict with new
...
undelete() syscall.
Submitted by: partly by roberto
1997-04-14 16:49:30 +00:00
imp
cd84ece5fd
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-29 04:34:07 +00:00
peter
aef78d145b
Revert $FreeBSD$ to $Id$
1997-02-22 19:58:13 +00:00
mpp
5da2a469a2
Document the "more" command.
...
Submitted by: Julian Coleman <j.d.coleman@ncl.ac.uk>
Obtained from: NetBSD-bugs PR# 3104
1997-01-15 04:44:08 +00:00
jkh
9c0cd3f9df
Make the long-awaited change from $Id$ to $FreeBSD$
...
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
jkh
f9507e79c6
Allow mail(1) to look for multiple mail.rc files.
...
Submitted-By: Lyndon Nerenberg VE7TCP <lyndon@orthanc.com>
1996-12-21 22:53:58 +00:00
jkh
4a74c3b088
Honor the MAIL environment variable.
...
Submitted-By: Dan Cross <cross@math.psu.edu>
1996-10-06 01:55:32 +00:00
bde
dfbba69dfc
Eliminated NOFILE. Use the arbitrary (currently identical) limit of 64
...
instead (for the input stack size).
`mail' was one of the 3 programs in /usr/src that (mis)used NOFILE.
1996-09-28 13:15:06 +00:00
wosch
d4a1c1cff8
[HISTORY] command appeared in Version 1 AT&T UNIX
...
Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41
1996-08-29 18:06:19 +00:00
peter
47d070af6e
Simplistic conversion of mail to use termios instead of sgtty.
1996-08-19 20:23:35 +00:00
mpp
e6d2f2986f
Correct some cross references and some path names.
1996-04-06 09:47:30 +00:00
wosch
3b6a88fe79
filenames corrected
1996-02-02 05:14:04 +00:00
mpp
029ea9012d
Fix a bunch of spelling errors in a bunch of man pages.
1996-01-30 13:52:50 +00:00
markm
6cbde946f6
Correct the man pages, USD doc and online help to refer to /var/mail
...
instead of {usr|var}/spool/mail
1995-11-20 20:51:42 +00:00
joerg
f8fea4da7d
'#' is not a comment if a non-space char follow
...
Closes PR # bin/657: mail(1): comments in ~/.ma...
Submitted by: wosch@cs.tu-berlin.de (Wolfram Schneider)
1995-08-15 19:40:26 +00:00
bde
8a5789682c
Change install' to
${INSTALL}' so that default install flags can be
...
specified in the top level Makefiles.
1995-07-25 00:37:58 +00:00
rgrimes
79e59e9123
Remove trailing whitespace.
1995-05-30 06:41:30 +00:00
ache
e8138e6afb
Remove -R from CFLAGS
1995-05-12 13:15:41 +00:00
ache
3204414e81
Fix line-count overflow, close PR 351
...
Submitted by: Edward Wang <edward@edcom.com>
1995-05-09 16:56:23 +00:00
nate
09db00123a
This is the 90's, ask the user for a Subject by default when sending mail.
1995-04-03 05:40:54 +00:00
rgrimes
f9ab90d9d6
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00