This file is indexed.

/usr/lib/qmail/bin/config-fast is in qmail 1.06-5.

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
#!/bin/sh
# WARNING: This file was auto-generated. Do not edit!
fqdn="$1"
echo Your fully qualified host name is "$fqdn".

echo Putting "$fqdn" into control/me...
echo "$fqdn" > /var/lib/qmail/control/me
chmod 644 /var/lib/qmail/control/me

( echo "$fqdn" | sed 's/^\([^\.]*\)\.\([^\.]*\)\./\2\./' | (
  read ddom
  echo Putting "$ddom" into control/defaultdomain...
  echo "$ddom" > /var/lib/qmail/control/defaultdomain
  chmod 644 /var/lib/qmail/control/defaultdomain
) )

( echo "$fqdn" | sed 's/^.*\.\([^\.]*\)\.\([^\.]*\)$/\1.\2/' | (
  read pdom
  echo Putting "$pdom" into control/plusdomain...
  echo "$pdom" > /var/lib/qmail/control/plusdomain
  chmod 644 /var/lib/qmail/control/plusdomain
) )

echo Putting "$fqdn" into control/locals...
echo "$fqdn" >> /var/lib/qmail/control/locals
chmod 644 /var/lib/qmail/control/locals

echo Putting "$fqdn" into control/rcpthosts...
echo "$fqdn" >> /var/lib/qmail/control/rcpthosts
chmod 644 /var/lib/qmail/control/rcpthosts
echo "Now qmail will refuse to accept SMTP messages except to $fqdn."
echo 'Make sure to change rcpthosts if you add hosts to locals or virtualdomains!'