> > I had added 64.30.237.0/24 to the config/whitelisthosts file, but
> > still its blocking the mails, Is the entry I have entered in
> > config/whitelisthosts file  is wrong.?
> >
> 
> This configuration doen't work for me. It still blocks mails, How I
> have to modify the config/whitelisthosts file for the purpose ? Please
> help me to resolve this issue.
> 
> 
> Thanks and Regards,
> 
> Abhilash.S
>

>From whitelist_soft :

  for my $h ($self->qp->config('whitelisthosts', $config_arg)) {
    if ($h eq $ip or $ip =~ /^\Q$h\E/) {
      $self->qp->connection->notes('whitelisthost', 1);
      $self->log(2,"host $ip is a whitelisted host");
      return OK;
    }
  }

>From man perlre :
  \Q   quote (disable) pattern metacharacters till \E

So, I think that your whitelisthosts file must contain "64.30.237." to
do the job.

Sydney. 

Reply via email to