diff --git a/plugins/karma_tool b/plugins/karma_tool index 216afb1..4e19cb9 100755 --- a/plugins/karma_tool +++ b/plugins/karma_tool @@ -63,7 +63,7 @@ sub db { my ( $self ) = @_; return $self->{db} if $self->{db}; $self->{db} = Qpsmtpd::DB->new( name => 'karma' ); - $self->{db}->dir( + $self->{db}->candidate_dirs( $self->{args}{db_dir}, qw( /var/lib/qpsmtpd/karma ./var/db ./config . ) ); my $path = $self->{db}->path;