This file is indexed.

postrm is in amavisd-new-postfix 1:2.6.5-0ubuntu3.

This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.

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
#!/bin/sh
set -e

POSTFIX_BCKFILE="/var/backups/amavisd-new-postfix/main.cf-backup"

if [ "$1" = "remove" ]; then
               if which postconf >/dev/null && [ -f "${POSTFIX_BCKFILE}" ]; then
                       while read line; do
                               postconf -e "$line"
                       done < "${POSTFIX_BCKFILE}"
                       rm -f "${POSTFIX_BCKFILE}"
               fi
       if [ -x "/etc/init.d/postfix" ]; then
               if [ -x /usr/sbin/invoke-rc.d ]; then
                       invoke-rc.d postfix reload
               else
                       /etc/init.d/postfix reload
               fi
       fi
fi