summaryrefslogtreecommitdiff
path: root/mail/sendmail812/files/sm-client.sh
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2001-10-07 06:40:42 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2001-10-07 06:40:42 +0000
commit9c724bfe992f409af1671d248e4ce04ee244e2fc (patch)
tree41c8b25669183d3c261efb27c42fb4652bf4bfff /mail/sendmail812/files/sm-client.sh
parent- uncomment a line in the sample script (diff)
- Update to sendmail 8.12.1
This ports will creates a new user and group named smmsp. Setting up the serer and client queues. You need to create an "sumbit.cf" for local submission.
Notes
Notes: svn path=/head/; revision=48511
Diffstat (limited to 'mail/sendmail812/files/sm-client.sh')
-rw-r--r--mail/sendmail812/files/sm-client.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/mail/sendmail812/files/sm-client.sh b/mail/sendmail812/files/sm-client.sh
new file mode 100644
index 000000000000..501ee7820bab
--- /dev/null
+++ b/mail/sendmail812/files/sm-client.sh
@@ -0,0 +1,22 @@
+#!/bin/sh
+#
+# $FreeBSD: /tmp/pcvs/ports/mail/sendmail812/files/Attic/sm-client.sh,v 1.1 2001-10-07 06:40:42 dinoex Exp $
+#
+if ! test -x %%PREFIX%%/sbin/sendmail
+then
+ exit 0
+fi
+case $1 in
+start)
+ %%PREFIX%%/sbin/sendmail -L sm-msp-queue -Ac -q30m
+ echo -n ' sm-msp-queue'
+ ;;
+stop)
+ kill `head -1 /var/spool/clientmqueue/sm-client.pid`
+ rm -f /var/spool/clientmqueue/sm-client.pid
+ ;;
+*)
+ echo "Usage: $0: [ start | stop ]" 2>&1
+ exit 65
+ ;;
+esac