This file is indexed.

/etc/init.d/nullmailer is in nullmailer 1:1.05-1.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#! /bin/sh

### BEGIN INIT INFO
# Provides:          nullmailer
# Required-Start:    $remote_fs $syslog $network
# Required-Stop:     $remote_fs $syslog $network
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: relay-only mail transport agent
# Description:       Nullmailer is a replacement MTA which relays to a fixed
#                    set of smart relays.
### END INIT INFO

PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/sbin/nullmailer-send
NAME=nullmailer
DESC=mail-transfer-agent
DAEMON_OPTS=-d

test -x $DAEMON || exit 0

. /lib/lsb/init-functions

case "$1" in
  start)
	log_begin_msg "Starting $DESC:" "$NAME"
	PIDS=`pidof nullmailer-send`
	# don't kill trigger if daemon already running
	if [ -z "$PIDS" ]; then
	    if [ ! -c /var/spool/nullmailer/trigger ]; then                                                                                                        
		rm -f /var/spool/nullmailer/trigger                                                                                                            
		mkfifo /var/spool/nullmailer/trigger                                                                                                           
	    fi                                                                                                                                                     
	    chown mail:root /var/spool/nullmailer/trigger
	    chmod 0622 /var/spool/nullmailer/trigger
	    # --oknodo in case of race condition on daemon start
	    start-stop-daemon --start --quiet --chuid mail --exec "$DAEMON" --oknodo -- $DAEMON_OPTS
	    log_end_msg $?
	else
	    log_end_msg $? "$NAME already running: $PIDS"
	fi
	;;
  stop)
	log_begin_msg "Stopping $DESC:" "$NAME"
	start-stop-daemon --stop --quiet --user mail --exec "$DAEMON" --oknodo
	log_end_msg $?
	;;
  restart|reload|force-reload)
	$0 stop
	sleep 1
	$0 start
	;;
  status)
	status_of_proc $DAEMON $NAME
	exit $?
	;;
  *)
	N=/etc/init.d/$NAME
	echo "Usage: $N {start|stop|restart|reload|force-reload|status}" >&2
	exit 1
	;;
esac

exit 0