This file is indexed.

/usr/share/doc/spamassassin-heatu/sa-heatu.readme is in spamassassin-heatu 3.02+20101108-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
Spam Assassin - Heuristic Email Address Tracker Utility 

Modified the original AWL tool
It can be found at:

        http://real-world-systems.com/mail/sa-heatu.tar

un tar it with

        tar -vxf sa-heatu.tar

to get

 sa-heatu the perl program


usage: sa-heatu --quite --showUpdates --verbose  
                 --firstTimes --DONTupdateTimestamps  --noTimestamps   
                 --expireOlderThan days 
                 --remove nnnnnn@dddddd.xxx                          dbfile timestamps 

without options it generates a summary like:


       0 entries removed. 
       0 entries not retained. 
       0 entries expired.      
      69 timestamps added.     
      28 timestamps updated.     
                          
    4388 entries.              

AND creates a new auto-whitelist and timestamps file with entries older than 183 days removed.


Here is a simple cronjob to run sa-heatu daily:

#!/bin/bash 
export TZ=US/Eastern
cd ~/.spamassassin;                      if [ $? -ne 0 ]; then echo "unable to cd to .spamassassin, I quit\!";exit 1; fi
./sa-heatu -show >> sa-heatu.log1
if [ $? -ne 0 ]; then echo "sa-heatu failed, databases unmoved\!"; exit 1; fi
cat sa-heatu.log1 >> sa-heatu.log
##cat sa-heatu.log1
mv -f auto-whitelist  auto-whitelist-1 ; if [ $? -ne 0 ]; then echo "mv auto-whitelist  failed, I quit\!";exit 1; fi
mv auto-whitelisto auto-whitelist;       if [ $? -ne 0 ]; then echo "mv auto-whitelisto failed, I quit\!";exit 1; fi
mv -f timestamps  timestamps-1;          if [ $? -ne 0 ]; then echo "mv timestamsp      failed, I quit\!";exit 1; fi
mv timestampso timestamps;               if [ $? -ne 0 ]; then echo "mv timestampso     failed, I quit\!";exit 1; fi
##echo "autop-whitelist, timestamps updated" 

See sa-heatu.html for the details


Let me know if you use it and what you think?


Dennis G German
Manager, Computer Systems
Real-World-Systems, Inc 

#   Copyright
#
#       Copyright (C) 2010 Denis G German <DGermansa@Real-World-Systems.com>
#
#   License
#
#       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.
#
#       You should have received a copy of the GNU General Public License
#       along with this program. If not, see <http://www.gnu.org/licenses/>.