[quote]
Does it actually read the files in the update channel dirs? Something
like this, below the point where the debugging output has been snipped.
[/quote]

Yes I think it does - the relevant output is below.

[5153] dbg: config: fixed relative path: /var/lib/spamassassin/3.002002/sought_rules_yerp_org/20_sought.cf [5153] dbg: config: using "/var/lib/spamassassin/3.002002/sought_rules_yerp_org/20_sought.cf" for included file [5153] dbg: config: read file /var/lib/spamassassin/3.002002/sought_rules_yerp_org/20_sought.cf

Regards,
Kate

Karsten Bräckelmann wrote:
On Thu, 2008-05-15 at 10:46 +1200, Kathryn Kleinschafer wrote:
I run the update via a crontab entry (set when logged in as root) how do I specify who its done by and what the umask is?

Edit the crontab as the user you want it to be run. Alternatively, have
a look at 'man crontab'.

spamassassin is run by postfix user - all this part of the setup should be fine as I haven't played with the config files and it had all been running well.

I run the test as user postfix to ensure I get the same results as when the automatic tests run.


David B Funk wrote:

Also look to see what User-ID your SA filtering process runs as
and then check to see if there are some parts of your SA setup or
your Perl installation that aren't properly readable/usable by that
User-ID.
(for example, if an update was done as 'root' with a umask of 077
then the installed rules/updates would not be useable by anybody
else).

The debug output pasted earlier seems to hint that the updates are at
least readable, I believe. Though the debug output only showed a tiny
fraction of the very first part:

  dbg: config: read file /var/lib/spamassassin/3.00x00y/sought_rules_yerp_org.cf

Does it actually read the files in the update channel dirs? Something
like this, below the point where the debugging output has been snipped.

  dbg: config: read file 
/var/lib/spamassassin/3.00x00y/sought_rules_yerp_org/20_sought.cf

  guenther


Reply via email to