http://bugzilla.spamassassin.org/show_bug.cgi?id=3585
------- Additional Comments From [EMAIL PROTECTED] 2004-07-10 16:58 -------
Subject: Re: Bayes - cannot write to
/tmp/spamd-XXX-init/.spamassassin/bayes_journal
[EMAIL PROTECTED] wrote:
>
>Can you look in your SpamAssassin.pm file, find the compile_now sub and
>copy the last 5 lines or so,
>
# Backup default values which deal with userstate.
# This is done so we can create any new files in, presumably, a temp dir.
# see bug 2762 for more details.
my %backup = ();
if (defined $deal_with_userstate && $deal_with_userstate) {
while(my($k,$v) = each %{$self->{conf}}) {
$backup{$k} = $v if (defined $v && !ref($v) && $v =~/__userstate__/);
}
}
>and then find the sed_path sub and copy
>the last 3 lines or so.
>
>
>
>
sub sed_path {
my ($self, $path) = @_;
return undef if (!defined $path);
$path =~ s/__local_rules_dir__/$self->{LOCAL_RULES_DIR} || ''/ges;
$path =~ s/__def_rules_dir__/$self->{DEF_RULES_DIR} || ''/ges;
$path =~ s{__prefix__}{$self->{PREFIX} || $Config{prefix} || '/usr'}ges;
$path =~ s{__userstate__}{$self->get_and_create_userstate_dir()}ges;
$path =~ s/^\~([^\/]*)/$self->expand_name($1)/es;
return Mail::SpamAssassin::Util::untaint_file_path ($path);
}
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.