summaryrefslogtreecommitdiffstats
path: root/usr.bin/mail/send.c
Commit message (Collapse)AuthorAgeFilesLines
* Add __unused. Ansi prototypes.charnier2010-12-191-35/+12
|
* Remove the advertising clause from UCB copyrighted files in usr.bin. Thisjoel2010-12-111-4/+0
| | | | | | | | | is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change Also add $FreeBSD$ to a few files to keep svn happy. Discussed with: imp, rwatson
* Add the -e (mail presence test), -H (header summary mode), and -Fmikeh2004-02-291-2/+26
| | | | | | | | (message save as first recipient) options for standards conformance. Submitted by: Wartan Hachaturow <wart@tepkom.ru> (with some changes) PR: standards/61934
* Consistently use FBSDIDobrien2002-06-301-2/+2
|
* Add missing {} to 'for'. It fix coredump (result of NetBSD changes merge)ache2001-12-191-1/+2
|
* Add (unsigned char) cast to ctype macrosache2001-12-191-2/+2
| | | | | | | 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.
* Sync with most of NetBSD's changes, including:mikeh2001-12-181-6/+18
| | | | | | | | | | | | | | | | | *) 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
* Add the -E flag to not send messages that have an empty body. This ismikeh2001-06-281-0/+2
| | | | | | | | useful for piping cron script error output by mail. PR: bin/9494 Obtained from: NetBSD MFC after: 2 weeks
* Respect REPLYTO in mailrc.mikeh2001-06-141-2/+1
| | | | | | PR: bin/8322 Submitted by: Philipp Mergenthaler <philipp.mergenthaler@stud.uni-karlsruhe.de> MFC after: 2 weeks
* Cleanup mail(1)'s varying styles by converting to using style(9).mikeh2001-05-271-111/+108
| | | | | | | | | 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)
* Merge various changes from OpenBSD and NetBSD.mikeh2001-03-251-18/+29
| | | | | | | | | | | | | | | | 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)
* PR: bin/8250thepish1998-10-101-1/+1
| | | | protect against buffer overruns in mail temporary files.
* Fix a style bug, and a real bug (&& vs. & misused).joerg1998-01-041-3/+4
| | | | Submitted by: bde
* Teach boring old mail(1) about the use of the REPLYTO environmentjoerg1998-01-021-3/+12
| | | | | | | | | | 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.
* Remove trailing whitespace.rgrimes1995-05-301-1/+1
|
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+556
OpenPOWER on IntegriCloud