This file is indexed.

/usr/share/procmail-lib/pm-jaube-prg-runall.rc is in procmail-lib 1:2009.1202-2.

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
 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
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
# pm-jaube-prg-runall.rc -- Interface to all Bayesian filter programs
#
#   File id
#
#       Copyright (C) 1997-2010 Jari Aalto
#
#       This program is free software; you can redistribute it and/or
#       modify it under the terms of the GNU General Public License as
#       published by the Free Software Foundation; either version 2 of the
#       License, or (at your option) any later version
#
#       This program is distributed in the hope that it will be useful, but
#       WITHOUT ANY WARRANTY; without even the implied warranty of
#       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
#       General Public License for more details at
#       <http://www.gnu.org/copyleft/gpl.html>.
#
#   Overview of features
#
#       o   To detect spam reliably, run all Bayesian programs one by one
#           to see if any of them classifies the message as spam.
#       o   Programs supported: bogofilter, spamprobe, Bayesian Mail
#           Filter, Annoyance Filter, Bsfilter, Spamoracle and Spamassassin.
#
#   Description
#
#       There are several bayesian based statistical analysis programs that
#       study the message's tokens and then classify it into two categories:
#       good or bad, or if you like, ham and spam. This module is a
#       _meta_ _package_ which will call all other individual modules
#       that interface to these Bayesian programs. The use is simple: define
#       programs that are available in your system and which you have
#       trained (Bayesian programs need to be trained before use), and this
#       this module will query how those programs would classify the message.
#
#   Required settings
#
#       PMSRC must point to source directory of procmail code. This subroutine
#       will include
#
#       o   pm-javar.rc
#       o   pm-jaube-prg-spamprobe.rc
#       o   pm-jaube-prg-spamoracle.rc
#       o   pm-jaube-prg-annoyance-filter.rc
#       o   pm-jaube-prg-bsfilter.rc
#       o   pm-jaube-prg-bmf.rc
#
#   Call arguments (variables to set before calling)
#
#       To activate Bayesian program(s), define path to them. Default
#       value for all these variables is "" i.e. is is supposed that
#       no programs have been installed or trained.
#
#       o   `JA_UBE_BOGOFILTER_PRG', path to *bogofilter* program.
#       o   `JA_UBE_SPAMPROBE_PRG', Path to *spamprobe* program
#       o   `JA_UBE_BMF_PRG', Path to Bayesian Mail Filter *bmf* program.
#       o   `JA_UBE_SPAMASSASSIN_PRG', path to *spamassassin* program.
#           If daemon version is available, set this to *spamc* program.
#       o   `JA_UBE_SPAMORACLE_PRG', path to *spamoracle* program.
#       o   `JA_UBE_ANNOYANCE_PRG', path to *annoyance-filter* program.
#           You must also set `JA_UBE_ANNOYANCE_SPAM_DB' to fast
#           dictionary database location.
#       o   `JA_UBE_BSFILTER_PRG', path to *bsfilter* program.
#
#       Optional variables to set:
#
#       o    `JA_UBE_BOGOFILTER_OPT'. Default is "-p" passthrough.
#            Option "-e" will report exit code to procmail.
#       o    `JA_UBE_SPAMASSASSIN_OPT'. Default is "".
#       o    `JA_UBE_SPAMASSASSIN_MAX_SIZE'. Default is 256000 (256k).
#            Spamassassin is a Perl program, which is slow at startup,
#            so checking e.g. long attachements consumes lot of resources.
#            Keep this value relatively small.
#
#   Important notes
#
#       All headers are canonicalized to *X-Spam-<PROGRAM>-* so e.g.
#       in bogofilter's case, the default *X-Bogocity* header is
#       changed to value *X-Spam-Bogofilter-Status* and so on.
#       Summaries like below can then be generated:
#
#           $ egrep -i '(Subject|From|^X-Spam.*Status)' *.mbox
#
#   Return values
#
#       o   `ERROR' variable's first word is set to program that classified
#           the spam: *bogofilter*, *bmf* (Bayesian Mail Filter),
#           *spamassassin* etc. It is followed by semicolon ";" and
#           detailed return status from the program.
#       o   `ERROR_INFO' is set only in bogofilter's case if it thinks
#           the message is neither spam nor ham ("Unsure").
#
#   Usage example
#
#           PMSRC                 = $HOME/procmail # procmail recipe dir
#
#           # ... other checks, mailing lists, work mail etc.
#
#           #   bogofilter and Bayesian Mail Filter available and trained. Use them.
#
#           JA_UBE_BOGOFILTER_PRG = "/bin/nice -n 5 /bin/bogofilter"
#           JA_UBE_BMF_PRG        = "/bin/nice -n 5 /bin/bmf"
#
#           #   Call the "umbrella" module, which will take care of
#           #   all the details.
#
#           INCLUDERC             = $PMSRC/pm-jaube-prg-runall.rc
#
#           #   ERROR is set if message was spam. The "()\/" logs reason.
#
#           :0 :
#           * ERROR ?? ^()\/.+
#           junk.mbox
#
#   File layout
#
#       The layout of this file is managed by Emacs packages tinyprocmail.el
#       and tinytab.el for the 4 tab text placement.
#       See project http://freshmeat.net/projects/emacs-tiny-tools/
#
#   Change Log
#
#       None

dummy = "
========================================================================
pm-jaube-prg-runall.rc: init:"

# Kill variables

ERROR
ERROR_INFO

dummy = "pm-jaube-prg-runall: Run Bogofilter"

:0
* ERROR                 ?? ^^^^
* JA_UBE_BOGOFILTER_PRG ?? [a-z]
{
    INCLUDERC = $RC_UBE_BOGOFILTER

    :0
    * ERROR ?? ^()\/spam.*
    {
        ERROR = "bogofilter; $MATCH"
    }

    :0 E
    {
        ERROR # Kill variable
    }
}

dummy = "pm-jaube-prg-runall: Run Spamprobe"

:0
* ERROR                 ?? ^^^^
* JA_UBE_SPAMPROBE_PRG  ?? [a-z]
{
    INCLUDERC = $RC_UBE_SPAMPROBE

    :0
    * ERROR ?? ^()\/spam.*
    {
        ERROR = "spamprobe; $MATCH"
    }

    :0 E
    {
        ERROR
    }
}

dummy = "pm-jaube-prg-runall: Run Annoyance filter"

:0
* ERROR                  ?? ^^^^
* JA_UBE_ANNOYANCE_PRG  ?? [a-z]
{
    INCLUDERC = $RC_UBE_ANNOYANCE

    :0
    * ERROR ?? yes
    {
        ERROR = "annoyance-filter; $MATCH"
    }

    :0 E
    {
        ERROR
    }
}

dummy = "pm-jaube-prg-runall: Run Bayesian Mail Filter"

:0
* ERROR                 ?? ^^^^
* JA_UBE_BMF_PRG        ?? [a-z]
{
    INCLUDERC = $RC_UBE_BMF

    :0
    * ERROR ?? ^()\/yes.*
    {
        ERROR = "bmf; $MATCH"
    }

    :0 E
    {
        ERROR
    }
}

dummy = "pm-jaube-prg-runall: Run Spamassassin"

:0
* ERROR                    ?? ^^^^
* JA_UBE_SPAMASSASSIN_PRG  ?? [a-z]
{
    INCLUDERC = $RC_UBE_SPAMASSASSIN

    :0
    * ERROR ?? yes
    {
        ERROR = "spamassassin; $MATCH"
    }

    :0 E
    {
        ERROR
    }
}

dummy = "pm-jaube-prg-runall: Run Bsfilter"

:0
* ERROR                  ?? ^^^^
* JA_UBE_BSFILTER_PRG  ?? [a-z]
{
    INCLUDERC = $RC_UBE_BSFILTER

    :0
    * ERROR ?? yes
    {
        ERROR = "bsfilter; $MATCH"
    }

    :0 E
    {
        ERROR
    }
}

dummy = "pm-jaube-prg-runall: Run Spamoracle"

:0
* ERROR                  ?? ^^^^
* JA_UBE_SPAMORACLE_PRG  ?? [a-z]
{
    #   We must run spamoracle last, because it lacks the ability
    #   to read message from stdin. Due to this many shell calls
    #   are needed. See the RC file for more information.

    INCLUDERC = $RC_UBE_SPAMORACLE

    :0
    * ERROR ?? yes
    {
        ERROR = "spamoracle; $MATCH"
    }

    :0 E
    {
        ERROR
    }
}

dummy = "pm-jaube-prg-runall.rc: end: $ERROR"

# pm-jaube-prg-bmf.rc ends here