This file is indexed.

/etc/prelude-lml/ruleset/spamassassin.rules is in prelude-lml-rules 4.1.0-1.

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
#FULLNAME: SpamAssassin
#VERSION: 1.0
#DESCRIPTION: Open Source mail filter, written in Perl, to identify spam using a wide range of heuristic tests on mail headers and body text. Each supported MTA should have a rule that creates a context to be used by the spamd rule to match up originator information.

#####
#
# Copyright (C) 2006 G Ramon Gomez <gene at gomezbrothers dot com>
# All Rights Reserved
#
# This file is part of the Prelude-LML program.
#
# 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, 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.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
#####

#DESCRIPTION:Once the MTAs set up their contexts, the SpamAssassin-specific rule can be called
#CATEGORY:Email
#LOG:Apr 28 11:09:56 awale postfix/smtpd[30879]: 8144DC232CF: client=benji1.traduc.org[213.246.37.27]
regex=(\S+): client=(\S+)[\S+]; \
 id=5200; \
 new_context=SPAMASSASSIN_$1,expire:10; \
 source(0).node.name = $2; \
 source(0).node.address(>>).address = $3; \
 silent

#DESCRIPTION:Once the MTAs set up their contexts, the SpamAssassin-specific rule can be called
#CATEGORY:Email
#LOG:Apr 28 11:09:56 awale postfix/qmgr[5304]: 8144DC232CF: from=<mailman-bounces@traduc.org>, size=15179, nrcpt=1 (queue active)
regex=(\S+): from=<(\S+)>, size=(\d+); \
 id=5201; \
 require_context=SPAMASSASSIN_$1; \
 source(0).node.address(>>).address = $2; \
 additional_data(0).type=integer; \
 additional_data(0).meaning=Size; \
 additional_data(0).data=$3; \
 silent

#DESCRIPTION:SpamAssassin detected a spam
#CATEGORY:Email
#LOG:Apr  5 16:59:44 vm-mail spamd[1819]: spamd: result: Y 999 - ALL_TRUSTED,GTUBE,NO_REAL_NAME scantime=0.1,size=769,user=jenny@yyy.com,uid=8,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=38643,mid=<443459EF.mail1EK1XC3LT@xxx.com>,autolearn=no
regex=spamd: result: Y (\d+) - (\S+) scantime=([\d\.]+),size=\d+,user=(\S+),uid=(\d+),required_score=([\d\.]+)\S+mid=<(\S+@\S+)>; \
 id=5202; \
 require_context=SPAMASSASSIN_$7; \
 classification.text=Spam found; \
 analyzer(0).name=SpamAssassin; \
 analyzer(0).manufacturer=http://spamassassin.apache.org/; \
 analyzer(0).class=Antispam; \
 assessment.impact.severity=low; \
 assessment.impact.completion=failed; \
 assessment.impact.type=user; \
 assessment.impact.description=SpamAssassin detected spam being sent to $4.  This spam scored $1 of a required $6 points.; \
 target(0).node.address(0).category=e-mail; \
 target(0).node.address(0).address=$4; \
 target(0).user.user_id(0).type=target-user; \
 target(0).user.user_id(0).number=$5; \
 additional_data(0).type=string; \
 additional_data(0).meaning=Signatures matched; \
 additional_data(0).data=$2; \
 additional_data(1).type=integer; \
 additional_data(1).meaning=Score; \
 additional_data(1).data=$1; \
 additional_data(2).type=string; \
 additional_data(2).meaning=Required Score; \
 additional_data(2).data=$6; \
 additional_data(3).type=string; \
 additional_data(3).meaning=Scan time; \
 additional_data(3).data=$3; \
 additional_data(4).type=integer; \
 additional_data(4).meaning=Size; \
 additional_data(4).data=$2; \
 last