Commit graph

7 commits

Author SHA1 Message Date
plunky
e6e0d17e6f fix the DESTDIR support by removing the install-root target which
would otherwise cause a chown of the trigger file. (with DESTDIR,
the "nullmail" user & group are not yet created)

Because this leaves the trigger file possibly owned by root, add
a test in the rc "start" path to [re]make it when necessary.

put this test and the daemon background and logging into a
separate script so that it can be run by the rc framework as the
nullmail user in the normal way, and add a procname argument to
allow the "status" and "stop" rc commands to work properly.

bump PKGREVISION
2009-10-14 21:13:41 +00:00
plunky
75d1765a4f fix a problem with the rc script where the command would not start
at boot time. This is because the & is within the command_args
string. use a start_cmd instead.
2009-10-11 10:22:51 +00:00
schmonz
7fa8d136b7 Update to 1.00. From the changelog:
- Fixed problem with multiple arguments to protocol modules.
  Thanks Sascha Silbe.

- Fixed extraneous spaces in SMTP sender.

- Made permissions on queued files more strict.

- Handle the "-bs" flag in the sendmail wrapper by dieing when we see it.

- Fixed the address parser handling domain names with trailing periods.

- Fixed bug in header parsing that would cause the last header line to
  be repeated if there was no body.

- Fixed bug in handling headers containing CR+LF line endings.

pkgsrc changes:
* Replace @exec and @unexec in PLIST with bsd.pkginstall.mk incantations
* sort PLIST
* Honor VARBASE in manpages and rc.d script
* Enable logging in rc.d script
* Allow rc.d script to start nullmailer without rc.subr
* Take MAINTAINER.
2005-08-20 02:20:45 +00:00
schmonz
b11c47ee1f Set USE_BUILDLINK3=yes and USE_LANGUAGES=c++. Use RCD_SCRIPTS in
the canonical way.
2004-08-30 14:34:11 +00:00
salo
af3cc67ff4 Improve:
- use 1.0.0.7 as PKGVERSION, 1.00RC7 is invalid
- USE_PKGINSTALL, don't include bsd.pkg.install.mk directly
- use automatic rc.d scripts handling
- install example mailer.conf
- minor cleanups
2003-02-17 05:20:20 +00:00
jtb
f14e5f857c Configure prefix in rc.d script. 2003-02-17 02:12:44 +00:00
jtb
63cdf68f7c Update to nullmailer-100RC7.
Changes for pkgsrc:

* Added an rc.d/nullmailer script
* Added brief instructions on how to set up nullmailer in MESSAGE.
* Changed spool directory from /var/nullmailer to /var/spool/nullmailer

Changes in nullmailer itself:

Changes in version 1.00RC7

- Fixed typo in smtp protocol module that caused HELO to be sent without
  a hostname.

- Added a one-shot mode to nullmailer-send, triggered by setting the
  pausetime to zero.

Note:  If no further bugs are found, this will become the official
version 1.00 release.

Changes in version 1.00RC6

- Protocol modules now report all failure and success messages.

- Removed the whole gethostname/getdomainname mess and replaced it with
  code to read the hostname from the "me" control file, and the default
  domain name from the "defaultdomain" control file.

- Fixed a bug that would cause lines starting with a period to have that
  period stripped when it was sent via SMTP.

- Added some missing includes to fix compilation failures in various
  sources.

- Fixed a bug in the setenv function in sendmail.cc.

NOTE!  Make sure to set up the new "me" control file before using this
version.  The RPM install does this automatically.
2003-02-17 01:45:31 +00:00