ports/mail/sendmail/files/sm-client.sh
Dirk Meyer 9c724bfe99 - 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.
2001-10-07 06:40:42 +00:00

22 lines
445 B
Bash

#!/bin/sh
#
# $FreeBSD: /tmp/pcvs/ports/mail/sendmail/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