Gene Heskett wrote:
On Friday 20 July 2007, Richard Frovarp wrote:
Skip Brott wrote:
I ran with the --nogpg option and was able to get all the files to
download. Yay! But do I really want to run it that way?
And on that note, how does SA know where to find the .cf files in
/var/lib/spamassassin? Does it see subfolders and load the .cf files
from there? Or do those downloaded updates automatically replace my
.cf files in /etc/mail/spamassassin, where I have always kept my rules?
- Skip
What instructions were you following? It doesn't appear that you
followed them completely. You need a --gpgkey config switch in there.
/etc/mail/spamassassin always overrules anything else located anywhere
else. SA knows perfectly well how to load the files from
/var/lib/spamassassin. So long as sa-update runs, you have nothing to
worry about. If you have any duplicates in /var/lib/spamassassin and
/etc/mail/spamassassin, the ones in /etc/mail will override those in
/var. So get rid of the duplicate rules in /etc, as those under /var are
the ones being updated.
If this is so, and it appears to be, then why did I just repeat an lsof|grep
spamd every second for 2 cycles of my mail fetching activities without ever
seeing spamd have a file open in /var/lib/spamassassin?
Where is this configured, and I'll fix it.
Yes, the ones in /var are being updated by sa-update whereas the ones in /etc
are not, but if its using them, I'd have to assume they would show up in an
lsof. They do not, here on a fully up2date FC6 install.
In fact, I have 3 subtrees in /var/lib/spamassassin:
3.001007 3.002000 3.002001
each of which appears to contain >95% dups, with differing file dates, with
the most recent being dated July 16 in the 3.002001 tree.
Can I safely delete the earlier dated trees?
Because the files aren't open? spamd would read the files in, store the
contents in memory, and then close the buffer to the file upon startup.
spamassassin --lint -D will tell you what rule files it's reading in.
You should see them there.
Those trees refer to the version number of SA. If you are only running
3.2.1, then the other trees can go away.