Gavin Carr wrote:

It's an undefined variable, probably harmless. Does the following fix it?


--- plugins/greylisting.dist    2008-02-13 15:01:48.000000000 +1100
+++ plugins/greylisting 2008-02-13 15:02:11.000000000 +1100
@@ -206,7 +206,7 @@
   return DECLINED if $self->qp->connection->notes('whitelisthost');
   return DECLINED if $transaction->notes('whitelistsender');
- if ($config->{db_dir} =~ m{^([-a-zA-Z0-9./_]+)$}) {
+  if ($config->{db_dir} && $config->{db_dir} =~ m{^([-a-zA-Z0-9./_]+)$}) {
$config->{db_dir} = $1; }

Thanks, worked a treat.

Jim.

Reply via email to