http://bugzilla.spamassassin.org/show_bug.cgi?id=4619





------- Additional Comments From [EMAIL PROTECTED]  2005-10-14 13:56 -------
Justin, by the way delaying the creation of the socket has a problem: The config
files are read in the sub init which is called many times to be able to reload
the user preferences. init is careful not to overwrite the preferences that are
global after the first time it is called. The initialization of the DnsResolver
object is a heavyweight operation that involves querying DNS servers and so on.
It isn't something to be done with every message the way reading user preference
files is done, even though it would have the positive side effect of allowing
the use of DNS to adapt to changing circumstances on the network.

What that means is that initializing of DnsResolver would have to be done inside
init after the global preferences have been read in and only on that first call
that does read the global preferences. Either that, or it would have to
duplicate whatever it is that init does to differentiate the first call from
subsequent calls and whatever complication is in the config handling code to
deal with copying from parent into children. I'm not familiar with that code.

The command line option may be the way to go because of how much simpler that
would be.




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to