dd
911ca14c87
Remove whitespace at EOL.
2001-07-15 08:06:20 +00:00
ru
36f138439b
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 14:16:33 +00:00
ru
b34776a031
mdoc(7) police: fixed formatting bugs in rev. 1.27.
2001-07-05 06:27:52 +00:00
mikeh
e65f95daf3
Add the -E flag to not send messages that have an empty body. This is
...
useful for piping cron script error output by mail.
PR: bin/9494
Obtained from: NetBSD
MFC after: 2 weeks
2001-06-28 02:40:07 +00:00
dd
7894e59b7f
Nuke unused variables.
2001-06-24 23:41:57 +00:00
mikeh
016a180889
Support mail boxes that have dates without seconds (SysV) and those
...
that have a timezone as <-|+>nnnn (eg. imapd).
PR: bin/11746
Obtained from: OpenBSD
MFC after: 2 weeks
2001-06-18 04:28:03 +00:00
mikeh
3979a82a11
Respect REPLYTO in mailrc.
...
PR: bin/8322
Submitted by: Philipp Mergenthaler <philipp.mergenthaler@stud.uni-karlsruhe.de>
MFC after: 2 weeks
2001-06-14 01:08:30 +00:00
mikeh
aa40e2eac7
Cleanup mail(1)'s varying styles by converting to using style(9).
...
Also take a stab at cleaning up BDECFLAGS and convert all uses of
NOSTR, NIL, NONE, NOVAR, NOGRP, NOGE to NULL. Also kill 'register' to
get diffs somewhat closer to OpenBSD/NetBSD.
There are no functional changes however.
Reviewed by: nra (visual inspection)
2001-05-27 20:26:22 +00:00
mikeh
0746a554bf
Allow mail(1) to be able to read Eudora mailboxes by transforming
...
lines that end in <CR><LF> to just <LF>.
Reviewed by: imp
Obtained from: OpenBSD
2001-05-11 03:07:11 +00:00
mikeh
e51e7e067d
Merge various changes from OpenBSD and NetBSD.
...
o remove panic() in favor of err(3) and use err(3) functions
consistently throughout
o use stat(2)'s S_IS* macros rather than S_IF*
o [r]index -> str[r]chr
o convert some static buffers to dynamic ones
o use real tempfiles rather than reopening the same templates
o rename some functions that clash with libc
o convert wait_status from union to int and use wait(2) status macros
o fix multiple potential buffer overflows
o fix a few comments
o add $FreeBSD$
Reviewed by: nra, nectar (earlier version)
2001-03-25 04:57:05 +00:00
ru
f4325cbb8b
Eliminate mdocNG warnings caused by misplaced or extraneous macro calls.
2001-02-28 17:38:53 +00:00
ru
8a6f8b5fe4
mdoc(7) police: split punctuation characters + misc fixes.
2001-02-01 16:38:02 +00:00
ru
1476a16d46
mdoc(7) police: fixed broken references.
2001-01-16 11:52:00 +00:00
ru
e6cfc0711d
Prepare for mdoc(7)NG.
2000-12-19 16:00:12 +00:00
ru
f3e5889750
Eliminate groff(1) warnings.
2000-11-29 10:56:59 +00:00
kris
bea660926e
*** empty log message ***
2000-11-27 06:55:38 +00:00
ru
0d1334ca0c
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 19:21:22 +00:00
ru
a6f5d950d8
Avoid use of direct troff requests in mdoc(7) manual pages.
2000-11-10 17:46:15 +00:00
phk
520b5dea3b
Add $FreeBSD$
...
Rename local offsetof() macro to boffsetof() to avoid clashing with
the offsetof() from <stddef.h>
2000-10-24 13:54:31 +00:00
gshapiro
2424c7393a
Complete migration of aliases file to /etc/mail/aliases.
...
The maintainers of share/examples/diskless/README.TEMPLATING and mergemaster
have been contacted so those may be updated as well.
2000-08-13 18:38:58 +00:00
imp
4721d7ef43
#include <errno.h> where needed. Kill extern int errno;.
...
Minor warnings in tip corrected.
2000-04-14 06:39:19 +00:00
sheldonh
49c4458c80
Remove single-space hard sentence breaks. These degrade the quality
...
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-01 12:20:22 +00:00
jkoshy
8d9b08ce74
Document startup behaviour of mail(1).
...
PR: docs/1577
Submitted by: Joseph Koshy <koshy@india.hp.com>
1999-11-08 03:54:37 +00:00
peter
3b842d34e8
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
jmz
b75649d2ee
Ignore the MAIL environment variable when the -u flag is set.
...
PR: bin/8665
1999-05-20 22:23:04 +00:00
simokawa
2373cd9b47
Allocate aligned memory according to sizeof(char *).
...
Approved by: jkh
Obtained from: NetBSD
1999-01-13 10:37:22 +00:00
bde
b350ac99ac
vfork -> fork. The child calls abort(), which calls stdio.
1998-10-10 19:21:39 +00:00
bde
7a03a3002a
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
0d02aaceb9
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
e528e28bfe
Removed debugging cruft.
...
Broken in: previous commit
1998-10-10 18:37:02 +00:00
thepish
baece423c7
PR: bin/8250
...
protect against buffer overruns in mail temporary files.
1998-10-10 09:58:20 +00:00
jkoshy
10ca2e7bc7
Move setting of 'crt' mail variable to {/usr/src}/etc/mail.rc.
1998-08-31 10:53:06 +00:00
bde
0609531ab6
Fixed printf format errors.
1998-07-06 21:01:54 +00:00
steve
c056e50072
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
0a88d1dcf1
Fix a style bug, and a real bug (&& vs. & misused).
...
Submitted by: bde
1998-01-04 10:08:26 +00:00
joerg
00289accda
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
154d1d7db2
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
d8ac409160
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
33086c126b
Fix file names.
1997-08-31 21:33:27 +00:00
wosch
812d6fd9cc
make install should not install mail.rc in /etc
1997-08-15 21:50:02 +00:00
charnier
2df2878db2
Use err(3).
1997-07-24 06:56:33 +00:00
bde
9333dd8df4
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
141381e1cb
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
f390c26dd9
Revert $FreeBSD$ to $Id$
1997-02-22 19:58:13 +00:00
mpp
731f1f957c
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
808a36ef65
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
ad3a46d18b
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
336dd89b31
Honor the MAIL environment variable.
...
Submitted-By: Dan Cross <cross@math.psu.edu>
1996-10-06 01:55:32 +00:00
bde
8dd1904c30
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
ab0ebe585d
[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