Commit Graph

39 Commits

Author SHA1 Message Date
shm febbddea26 Fix error checks in open(2) calls. 2016-07-21 12:29:37 +00:00
shm d3c94bcc3a Fix race condition in deliver(), fix resource leak. 2016-07-19 13:11:38 +00:00
njoly 84e9c4d0dc Fix sendmail section (8 -> 1) in xrefs. 2013-07-09 09:41:30 +00:00
joerg 973abb9784 De-__P. staticfy. Use __dead, __printflike. 2011-08-27 15:40:31 +00:00
lukem 0c4ddb1599 Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-20 01:09:06 +00:00
manu 5ae0f4961a Make sure temporary errors are reported as such, using status code
EX_TEMPFAIL (cannot lookup user through NSS, may be because of an
unreachable NIS or LDAP server), or EX_OSERR (other file or memory
related problems).

Sendmail and Postfix should honour EX_TEMPFAIL and EX_OSERR by
queueing the message.

This avoids problems with transcient NSS errors, where the MTA may
successfully lookup a user at a time while mail.local can fail a
few secoonds later.
2008-05-04 03:03:11 +00:00
christos fec1382c1e Coverity CID 3931: Fix memory leak. 2006-09-27 17:15:20 +00:00
agc 8e6ab8837d Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22284, verified by myself.
2003-08-07 09:46:37 +00:00
itojun 35ddf151dc die if strdup fails 2002-11-16 15:41:17 +00:00
wiz bf840df2cd __STDC__ is always defined on NetBSD. 2002-05-26 00:02:06 +00:00
ross dc5571b22e Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:21:55 +00:00
soren dc53bf3cba Sync getopt() / man page with actual getopt options. 2001-12-20 20:10:33 +00:00
lukem de3e6adaf6 use more standard %ll_ in favour of %q_ 2001-01-04 17:24:35 +00:00
simonb 9b22175a26 Remove INSTALLFLAGS=-fschg, as per change to usr.bin/ssh/ssh/Makefile. 2000-10-18 00:24:18 +00:00
is 48052d04a3 Format string cleanups by sommerfeld. 2000-10-10 19:54:37 +00:00
perry bfd526219d bzero->memset, bcopy->memcpy, bcmp->memcmp 1998-08-10 02:57:23 +00:00
mycroft 5dd823ab5d const poisoning. 1998-07-26 19:44:12 +00:00
fair 5ce6614a4f fix bad .Xr references 1998-04-29 08:33:11 +00:00
perry 77fc921931 get rid of secretmail residue -- suggested in pr-4568 from Carl Shapiro 1998-01-10 00:37:34 +00:00
msaitoh 39c2acb633 fix typo 1997-11-15 21:01:36 +00:00
enami f5d3fbbc6f Fix .Nm usage. 1997-10-20 02:38:33 +00:00
mrg 2268d2dfb3 merge lite-2 Makefiles (rcsids), and turn on WARNS for all of libexec. 1997-10-08 09:07:11 +00:00
enami cd2bc25e31 Put a whitespace after the keyword `switch'. 1997-10-08 01:03:00 +00:00
enami 34bbb35be5 Compare a return value of getopt() against -1 instead of EOF. 1997-10-08 01:02:00 +00:00
mrg cd359aa2a0 fix warnings on alpha. 1997-10-07 13:13:41 +00:00
mrg 08a6736e8b WARNS?=1. RCS ids. did not merge very much of lite-2. 1997-10-07 13:07:44 +00:00
mrg cae2d6411c KNF. RCSids. be safe with buffers. 1997-04-21 11:29:26 +00:00
mycroft e4cc49cc0d Fill in sin_len. 1995-06-03 22:47:20 +00:00
cgd ae9172d6cd specify man pages the new way. 1994-12-22 09:57:51 +00:00
jtc d7b008b8f9 Change format specification from %ld to %qd, as off_t's are now quads. 1994-08-05 23:41:15 +00:00
deraadt c77d5c6777 fix from <arndt@uniko.uni-koblenz.de> 1994-05-05 10:06:32 +00:00
pk 5ee9535a36 Another off_t glitch. 1994-04-19 13:28:29 +00:00
briggs 9476a25141 Initialize return value from deliver() to zero. I guess the 386 crowd
has been fortunate.  It's odd to see mail delivered and get a bounce
back, though, which is what was happening--spent a while thinking it
was sendmail.
1994-02-10 05:33:21 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft dfb9caab49 Add RCS indentifiers. 1993-08-01 07:32:48 +00:00
mycroft cda4f8f6ee Add RCS identifiers. 1993-08-01 05:37:30 +00:00
mycroft 3d297ded4f Fix bogus handling of short writes. 1993-08-01 00:06:15 +00:00
deraadt 5840201f38 mail.local can now use username.lock files as well as flock(). Use the
-l flag in your favorite sendmail.cf file.
1993-05-24 07:30:36 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00