http://bugzilla.spamassassin.org/show_bug.cgi?id=4401





------- Additional Comments From [EMAIL PROTECTED]  2005-06-16 00:59 -------
Bad idea. If you follow the method calls in the create_default_prefs method you
will see that the method get_and_create_userstate_dir is called without any
argument. It uses $self->{user_dir} which isn't set correctly without my change
to spamd.

As I wrote in my last reply, I did the diff using the wrong file order. Maybe
that caused some misunderstanding of the problem.

--- spamd       2005-06-10 16:46:43.000000000 +0200
+++ spamd.orig  2005-06-10 16:49:05.000000000 +0200
@@ -1419,14 +1419,14 @@
     if ( !$opt{'username'} ) {
       warn "cannot use vpopmail without -u\n";
     }
-    create_default_cf_if_needed( $cf_file, $username, $dir );
-    $spamtest->read_scoreonly_config($cf_file);
     $spamtest->signal_user_changed(
       {
         username => $username,
         user_dir => $dir
       }
     );
+    create_default_cf_if_needed( $cf_file, $username, $dir );
+    $spamtest->read_scoreonly_config($cf_file);
 
   }
   else {



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to