Commit Graph

55 Commits

Author SHA1 Message Date
christos d43ad774cc Add Auto-Submitted: header per RFC 3834, from OpenBSD 2006-08-15 16:21:59 +00:00
christos 9e8b7b7aae PR/34095: Brian Buhrow: Vacation(1) core dumps when there is a Subject:
header with no content
2006-07-27 00:10:42 +00:00
wiz 3a8954928b New sentence, new line; punctuation fixes;
sort options in SYNOPSIS.
2004-08-25 12:47:57 +00:00
wiz 4e8c80f100 Drop trailing whitespace. 2004-08-25 12:44:38 +00:00
christos 4a49cd4b02 Align usage with other vendor unices:
old -f -> -F
    old -t -> -T
    add -j
    add -f <datafile>
    add -m <msgfile>
    add -t <interval>, as an alias to -r and recognize <num>{w,d,h,m,s}
    add -s <sender>
    document -I as an alias to -i
Also, interpret $SUBJECT in the message.
Correct documentation.
2004-08-19 13:43:54 +00:00
christos 2ec264ee7d WARNS=3 2004-08-19 13:37:07 +00:00
christos 2a1bd4a323 - more void casts
- knf nits
- check for fdopen failure
2004-04-05 23:11:34 +00:00
wiz 2be3546ee6 Use setprogname(); sort options in usage. 2004-04-04 10:29:20 +00:00
christos ea764b2823 - add debugging flag
- use getprogname everywhere
- fix bug where if no .vacation.db existed, and the first message was not
  suitable for reply, vacation would create a 0 length db file, and from
  then on it would fail to process.
- handle e-mail address parsing better.
2004-04-04 01:19:35 +00:00
christos 4dae1e8533 document debugging flag. 2004-04-04 01:17:29 +00:00
christos 911c325c50 reverse logic in from test; from wiz 2004-04-03 23:57:32 +00:00
christos 103578edc3 fix date and wording; suggested by wiz 2004-04-03 23:56:49 +00:00
christos 58fa7a1588 - Fix bug in the determination of apparently-to and delivered-to.
- Add -f flag to look in Sender:, From:, and Return-Path: for the sender.
2004-04-03 20:55:13 +00:00
agc 89aaa1bb64 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
itojun 870f37306c use bounded string op 2003-07-14 09:24:00 +00:00
wiz 70f9b8f89a Sort sections. 2003-04-24 12:11:17 +00:00
christos c6f13c73f2 Mention that -t is harmful. 2003-04-20 03:55:38 +00:00
christos 3a1e3ae4c9 Add flags to look in Apparently-To: or Delivered-To: fields. Inspired by jhawk. 2003-04-20 03:32:50 +00:00
christos 3de451fe1e PR/5039: Greg A. Woods: vacation should look at Apparently-To: and
Delivered-To: headers.
2003-04-20 01:58:00 +00:00
wiz 990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
perry b88a15cf9c Add some missing voids. 2003-02-18 19:21:33 +00:00
wiz 5d8df6cb04 Restore a space. 2002-10-13 00:27:40 +00:00
grant be8ae688ae New sentence, new line. 2002-09-30 11:08:56 +00:00
ross 2a76afae02 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
wiz 47d134a2d6 Use Bd -literal instead of Bd -unfilled. 2001-12-08 19:21:33 +00:00
wiz 3bc2f49491 Lowercase sendmail in xref. 2001-04-04 09:49:47 +00:00
lukem b792d3dea5 revert part of previous, and change back to LOG_USER (from LOG_MAIL).
however, unlike the original behaviour, this has been done with an explicit
openlog(...,LOG_USER) to make it more obvious what facility is used.
2001-01-10 23:15:42 +00:00
lukem 4d27ed96d9 use LOG_MAIL (instead of default, which is LOG_USER)
log all fatal errors to LOG_ERR
2001-01-10 12:34:50 +00:00
mjl ecb8be475b Fix name comparison bug due to questionable microoptimisation,
reported by Thilo Manske <Thilo.Manske@HEH.Uni-Oldenburg.DE>
in PR/10638.
2000-07-21 01:21:31 +00:00
enami d8ad2663a8 In name section, use .Dq macro rather than writing double quote directly. 1999-08-17 03:36:35 +00:00
garbled 9e44e9b578 More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:16:34 +00:00
christos 9622cbbfb5 char -> unsigned char 1998-12-19 23:37:14 +00:00
mycroft b223acf69a const poisoning. 1998-07-26 23:03:30 +00:00
cgd 0e1f4daac8 can't use fclose() in vforked() child this way. Fixes PR 5582. 1998-07-08 00:34:53 +00:00
mikel fe49cec369 syslog(3) cleanup: don't append \n, use %m instead of %s & strerror(3) 1998-02-07 07:06:24 +00:00
kleink a2d5407369 .Nm usage police; from NAKAJIMA Yoshihiro in PR bin/4897. 1998-01-28 16:42:55 +00:00
thorpej d616cbff44 Change an exit() -> _exit(), so that it's safe for vfork(). 1997-12-31 06:13:24 +00:00
lukem 73d70748a8 remove WARNS=0 here, use ANSI string funcs, fix .Nm usage 1997-10-20 02:53:02 +00:00
mikel 6e9797c617 set WARNS?=1 1997-09-20 05:51:40 +00:00
mikel f08412063c update for use with WARNS=1:
- use <sys/cdefs.h> __COPYRIGHT() and __RCSID() macros
- add parens and main() prototype to shut up gcc -Wall
also replace {,r}index() with str{,r}chr(), nuke 'register', and
  otherwise KNFify and clean up
1997-09-20 05:50:45 +00:00
mikel 28cd33c439 xref syslog(3) not nonexistent syslog(8) 1997-09-20 05:24:36 +00:00
mrg 8e81f950a4 Ensure that option processing is complete before externally supplied
arguments are passed to sendmail.
1997-08-28 08:13:41 +00:00
pk 4e8f3bc55c * NULL => 0 (Arne Juul; PR#3629)
* Use braces in initializers.
1997-05-17 20:24:26 +00:00
mycroft c734e2b3a4 Document that we handle `Precedence: list'. 1997-04-22 17:07:25 +00:00
jtc be667101f6 Sync with 44lite2 1995-08-31 21:54:51 +00:00
cgd 7a9112fdf0 XXX casts of LONG_MAX. this is wrong, and is marked as such. 1995-04-29 05:58:27 +00:00
jtc 5720e226ae misc cleanup by jimj and myself. 1994-12-21 07:11:00 +00:00
jtc 9afe744ec4 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id conventions.
1994-11-17 07:55:49 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft c3e42d1c64 Add RCS indentifiers. 1993-08-01 07:22:47 +00:00