#!/bin/sh ### BEGIN INIT INFO # Provides: sendmail # Required-Start: $remote_fs $network $syslog # Required-Stop: $remote_fs $network $syslog # Should-Start: $named # Should-Stop: $named # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: powerful, efficient, and scalable Mail Transport Agent # Description: Sendmail is an alternative Mail Transport Agent (MTA) # for Debian. It is suitable for handling sophisticated # mail configurations, although this means that its # configuration can also be complex. Fortunately, simple # thing can be done easily, and complex thing are possible, # even if not easily understood ;) Sendmail is the *ONLY* # MTA with a Turing complete language to control *ALL* # aspects of delivery! ### END INIT INFO # Author: Marc-Christian Petersen PATH=/bin:/usr/bin:/sbin:/usr/sbin DESC="Mail Transport Agent (MTA)" NAME=sendmail DAEMON=/usr/sbin/$NAME DAEMON_ARGS="" SCRIPTNAME=/etc/init.d/$NAME # Exit if the package is not installed [ -x "$DAEMON" ] || exit 0 # Read configuration variable file if it is present [ -r /etc/default/sendmail ] && . /etc/default/sendmail # Load the VERBOSE setting and other rcS variables . /lib/init/vars.sh # Define LSB log_* functions. . /lib/lsb/init-functions