summaryrefslogtreecommitdiffstats
path: root/usr.bin/mail
Commit message (Collapse)AuthorAgeFilesLines
* File positions are off_t nowdays, not long, so:ache2001-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.
* Handle snprintf() returning -1.brian2001-08-201-1/+1
| | | | MFC after: 2 weeks
* Removed duplicate VCS ID tags, as per style(9).ru2001-08-133-6/+0
|
* mdoc(7) police: protect trailing full stops of abbreviationsru2001-08-101-1/+1
| | | | with a trailing zero-width space: `e.g.\&'.
* Remove whitespace at EOL.dd2001-07-151-2/+2
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* mdoc(7) police: fixed formatting bugs in rev. 1.27.ru2001-07-051-3/+5
|
* Add the -E flag to not send messages that have an empty body. This ismikeh2001-06-283-8/+19
| | | | | | | | useful for piping cron script error output by mail. PR: bin/9494 Obtained from: NetBSD MFC after: 2 weeks
* Nuke unused variables.dd2001-06-241-1/+1
|
* Support mail boxes that have dates without seconds (SysV) and thosemikeh2001-06-181-4/+33
| | | | | | | | that have a timezone as <-|+>nnnn (eg. imapd). PR: bin/11746 Obtained from: OpenBSD MFC after: 2 weeks
* Respect REPLYTO in mailrc.mikeh2001-06-144-10/+8
| | | | | | 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-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)
* Allow mail(1) to be able to read Eudora mailboxes by transformingmikeh2001-05-111-1/+13
| | | | | | | lines that end in <CR><LF> to just <LF>. Reviewed by: imp Obtained from: OpenBSD
* Merge various changes from OpenBSD and NetBSD.mikeh2001-03-2528-470/+478
| | | | | | | | | | | | | | | | 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)
* Eliminate mdocNG warnings caused by misplaced or extraneous macro calls.ru2001-02-281-1/+1
|
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-011-6/+9
|
* mdoc(7) police: fixed broken references.ru2001-01-161-2/+1
|
* Prepare for mdoc(7)NG.ru2000-12-191-1/+1
|
* Eliminate groff(1) warnings.ru2000-11-291-27/+28
|
* *** empty log message ***kris2000-11-271-1/+1
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-27/+27
|
* Avoid use of direct troff requests in mdoc(7) manual pages.ru2000-11-101-1/+1
|
* Add $FreeBSD$phk2000-10-243-3/+9
| | | | | Rename local offsetof() macro to boffsetof() to avoid clashing with the offsetof() from <stddef.h>
* Complete migration of aliases file to /etc/mail/aliases.gshapiro2000-08-131-1/+1
| | | | | The maintainers of share/examples/diskless/README.TEMPLATING and mergemaster have been contacted so those may be updated as well.
* #include <errno.h> where needed. Kill extern int errno;.imp2000-04-141-1/+2
| | | | Minor warnings in tip corrected.
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-1/+2
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Document startup behaviour of mail(1).jkoshy1999-11-081-0/+18
| | | | | PR: docs/1577 Submitted by: Joseph Koshy <koshy@india.hp.com>
* $Id$ -> $FreeBSD$peter1999-08-282-2/+2
|
* Ignore the MAIL environment variable when the -u flag is set.jmz1999-05-201-0/+1
| | | | PR: bin/8665
* Allocate aligned memory according to sizeof(char *).simokawa1999-01-131-2/+2
| | | | | Approved by: jkh Obtained from: NetBSD
* vfork -> fork. The child calls abort(), which calls stdio.bde1998-10-101-1/+1
|
* vfork -> fork. This home made popen() had the same bug as the librarybde1998-10-101-1/+1
| | | | | | | 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).
* Fixed gross breakage in previous commit. The malloc sizes for thebde1998-10-101-12/+13
| | | | | | | | | | | 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.
* Removed debugging cruft.bde1998-10-101-1/+0
| | | | Broken in: previous commit
* PR: bin/8250thepish1998-10-107-14/+24
| | | | protect against buffer overruns in mail temporary files.
* Move setting of 'crt' mail variable to {/usr/src}/etc/mail.rc.jkoshy1998-08-311-1/+1
|
* Fixed printf format errors.bde1998-07-062-2/+2
|
* Document the use of sendmail options on the commandline.steve1998-04-141-2/+3
| | | | | PR: 4778 Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua>
* 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-029-22/+64
| | | | | | | | | | 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.
* Balance parentheses around command abbreviations.jraynard1997-11-011-7/+8
| | | | | PR: 4888 Submitted by: h-nokubi@nmit.tmg.nec.co.jp
* Many places in the code NULL is used in integer context, wherephk1997-09-185-21/+21
| | | | | | | | | 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>
* Fix file names.wosch1997-08-316-9/+9
|
* make install should not install mail.rc in /etcwosch1997-08-151-0/+2
|
* Use err(3).charnier1997-07-243-10/+11
|
* Renamed undelete() to undelete_messages() to avoid conflict with newbde1997-04-143-3/+3
| | | | | | undelete() syscall. Submitted by: partly by roberto
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-1/+1
| | | | posix standard on the topic.
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Document the "more" command.mpp1997-01-151-0/+3
| | | | | Submitted by: Julian Coleman <j.d.coleman@ncl.ac.uk> Obtained from: NetBSD-bugs PR# 3104
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | 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.
OpenPOWER on IntegriCloud