mirror of
https://git.freebsd.org/ports.git
synced 2025-06-12 08:10:31 -04:00
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.
22 lines
445 B
Bash
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
|