[Mimedefang] $Features not showing Net::DNS

David F. Skoll dfs at roaringpenguin.com
Sat Apr 11 11:25:16 EDT 2009


Erin Fortenberry wrote:

> I have found the following lines to be of no problem in mimedefang.pl (lines
> 105-108);

> 	if (!defined($Features{"Net::DNS"})) {
> 	    (eval 'use Net::DNS; $Features{"Net::DNS"} = 1;')
> 		or $Features{"Net::DNS"} = 0;
> 	}

> It loads and sets $Features{"Net::DNS"} to 1.

Good.

> But, the following lines (1535) are a problem;

>     unless ($Features{"Net::DNS"}) {

> This is true when it needs to be false. If you change it to;

I disagree.  If it works when you change it, something's wrong.

Regards,

David.



More information about the MIMEDefang mailing list