summaryrefslogtreecommitdiff
path: root/usr.bin/mail
AgeCommit message (Collapse)Author
2000-06-30warnx?/errx? paranoia (use "%s" not a bare string unless it is aTodd C. Miller
constant). These are not security holes but it is worth fixing them anyway both for robustness and so folks looking for examples in the tree are not misled into doing something potentially dangerous. Furthermore, it is a bad idea to assume that pathnames will not include '%' in them and that error routines don't return strings with '%' in them (especially in light of the possibility of locales).
2000-06-26fix pasto; noted by artHugh Graham
2000-06-11newaliases(1) -> newaliases(8)Todd C. Miller
2000-05-15/etc/mail/aliasesTheo de Raadt
2000-04-26Change the name of mail's send() function to sendmessages() toTodd C. Miller
avoid shadowing the libc send(2); gadams@avernus.com
2000-04-25When incorporating new messages, clear the "new" count before theTodd C. Miller
inc so the count of new messages is useful afterwards. This makes mail behave more like the SunOS version in this respect.
2000-04-12Trailing whitespace begone!Aaron Campbell
2000-03-24Correct the HISTORY section to note that this command appeared in Version 5Aaron Campbell
of AT&T UNIX, not Version 6. Verified by strings(1)'ing a .dsk file (PDP-11 executable) containing the v5 sources, obtainable at gatekeeper.dec.com in the directory /pub/DEC/sim/software. Idea from NetBSD PR/4790.
2000-03-23When calling sendmail, use "--" to indicate end of command line arguments.Todd C. Miller
This prevents someone from sneaking arbitrary args to sendmail via the Reply-To: or From: lines.
2000-03-10Various cleanups and standardization.Aaron Campbell
2000-03-04Try to standardize the options list introduction; it should read "The optionsAaron Campbell
are as follows:", except in special cases.
1999-10-16Formatting fixes.Aaron Campbell
1999-06-05- remove trailing white spaceAaron Campbell
- remove arguments from .Os macros - remove arguments from .Nm macros, where appropriate - some more Dq/Sq/Ql insanity - still lots to do in the usr.bin tree... :/
1999-05-12grammar police: do not hyphenate compound words that act as adjectives if theAaron Campbell
first word ends in -ly i.e., fully-qualified, newly-created, globally-visible, etc. are wrong
1998-11-19significant cleanup; also s/INTRODUCTION/DESCRIPTION/, in particular for man -hAaron Campbell
1998-11-11remove redundant .Pp macrosAaron Campbell
1998-09-27mail -u foo is not really the same as mail -f /var/mail/fooTodd C. Miller
1998-09-27Use new username option to lockspool for 'mail -u'.Todd C. Miller
1998-09-26usr.bin/ man page fixes, f-m.Aaron Campbell
1998-09-13typosAaron Campbell
1998-09-12document reality.Todd T. Fries
1998-09-10.Xr lockspool 1Todd C. Miller
1998-09-10Fix commentsTodd C. Miller
1998-09-10If a child has not been waited on via the SIGCHLD handler, wait for itTodd C. Miller
ourselves instead of playing games with sigsuspend. This may fix PR 588.
1998-09-10make mail.1 nroff'able againTodd C. Miller
1998-09-08repair order of signal blocking that got changed in conversion to POSIX signalsTodd C. Miller
1998-09-08Fix comments in .mailrc where there is no space after the hash (#). Noted ↵Todd C. Miller
by pjanzen@foatdi.harvard.edu
1998-09-07More man page fixes. Particularly fix uses of it's/its, affect/effect,Aaron Campbell
then/than and such. Other miscellaneous problems fixed across these source files.
1998-09-06More man page fixes. Spelling, grammar, some typos. Lots of double-wordAaron Campbell
occurrences squashed as well.
1998-09-01more man page fixes; aaron@ug.cs.dal.caTheo de Raadt
1998-08-15use lockspool for locking, not 'mail.local -H'Todd C. Miller
1998-07-16mention MAIL environment variableTodd C. Miller
1998-06-25and mailx too..Theo de Raadt
1998-06-12back out some signal changes that can cause mail to hang when quitting due ↵Todd C. Miller
to SIGCHLD blockage
1998-06-12Don't call truncate() directly; have rm() do it if we get EPERM on unlink()Todd C. Miller
In popen.c, findchild() may return NULL so catch that case.
1998-06-12Properly delete messages that the user has deleted in his/her spool.Todd C. Miller
I fudged up the logic when I replaced an unlink with a truncate.
1998-06-11Don't segfault just because a line starts with NUL; rossTheo de Raadt
1998-05-11fix scrolling and 'z' command; matt debergalis <deberg@mit.edu>Todd C. Miller
1998-05-04Never remove a mail spool, as we may not have proper prics, just truncate. ↵Todd C. Miller
Also block signals in a few critical areas
1998-04-25doc startup behaviour; koshy@india.hp.comTheo de Raadt
1998-04-25fix usage; ru@ucb.crimea.uaTheo de Raadt
1998-03-24pretttyTheo de Raadt
1998-02-15Remove one case of malloc call from sighandlerNiklas Hallqvist
1997-11-14NetBSD changes (mostly comsmetic):Todd C. Miller
replace panic() with calls to err()/errx() use S_IS* instead of doing by hand with S_IF*. Use TIMESPEC_TO_TIMEVAL() and gettimeofday instead of time(2) Use _POSIX_VDISABLE, not 0 Kill register
1997-11-13Add back EXTPROC code now that tty_pty.c has the lite2 fix.Todd C. Miller
1997-11-04unbalanced parenthesis around command abbreviation in mail.1; ↵Theo de Raadt
h-nokubi@nmit.tmg.nec.co.jp
1997-09-21$OpenBSD$Theo de Raadt
1997-09-04Deal with <CR><LF> pairs in mailboxes so we can work with eudora mailTodd C. Miller
spools mounted from DOS/Windoze. From Matt Thomas <matt@3am-software.com>.
1997-08-31Kill union wait.Todd C. Miller
1997-08-05pull errno.h inTheo de Raadt