This file is indexed.

/var/list/.bin/digest is in smartlist 3.15-25build1.

This file is owned by list:list, 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
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
#! /bin/sh
:
#$Id: digest,v 1.27 1999/11/22 05:40:48 guenther Exp $

test=test		# /bin/test
echo=echo		# /bin/echo
ls=ls			# /bin/ls
awk=awk			# /usr/bin/awk
cat=cat			# /bin/cat
date=date		# /bin/date
rm=rm			# /bin/rm
sed=sed			# /bin/sed
expr=expr		# /bin/expr
formail=formail		# /usr/local/bin/formail

$test -z "$listaddr" &&
 $echo "Don't start this script directly, it is used in rc.submit" && exit 64

listid=`echo $listaddr |sed -e 's/@/./'`

tmprequest=tmp.request
tmpfrom=tmp.from

digestheader=archive/latest/digest.header
digestadmin=digest.admin
digestadmin2=archive/latest/$digestadmin
digestbody=archive/latest/digest.body
digesttrailer=archive/latest/digest.trailer
digestboundary=archive/latest/digest.boundary

if $test -z "$alt_sendmail"
then
  $echo "$digest_age $digest_size $archive_hist $UMASK
$SENDMAIL $sendmailOPT $listdist" >.digest.params
else
  $echo "$digest_age $digest_size $archive_hist $UMASK
$alt_sendmail $SENDMAIL $sendmailOPT $sendmailOPTi" >.digest.params
fi

$awk '
BEGIN					{ lines=0;mode=0; }
					{ mtch=0; }
/^$/					{ mtch=1; }
/^[	 ][	 ]*$/			{ mtch=2; }
/^------------------------------$/	{ mtch=3; }
/^--------------------------------$/	{ mtch=4; }
/^\.$/					{ mtch=5; }
{ if(mode==0)
   { print($0) >"'$tmpfrom'";
     if(mtch==1)
	mode=1;
     next;
   }
  if(mode==1 && mtch)
     next;
  mode=2;
  if(mtch==1)
   { ++lines;next;
   }
  while(lines)
   { print("");--lines;
   }
#  if(mtch==3)
#     print("- ----------------------------");
#  else if(mtch==4)
#     print("- ------------------------------");
  if(mtch==5)
     printf(" .");
  else
     print($0);
}
' >$tmprequest

$test -f $digestbody && flush_digests -c

if [ ! -f $digestboundary ]; then
  if [ -f $digestbody ]; then
    echo "----------------------------" > $digestboundary
  else
    date +%Y%m%d%H%M%S | md5sum | awk '{ print $1 }' > $digestboundary
  fi
fi

boundary=`cat $digestboundary`

$cat >>$digestbody <<HERE
--$boundary

HERE

for a in Date From To Cc Subject Message-ID Keywords Summary
do
  b=`$formail -X $a: -a"Subject: Unidentified subject!" <$tmpfrom`
  if $test ! -z "$b"
  then
     $echo "$b" >>$digestbody
  fi
done

$formail -X Content- <$tmpfrom >>$digestbody

$echo "" >>$digestbody
$cat $tmprequest >>$digestbody
$echo "" >>$digestbody

if $test ! -f $digesttrailer
then
  Year=`LANG='' LC_TIME='' LC_ALL=''$date +%y 2>&1`
  case "$Year" in
     ????|9?) ;;
     *) Year=`LANG='' LC_TIME='' LC_ALL='' $date +%Y 2>&1`
	case "$Year" in
	   ????) ;;
	   *) Year=`set \`$date\`; echo $6` ;;	# for the POSIX deprived
	esac;;
  esac
  Issue=0

  if $test -f $digestheader
  then
     set dummy `$sed -n \
      -e '1,/^$/ s/^Subject:.*Digest V\([0-9]*\) #\([0-9]*\)/\1 \2/p' \
      <$digestheader`
     $test $Year = "$2" && Issue=$3
  fi

  Issue=`$expr 1 + $Issue`

  $cat >$digestheader <<HERE
From: $listreq
Subject: $list Digest V$Year #$Issue
X-Loop: $listaddr
X-Mailing-List: <$listaddr> archive/volume$Year/$Issue
List-Id: <$listid>
List-Post: <mailto:$undigested_list>
List-Help: <mailto:$listreq?subject=help>
List-Subscribe: <mailto:$listreq?subject=subscribe>
List-Unsubscribe: <mailto:$listreq?subject=unsubscribe>
Precedence: list
MIME-Version: 1.0
Content-Type: multipart/digest; boundary="$boundary"
To: $listaddr${reply_to+
}${reply_to-${undigested_list+
Reply-To: }$undigested_list}

--$boundary

Content-Type: text/plain

$list Digest				Volume $Year : Issue $Issue

Today's Topics:
HERE

  $cat >$digesttrailer <<HERE
--$boundary--
End of $list Digest V$Year Issue #$Issue
HERE
  b=`$sed -n -e '$ s/./*/gp' <$digesttrailer`
  $echo "$b" >>$digesttrailer
fi

$echo  "  `$formail -czxSubject: -a'Subject: Unidentified subject!' <$tmpfrom |
 $sed -e 's/[	 ][	 ]*/ /g' \
 -e 's/$/\
       \
       \
       \
       \
       \
 /' -e 's/^\(....................................\).*/\1/'
 `  [ `
 $formail -czx From: <$tmpfrom | $sed -e 's/[	 ][	 ]*/ /g' \
      -e 's/^\(...................................\).*/\1/'
 ` ]" >>$digestheader
: >$tmprequest 2>$tmpfrom

#
# Check again, maybe we exceed the time or size limits now already.
#

flush_digests -c
exit 0