/etc/xdg/kmail.antispamrc is in kdepim-addons 17.12.3-0ubuntu2.
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 | [General]
tools=12
[Spamtool #1]
Ident=spamassassin
Version=1
Priority=40
VisibleName=SpamAssassin 2.x (Perl)
Executable=spamassassin -V | grep "SpamAssassin version 2"
URL=http://spamassassin.org
PipeFilterName=SpamAssassin Check
PipeCmdDetect=spamassassin -L
PipeCmdNoSpam=spamassassin -d
ExecCmdSpam=sa-learn -L --spam --no-sync --single
ExecCmdHam=sa-learn -L --ham --no-sync --single
DetectionHeader=X-Spam-Flag
DetectionPattern=(yes)|(YES)
DetectionPattern2=
DetectionOnly=0
UseRegExp=1
SupportsBayes=1
SupportsUnsure=0
ScoreName=Spamassassin
ScoreHeader=X-Spam-Status
ScoreType=Adjusted
ScoreValueRegexp=(?:hits|score)=([\\d\\.-]+)[^\\d\\.]
ScoreThresholdRegexp=required=([\\d\\.-]+)[^\\d\\.]
[Spamtool #2]
Ident=bogofilter
Version=2
Priority=50
VisibleName=Bogofilter
Executable=bogofilter -V
URL=http://bogofilter.sourceforge.net
PipeFilterName=Bogofilter Check
PipeCmdDetect=bogofilter -p -e
PipeCmdNoSpam=
ExecCmdSpam=bogofilter -s
ExecCmdHam=bogofilter -n
DetectionHeader=X-Bogosity
DetectionPattern=(yes)|(spam\\b)
DetectionPattern2=
DetectionOnly=0
UseRegExp=1
SupportsBayes=1
SupportsUnsure=0
ScoreName=Bogofilter
ScoreHeader=X-Bogosity
ScoreType=Decimal
ScoreValueRegexp=spamicity=([\\d\\.]+)
ScoreThresholdRegexp=
[Spamtool #3]
Ident=annoyance-filter
Version=1
Priority=30
VisibleName=Annoyance-Filter
Executable=PATH=$HOME/.annoyance-filter:${PATH} annoyance-filter --version
URL=http://www.fourmilab.ch/annoyance-filter
PipeFilterName=Annoyance-Filter Check
PipeCmdDetect=PATH=$HOME/.annoyance-filter:${PATH} annoyance-filter --fread $HOME/.annoyance-filter/FastDict.bin --phrasemin 1 --phrasemax 2 --transcript - --test -
PipeCmdNoSpam=
ExecCmdSpam=PATH=$HOME/.annoyance-filter:${PATH} annoyance-filter --read $HOME/.annoyance-filter/Dict.bin --phrasemin 1 --phrasemax 2 --junk - --prune --write $HOME/.annoyance-filter/Dict.bin --fwrite $HOME/.annoyance-filter/FastDict.bin
ExecCmdHam=PATH=$HOME/.annoyance-filter:${PATH} annoyance-filter --read $HOME/.annoyance-filter/Dict.bin --phrasemin 1 --phrasemax 2 --mail - --prune --write $HOME/.annoyance-filter/Dict.bin --fwrite $HOME/.annoyance-filter/FastDict.bin
DetectionHeader=X-Annoyance-Filter-Classification
DetectionPattern=Junk
DetectionPattern2=
DetectionOnly=0
UseRegExp=0
SupportsBayes=1
SupportsUnsure=0
[Spamtool #4]
Ident=gmx-antispam
Version=1
Priority=71
VisibleName=GMX Spam Filter
Executable=echo
URL=http://www.gmx.net/de/produkte/virenschutz/index.html
PipeFilterName=
PipeCmdDetect=
PipeCmdNoSpam=
ExecCmdSpam=
ExecCmdHam=
DetectionHeader=X-GMX-Antispam
DetectionPattern=^[2345]
DetectionPattern2=
DetectionOnly=1
UseRegExp=1
SupportsBayes=0
SupportsUnsure=0
ServerPattern=gmx
[Spamtool #5]
Ident=spambayes
Version=1
Priority=20
VisibleName=SpamBayes
Executable=sb_filter -h
URL=http://spambayes.sourceforge.net
PipeFilterName=SpamBayes Check
PipeCmdDetect=sb_filter
PipeCmdNoSpam=
ExecCmdSpam=sb_filter -s
ExecCmdHam=sb_filter -g
DetectionHeader=X-Spambayes-Classification
DetectionPattern=spam
DetectionPattern2=unsure
DetectionOnly=0
UseRegExp=0
SupportsBayes=1
SupportsUnsure=1
ScoreName=Spambayes
ScoreHeader=X-Spambayes-Classification
ScoreType=Decimal
ScoreValueRegexp=(?:spam|ham);\\ ([\\d\\.]+)
ScoreThresholdRegexp=
[Spamtool #6]
Ident=razor
HeadersOnly=yes
ScoreName=Razor
ScoreHeader=X-Razor-Spam
ScoreType=Bool
ScoreValueRegexp=SPAM
ScoreThresholdRegexp=
[Spamtool #7]
Ident=spamd
Version=1
Priority=45
VisibleName=SpamAssassin 3.x (Daemon)
Executable=echo "From: test" | spamc -x && spamassassin -V | grep "SpamAssassin version 3"
URL=http://spamassassin.org
PipeFilterName=SpamAssassin Service Check
PipeCmdDetect=spamc
PipeCmdNoSpam=spamassassin -d
ExecCmdSpam=sa-learn -L --spam --no-sync --single
ExecCmdHam=sa-learn -L --ham --no-sync --single
DetectionHeader=X-Spam-Flag
DetectionPattern=(yes)|(YES)
DetectionPattern2=
DetectionOnly=0
UseRegExp=0
SupportsBayes=1
SupportsUnsure=0
ScoreName=Spamassassin
ScoreHeader=X-Spam-Status
ScoreType=Adjusted
ScoreValueRegexp=(?:hits|score)=([\\d\\.-]+)[^\\d\\.]
ScoreThresholdRegexp=required=([\\d\\.-]+)[^\\d\\.]
[Spamtool #8]
Ident=spamassassin
Version=1
Priority=41
VisibleName=SpamAssassin 3.x (Perl)
Executable=spamassassin -V | grep "SpamAssassin version 3"
URL=http://spamassassin.org
PipeFilterName=SpamAssassin Check
PipeCmdDetect=spamassassin -L
PipeCmdNoSpam=spamassassin -d
ExecCmdSpam=sa-learn -L --spam --no-sync
ExecCmdHam=sa-learn -L --ham --no-sync
DetectionHeader=X-Spam-Flag
DetectionPattern=(yes)|(YES)
DetectionPattern2=
DetectionOnly=0
UseRegExp=1
SupportsBayes=1
SupportsUnsure=0
ScoreName=Spamassassin
ScoreHeader=X-Spam-Status
ScoreType=Adjusted
ScoreValueRegexp=(?:hits|score)=([\\d\\.-]+)[^\\d\\.]
ScoreThresholdRegexp=required=([\\d\\.-]+)[^\\d\\.]
[Spamtool #9]
Ident=bsfilter
Version=1
Priority=55
VisibleName=Bsfilter
Executable=bsfilter --help > /dev/null
URL=http://bsfilter.org/
PipeFilterName=Bsfilter Check
PipeCmdDetect=bsfilter --pipe --insert-flag --insert-probability --header-prefix BSFilter
PipeCmdNoSpam=
ExecCmdSpam=bsfilter --add-spam --update
ExecCmdHam=bsfilter --add-clean --update
DetectionHeader=X-BSFilter-Flag
DetectionPattern=Yes
DetectionPattern2=
DetectionOnly=0
UseRegExp=0
SupportsBayes=1
SupportsUnsure=0
ScoreName=Bsfilter
ScoreHeader=X-BSFilter-Probability
ScoreType=Decimal
ScoreValueRegexp=(.+)
ScoreThresholdRegexp=
[Spamtool #10]
Ident=dspam
Version=1
Priority=70
VisibleName=DSpam 3.x
URL=http://dspam.nuclearelephant.org
HeadersOnly=yes
DetectionHeader=X-DSPAM-Result
DetectionPattern=Spam
DetectionOnly=0
UseRegExp=0
ScoreName=DSpam
SupportsUnsure=0
ScoreHeader=X-DSPAM-Probability
ConfidenceHeader=X-DSPAM-Confidence
ScoreType=Decimal
ScoreValueRegexp=([\\d\\.]+)\\s*
ScoreConfidenceRegexp=([\\d\\.]+)\\s*
[Spamtool #11]
Ident=crm114
Version=1
Priority=65
VisibleName=CRM114
Executable=crm -v | grep "CRM114"
URL=http://crm114.sourceforge.net
PipeFilterName=CRM114 Check
PipeCmdDetect=crm -u $HOME/.crm114 mailreaver.crm
PipeCmdNoSpam=
ExecCmdSpam=crm -u $HOME/.crm114 mailreaver.crm --spam
ExecCmdHam=crm -u $HOME/.crm114 mailreaver.crm --good
DetectionHeader=X-CRM114-Status
DetectionPattern=SPAM
DetectionPattern2=UNSURE
DetectionOnly=0
UseRegExp=0
SupportsBayes=1
SupportsUnsure=1
ScoreName=CRM114
ScoreHeader=X-CRM114-Status
ScoreType=Bool
ScoreValueRegexp=SPAM
ScoreThresholdRegexp=
[Spamtool #12]
Ident=Rspamd
Version=1
Priority=70
VisibleName=Rspamd
URL=https://rspamd.com
HeadersOnly=yes
DetectionOnly=1
ScoreName=Rspamd
ScoreHeader=X-Spamd-Result
ScoreType=Adjusted
ScoreValueRegexp=\\[([\\d\\.-]+)[^\\d\\.]
ScoreThresholdRegexp= \\/ ([\\d\\.-]+)[^\\d\\.]
|