Chris Lewis wrote:
Guy Hulbert wrote:
On Thu, 2008-02-14 at 12:05 -0500, Chris Lewis wrote:
That last change would break it -- the config_dir_memo thing is
returned
above.
that would break _all_ config(), wouldn't it? config()'s on other
than "me" work fine.
I was wrong anyway.
I thought that it was possible for 'me' to be picked up from the qmail
directory with the rest of the configuration being found elsewhere.
My system is set up that way but I'm not running qpsmtpd on port 25 yet.
I'm just using it to provide smtp auth for some users.
The log shows that it DID pick up the fqdn from the qmail directory so
it appears my memory is correct (in at least this one case :-).
I don't have a qmail directory (no qmail).
It turns out that my proposed fix and variants thereof don't work
either. Even if I remove the for loop entirely from
clear_config_cache(). Mysteriouser and mysteriouser.
Never mind, eliding the for loop entirely worked, was checking the wrong
thing to see if it worked. Trying to call config() and then stuffing the
cache if it didn't work, didn't work - can't call config() without a
$self, and there's none to pass (from clear_config_cache).
If the above makes sense. ;-)
So, it's working properly - except CVD doesn't get cached. Matt's going
to have to look at this closer.