Click for SpamPal's Homepage
Contents > Configuring SpamPal > Registry Entries

SpamPal is very configurable but the default settings should suit most user's needs. If however you need to change the default settings, you can tune SpamPal using the Options panel, in many different ways.

Registry Entries: Index

12. Registry Entries
12.1 Registry Entry options: Configuration Directories

12. Registry Entries
Although SpamPal has a graphical user interface, it does have a few useful command line options and this section describes how they can be used.

::Top::
12.1 Registry Entry: Configuration Directories

SpamPal stores its configuration files in the user profile, or failing that in it's own installation directory.

SpamPal's configuration folder can now be set using the following registry keys (listed in descending order of priority):

HKEY_CURRENT_USER\Software\SpamPal for Windows\SpamPal\ConfigDirPath
HKEY_LOCAL_MACHINE\Software\SpamPal for Windows\SpamPal\ConfigDirPath

Last configuration folder used by SpamPal now stored in registry at HKEY_CURRENT_USER\Software\SpamPal for Windows\SpamPal\LastConfigDirPath (This value isn't read by SpamPal, but may be useful if third-party tools need to get at the SpamPal configuration data)

This will mean that all SpamPal and Plugin data will now be stored in the c:\my_spampal_configdir directory, which has two advantages:

a) It's easy to backup (see here)

b) as this can be a common directory, it means that more that one user can share the SpamPal settings, for
example, on a windows XP system, that is using it's multi-user logon feature. This common directory can also be placed on a network drive, so that all your network users can access the same whitelist/blacklist settings etc.

Note 1: Moving SpamPal's configuration directory
If you decide to change this directory, then you must remember to change the following directories as well:
a) SpamPal's
log file path (eg. d:\spampal\log.txt) which is in SpamPal's options, Logging section
b) SpamPal's startup directory command line (eg. -configdir d:\spampal)
HKEY_LOCAL_MACHINE\Software\SpamPal for Windows\SpamPal\ServiceConfigDirPath can be used to set location of Service configuration data without affecting instances of SpamPal that execute as an application.

By default, new service installations now store configuration in All Users\Application Data\SpamPal rather than LocalService\Application Data\SpamPal - for existing users, the ServiceConfigDirPathregistry key should get set automatically so your service still finds your old configuration. This should prevent the service configuration moving between LocalService and NetworkService folders occaisionally.

::Top::