[Mimedefang] $Features not showing Net::DNS
Jonas Eckerman
jonas_lists at frukt.org
Sat Apr 11 17:55:16 EDT 2009
Erin Fortenberry skrev:
> But, the following lines (1535) are a problem;
>
> unless ($Features{"Net::DNS"}) {
Isn't that the following?
---8<---
unless ($Features{"Net::DNS"}) {
md_syslog('err', "$MsgID: Attempted to call
relay_is_blacklisted_multi, but Perl module Net::DNS is not installed");
return $ans;
}
---8<---
> This is true when it needs to be false. If you change it to;
>
> unless (!$Features{"Net::DNS"}) {
That seems like a bad (and strange!) idea. Changing it that way means
that whenever mimedefang has found out that Net::DNS is installed it
will refuse to use it in "relay_is_blacklisted_multi".
> Then things are good again. So, this looks like a bug. Where do I post a
> bug?
It looks like there is a bug somewhere else if that change makes things
work right.
Are you setting (to 0 or undef perhaps) or deleteing
"$Features{"Net::DNS"}" anywhere in your filter (by mistake or on purpose)?
Does "mimedefang.pl -features" tell you that Net::DNS is found?
Does your filter do anything to $Features{"AutoDetectPerlModules"}?
Regards
/Jonas
--
Jonas Eckerman
Fruktträdet & Förbundet Sveriges Dövblinda
http://www.fsdb.org/
http://www.frukt.org/
http://whatever.frukt.org/
More information about the MIMEDefang
mailing list