This file is indexed.

/usr/share/doc/spamassassin/examples/filter.sh is in spamassassin 3.4.1-8build1.

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

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
#!/bin/sh
#
# filter.sh
#
# Simple filter to plug Anomy Sanitizer and SpamAssassin
# into the Postfix MTA
#
# From http://advosys.ca/papers/postfix-filtering.html
# Advosys Consulting Inc., Ottawa
# Modified by Jesus Climent
#
# For use with:
#    Postfix 20010228 or later
#    SpamAssassin 2.42 or later
#
# Note: Modify the file locations to match your particular 
#       server and installation of SpamAssassin.

# File locations: 
# (CHANGE AS REQUIRED TO MATCH YOUR SERVER)

SENDMAIL=/usr/sbin/sendmail
SPAMASSASSIN=/usr/bin/spamc

/bin/cat | ${SPAMASSASSIN} -f | ${SENDMAIL} -i "$@"

exit $?