Commit Graph

30 Commits

Author SHA1 Message Date
mjl b0d37030cd Revert previous changes. Add a comment to the source explaining the
reason things are as they are -- Perry said:
This (using err("mailwrapper")) is intentional. Mailwrapper plays ugly
games with argv[0] and thus it is often difficult for people to know
that the error isn't from "mailq" or "sendmail" but from
mailwrapper -- having mailwrapper add an indication that it was really
mailwrapper running was a requested feature.
2003-03-09 08:10:43 +00:00
mjl f20e680162 Correct args to err(), no need to include "mailwrapper:" prefix manually.
Triggered by posting to OpenBSD mailing list.
2003-03-08 22:57:51 +00:00
wiz 7be6adb676 Bump date for mini-sendmail reference; add its pkgsrc path to SEE ALSO section. 2003-03-03 07:28:29 +00:00
perry 399b25deea Clarify a bit, fix up the examples somewhat, etc. 2003-02-18 02:17:38 +00:00
is ca86df3f7e Actually make additional arguments in mailer.conf useful, and document
them.
Reviewed by perry and wiz.
2003-02-17 21:18:46 +00:00
rtr f88de63c1b Document additional line required to emulate sendmail using postfix.
Without line error will be appended to mailed output of daily script.
Solves part of PR bin/18800.
Patch provided by Ryo HAYASAKA <ryoh@jaist.ac.jp>
2002-12-01 11:35:33 +00:00
lukem d348d3d723 tweaks for fparseln(3) move from libutil to libc:
- remove #include <util.h> if nothing else needed it
- remove LDFLAGS+=-lutil if nothing else needed it
2002-11-30 03:10:53 +00:00
soren dc8c2ef8d0 Postfix does not support the 'send-mail' arg. 2002-10-17 16:47:47 +00:00
ross 2a76afae02 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
mrg 171ba175d1 fix typo: s/hard/hand/ 2002-02-06 01:38:53 +00:00
wiz 3ecf4fd4b7 Whitespace nits, sort SEE ALSO and sections. 2002-01-19 03:26:04 +00:00
wiz f01b2c896b Drop an unnecessary .Pp, sort sections, add postfix .Xr, and improve markup. 2002-01-19 03:25:12 +00:00
wiz 5811c27b4d Remove trailing dot from .Nd, and a bogus comment line (probably left
over from example man page).
2001-06-08 23:57:43 +00:00
cgd 25bdbb661e convert to use getprogname() 2001-02-19 23:22:40 +00:00
msaitoh c1fd8f00d4 Add forgottern addarg(&al, NULL, 0) before execve() to prevent coredump. 2000-11-16 08:33:33 +00:00
kleink 4918722a89 For commands and utilities, use EXIT STATUS rather than RETURN VALUES or
DIAGNOSTICS as appropriate (and documented in mdoc(7)).
2000-09-04 07:35:15 +00:00
itojun 70d90c210e use more Xr to refer to sendmail(8). suggested by jhawk.
XXX not sure what is the correct way to refer to "postfix suite".
postfix(1) does not seem that relevant here.
2000-08-18 07:27:59 +00:00
itojun 9ab681c878 add purgestat and hoststat into sendmail example,
they are added in sendmail 8.10.x.
correct preamble text near postfix example.
2000-08-18 01:49:43 +00:00
itojun 0e416c083c add usr.bin/{hoststat,purgestat}, which are new argv[0] hack
for sendmail 8.10.x and beyond.  sorry that i forgot to add this one.

From: Andrew Brown <atatat@atatdot.net>
2000-07-26 16:35:33 +00:00
msaitoh f6f00e2615 remove extra period in SEE ALL section 2000-07-05 15:45:28 +00:00
christos bff7683341 Use postfix as an example 1999-05-29 18:18:30 +00:00
christos 854002ab86 Allow remapped commands to have arguments appended to them. 1999-05-29 18:18:15 +00:00
is 059e654914 Split off /etc/mailer.conf manual page from mailwrapper manual page. 1999-03-25 16:40:17 +00:00
garbled d1407362ba 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:43:46 +00:00
thorpej 0d7a8dcb83 - Rewrite to use fparseln(), strspn(), strsep(). Avoids statically-sized
buffers and allows for line continuation.
- Use __progname instead of chopping argv[0] into a statically-sized
  temporary buffer.
1999-02-20 22:10:07 +00:00
perry 8109fa540a We shouldn't count on the user building sendmail. Update the make
file so that it does the symlinking of newaliases and mailq to
/usr/sbin/mailwrapper directly.
1999-02-05 18:23:25 +00:00
perry 536ca3b1a2 update example to new sendmail location 1999-02-05 18:15:59 +00:00
hubertf f7367de849 remove extra "." 1999-02-05 03:28:17 +00:00
kleink 2f237db295 Spellink. 1999-02-04 16:34:12 +00:00
perry 180c29c35d Add the "mailwrapper" program, which is designed to act as a switch
permitting users to choose between sendmail and other mail systems with a
simple configuration file change. Not yet turned on -- this is being
committed so people can beat on it.
1998-12-25 22:06:58 +00:00