diff options
author | dinoex <dinoex@FreeBSD.org> | 2002-04-06 08:17:34 +0000 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2002-04-06 08:17:34 +0000 |
commit | 6274ac19e2c221d7f1e5b53ae3ed32a7b70d18ba (patch) | |
tree | 9cd984b0838e9e94483300579dbff34d8bbf4038 /mail/sendmail812/files/sm-client.sh | |
parent | 7845ea478eda67cc568da5336db46eef379cc1a1 (diff) | |
download | FreeBSD-ports-6274ac19e2c221d7f1e5b53ae3ed32a7b70d18ba.zip FreeBSD-ports-6274ac19e2c221d7f1e5b53ae3ed32a7b70d18ba.tar.gz |
- Update to new release: sendmail-8.12.3
- Patches removed that are now in the distribution
- More MILTER dokumentation
- sm-client.sh.sample have now 'restart' command.
- Add standalone startupscript for all sendmail deamons
- Update pkg-message
This version fixes a long-standing MIME (7 to 8-bit) conversion bug
and several smaller problems, e.g., a possible communication problem
between the MTA and libmilter, a bug in handling (invalid) addresses
containing 8-bit characters, a possible problem with small timeouts
being lost on slow machines if itimers are used, and the handling of
the 421 reply code and timeouts in the SMTP delivery code. There are
two changes in the msp feature that may change the behavior: MX lookups
are turned on for the SMTP mailers and hence `[localhost]' is used as
default instead of `localhost', and confTIME_ZONE is set to USE_TZ in
submit.mc. A complete list of changes can be found in the release notes.
Diffstat (limited to 'mail/sendmail812/files/sm-client.sh')
-rw-r--r-- | mail/sendmail812/files/sm-client.sh | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/mail/sendmail812/files/sm-client.sh b/mail/sendmail812/files/sm-client.sh index 280dc55..6e5429c 100644 --- a/mail/sendmail812/files/sm-client.sh +++ b/mail/sendmail812/files/sm-client.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/mail/sendmail812/files/Attic/sm-client.sh,v 1.2 2002-03-17 18:00:07 dinoex Exp $ +# $FreeBSD: /tmp/pcvs/ports/mail/sendmail812/files/Attic/sm-client.sh,v 1.3 2002-04-06 08:17:34 dinoex Exp $ # if ! test -x %%PREFIX%%/sbin/sendmail then @@ -12,11 +12,20 @@ start) echo -n ' sm-msp-queue' ;; stop) - kill `head -1 /var/spool/clientmqueue/sm-client.pid` - rm -f /var/spool/clientmqueue/sm-client.pid + if test -e /var/spool/clientmqueue/sm-client.pid + then + kill `head -1 /var/spool/clientmqueue/sm-client.pid` + rm -f /var/spool/clientmqueue/sm-client.pid + fi + ;; +restart) + if test -e /var/spool/clientmqueue/sm-client.pid + then + kill -1 `head -1 /var/spool/clientmqueue/sm-client.pid` + fi ;; *) - echo "Usage: ${0##*/}: { start | stop }" 2>&1 + echo "Usage: ${0##*/}: { start | stop | restart }" 2>&1 exit 65 ;; esac |