Why do I have two spamassassin directories? They seem to have the exact same files with the same modified dates, yet I dont see any symlinking going on (though I easily could be blind and missing something).

###########################################

r...@warpath:~# ls -l /etc/mail/spamassassin/
total 32
-rw-r--r-- 1 root root  939 2010-03-29 10:01 65_debian.cf
-rw-r--r-- 1 root root 1346 2010-08-15 05:28 init.pre
-rw-r--r-- 1 root root 2701 2010-08-15 05:28 local.cf
drwxr-xr-x 2 root root 4096 2010-03-29 10:01 sa-update-hooks.d
-rw-r--r-- 1 root root 2524 2010-03-29 10:01 v310.pre
-rw-r--r-- 1 root root 1194 2010-03-29 10:01 v312.pre
-rw-r--r-- 1 root root 2416 2010-03-29 10:01 v320.pre
-rw-r--r-- 1 root root 1237 2010-03-29 10:01 v330.pre
r...@warpath:~# ls -l /etc/spamassassin/
total 32
-rw-r--r-- 1 root root  939 2010-03-29 10:01 65_debian.cf
-rw-r--r-- 1 root root 1346 2010-08-15 05:28 init.pre
-rw-r--r-- 1 root root 2701 2010-08-15 05:28 local.cf
drwxr-xr-x 2 root root 4096 2010-03-29 10:01 sa-update-hooks.d
-rw-r--r-- 1 root root 2524 2010-03-29 10:01 v310.pre
-rw-r--r-- 1 root root 1194 2010-03-29 10:01 v312.pre
-rw-r--r-- 1 root root 2416 2010-03-29 10:01 v320.pre
-rw-r--r-- 1 root root 1237 2010-03-29 10:01 v330.pre

##########################################

Can I just delete the /etc/mail/spamassassin/ one and symlink to the other?

I found out the above when trying to use the following howto for SARE rule updates: http://www.topdog.za.net/configure_spamassassin.

#########################################
r...@warpath:~# sa-update --import GPG.KEY
gpg: keyblock resource `/etc/spamassassin/sa-update-keys/secring.gpg': file open error gpg: keyblock resource `/etc/spamassassin/sa-update-keys/pubring.gpg': file open error
gpg: no writable keyring found: eof
gpg: error reading `GPG.KEY': general error
gpg: import from `GPG.KEY' failed: general error
#########################################

Though I dont have 'sa-update-keys' anywhere on the server. They also recommended that I created a file called:

/etc/mail/spamassassin/sare-sa-update-channels.txt

Which I found odd since Ive always been working out of /etc/spamassassin/

Anyway, my final questions would be:

1) Can i delete one SA directory and symlink to the the other one?
2) Is that sa-update howto work with the current version of SA and if so, so I just manually create the 'sa-update-keys' folder for the GPG imports? 3) Are there additional sa-update 'channels' that I should know about and use?

Thanks for your time,
Mark





Reply via email to