aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/mail
Commit message (Collapse)AuthorAgeFilesLines
* o Really commit typo fixes to HEAD.Maxim Konovalov2007-03-251-1/+1
| | | | | | | | PR: docs/110809 Submitted by: naddy Notes: svn path=/head/; revision=167879
* Document the TMPDIR environment variable.Diomidis Spinellis2006-01-051-1/+3
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=154052
* Sync usage screen with manpage.Yaroslav Tykhiy2005-10-071-7/+6
| | | | | | | MFC after: 5 days Notes: svn path=/head/; revision=151053
* Document the -d flag to mail(1) better, which comes handy whenYaroslav Tykhiy2005-10-071-6/+15
| | | | | | | | | | | | you want to see, e.g., sendmail arguments mail(1) will use. -H is not an independent flag, it's a modifier. Also explicitly say that -H will cause mail(1) to exit as soon as it prints the headers. MFC after: 5 days Notes: svn path=/head/; revision=151052
* Remove the dates from these files. They serve no purpose and result inColin Percival2005-08-171-1/+2
| | | | | | | | | these files spuriously changing each time they are built. Also, add $FreeBSD$ tags, because cvs is unhappy otherwise. Notes: svn path=/head/; revision=149196
* Bumped document date.Ruslan Ermilov2004-05-191-6/+8
| | | | | | | Dealt with hard sentence breaks and whitespace at EOL. Notes: svn path=/head/; revision=129430
* These aren't all binary options.Mike Heffner2004-03-091-1/+1
| | | | Notes: svn path=/head/; revision=126759
* Assign checkmode boolean earlier to handle the goto jump.Mike Heffner2004-03-061-1/+1
| | | | | | | Might fix PR bin/63769. Notes: svn path=/head/; revision=126691
* Add the -e (mail presence test), -H (header summary mode), and -FMike Heffner2004-02-296-14/+183
| | | | | | | | | | | (message save as first recipient) options for standards conformance. Submitted by: Wartan Hachaturow <wart@tepkom.ru> (with some changes) PR: standards/61934 Notes: svn path=/head/; revision=126415
* Remove 2 more unused doc Makefiles.Tom Rhodes2003-02-041-11/+0
| | | | Notes: svn path=/head/; revision=110343
* The return-path is optional in a headline, therefore don't skip aMike Heffner2003-01-091-5/+12
| | | | | | | | | | message if it is missing the return-path. PR: bin/40314 (slightly different patch) MFC after: 2 weeks Notes: svn path=/head/; revision=108988
* Correct a few more definitions, capitalize header fields consistently.Mike Heffner2003-01-091-5/+5
| | | | Notes: svn path=/head/; revision=108982
* Clarify ~. escape definition, remove duplicate entry, and shorten aMike Heffner2003-01-091-4/+3
| | | | | | | definition. Notes: svn path=/head/; revision=108980
* Document the ~. and ~? command escapes.Mike Heffner2003-01-091-0/+4
| | | | Notes: svn path=/head/; revision=108978
* Replace various spelling with FALLTHROUGH which is lint()ablePhilippe Charnier2002-08-251-1/+1
| | | | Notes: svn path=/head/; revision=102412
* Drop support for COPY, -c has been the default mode of install(1)Ruslan Ermilov2002-07-291-1/+1
| | | | | | | | | for a long time now. Approved by: bde Notes: svn path=/head/; revision=100872
* s/${INSTALL} -c/${INSTALL} ${COPY}/Ruslan Ermilov2002-07-181-1/+1
| | | | Notes: svn path=/head/; revision=100313
* Consistently use FBSDIDDavid E. O'Brien2002-06-3023-46/+46
| | | | Notes: svn path=/head/; revision=99112
* Add support for the 'flipr' option per IEEE 1003.1-2001.Mike Heffner2002-06-252-2/+10
| | | | Notes: svn path=/head/; revision=98805
* Use strcasestr() instead of reimplementing it.Mike Heffner2002-06-251-45/+18
| | | | Notes: svn path=/head/; revision=98804
* Make the 'searchheaders' option behave how it was supposed to. IfMike Heffner2002-06-253-11/+16
| | | | | | | | | enabled, the string '/to:y' will match strings in the To, Cc, and Bcc header fields. Whereas, '/To:y' will match only the To field. Edit the manpage and a code comment to indicate the correct behavior. Notes: svn path=/head/; revision=98803
* Rearrange a little, specifically:Mike Heffner2002-06-251-86/+131
| | | | | | | | | | | | | - removed "Option string values" section and divided up amongst mail options and environment section - expanded environment section - rearranged mail options - added default values to the mail options for clarification Reviewed by: ru Notes: svn path=/head/; revision=98802
* Use `The .Nm utility'Philippe Charnier2002-04-201-9/+14
| | | | Notes: svn path=/head/; revision=95124
* remove __PWarner Losh2002-03-223-219/+216
| | | | Notes: svn path=/head/; revision=92921
* #include <sys/time.h> instead of depending on namespace pollution inBruce Evans2002-02-251-0/+2
| | | | | | | | <sys/stat.h> for the declaration of struct timeval. Intentionally don't follow the local style of polluting the local headers. Notes: svn path=/head/; revision=91227
* Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3.Mark Murray2002-02-081-1/+0
| | | | Notes: svn path=/head/; revision=90416
* Show arguments of command line optionsPhilippe Charnier2002-01-221-11/+21
| | | | | | | Reviewed by: ru Notes: svn path=/head/; revision=89669
* Link mail(1) to mailx per POSIX. Mail(1) isn't 100% POSIX compliant,Mike Heffner2002-01-192-4/+7
| | | | | | | | | but it is pretty close. Not objected to by: -standards Notes: svn path=/head/; revision=89573
* mdoc(7) police: oops, forgot about those interim XXX'es.Ruslan Ermilov2002-01-101-8/+4
| | | | Notes: svn path=/head/; revision=89209
* mdoc(7) police: tidy up.Ruslan Ermilov2002-01-101-212/+237
| | | | Notes: svn path=/head/; revision=89208
* Fix comment.Mike Heffner2001-12-231-1/+1
| | | | Notes: svn path=/head/; revision=88434
* Add support for ~_, ~x, ~i, ~a, ~A, ~<, and ~r! tilde-escapes. ImproveMike Heffner2001-12-223-27/+138
| | | | | | | | | tilde-escapes documentation. Mostly obtained from: NetBSD Notes: svn path=/head/; revision=88428
* Add missing {} to 'for'. It fix coredump (result of NetBSD changes merge)Andrey A. Chernov2001-12-191-1/+2
| | | | Notes: svn path=/head/; revision=88229
* Add (unsigned char) cast to ctype macrosAndrey A. Chernov2001-12-199-34/+34
| | | | | | | | | | ftell->ftello, fseek->fseeko File 'newsize' type int->off_t Add visible (long) cast to fsize() when it called to small one message file and result is assigned to long. Notes: svn path=/head/; revision=88227
* Sync with most of NetBSD's changes, including:Mike Heffner2001-12-1818-157/+439
| | | | | | | | | | | | | | | | | | | | *) Sync with 4.4BSD-Lite2 *) Set usecs for utimes() *) Add 'inc' command and 'autoinc' option that check for new mail manually and automatically, respectively *) Use POSIX signal handling and tty semantics *) Handle long lines correctly when paging messages *) Add ability to explicitly search 'To:' line *) Various manpage cleanups *) Support overriding '~/.mailrc' with $MAILRC *) Support 'askbcc' and 'asksub' options *) Fix various bugs Reviewed by: ru (mail.1) Obtained from: NetBSD Notes: svn path=/head/; revision=88150
* Install files via FILES.Ruslan Ermilov2001-12-171-4/+3
| | | | Notes: svn path=/head/; revision=88064
* I'm working on cleaning this up, however it probably won't be done forMike Heffner2001-12-121-0/+2
| | | | | | | | awhile. Turn off WARNS so that this doesn't break the build when WARNS is turned on higher up. Also add $FreeBSD$. Notes: svn path=/head/; revision=87745
* Don't add space after comma unless there was already one (prevents aMike Heffner2001-09-231-4/+4
| | | | | | | | | | | rare overflow). Optimize loop slightly. Don't exit if realloc can't shrink a buffer (just continue and use the larger buffer). Obtained from: OpenBSD MFC after: 2 weeks Notes: svn path=/head/; revision=83848
* File positions are off_t nowdays, not long, so:Andrey A. Chernov2001-09-024-7/+8
| | | | | | | | | | | | | | | | fseek -> fseeko ftell -> ftello NOTE: fseek/ftell not works for >long offsets per POSIX: [EOVERFLOW] For fseek( ), the resulting file offset would be a value which cannot be represented correctly in an object of type long. [EOVERFLOW] For ftell ( ), the current file offset cannot be represented correctly in an object of type long. Notes: svn path=/head/; revision=82793
* Handle snprintf() returning -1.Brian Somers2001-08-201-1/+1
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=81979
* Removed duplicate VCS ID tags, as per style(9).Ruslan Ermilov2001-08-133-6/+0
| | | | Notes: svn path=/head/; revision=81586
* mdoc(7) police: protect trailing full stops of abbreviationsRuslan Ermilov2001-08-101-1/+1
| | | | | | | with a trailing zero-width space: `e.g.\&'. Notes: svn path=/head/; revision=81449
* Remove whitespace at EOL.Dima Dorfman2001-07-151-2/+2
| | | | Notes: svn path=/head/; revision=79755
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79535
* mdoc(7) police: fixed formatting bugs in rev. 1.27.Ruslan Ermilov2001-07-051-3/+5
| | | | Notes: svn path=/head/; revision=79277
* Add the -E flag to not send messages that have an empty body. This isMike Heffner2001-06-283-8/+19
| | | | | | | | | | | useful for piping cron script error output by mail. PR: bin/9494 Obtained from: NetBSD MFC after: 2 weeks Notes: svn path=/head/; revision=78904
* Nuke unused variables.Dima Dorfman2001-06-241-1/+1
| | | | Notes: svn path=/head/; revision=78737
* Support mail boxes that have dates without seconds (SysV) and thoseMike Heffner2001-06-181-4/+33
| | | | | | | | | | | that have a timezone as <-|+>nnnn (eg. imapd). PR: bin/11746 Obtained from: OpenBSD MFC after: 2 weeks Notes: svn path=/head/; revision=78398
* Respect REPLYTO in mailrc.Mike Heffner2001-06-144-10/+8
| | | | | | | | | PR: bin/8322 Submitted by: Philipp Mergenthaler <philipp.mergenthaler@stud.uni-karlsruhe.de> MFC after: 2 weeks Notes: svn path=/head/; revision=78193
* Cleanup mail(1)'s varying styles by converting to using style(9).Mike Heffner2001-05-2726-1460/+1453
| | | | | | | | | | | | 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) Notes: svn path=/head/; revision=77274