Michael, > > Currently, as a matter of principle, child processes never open > > and read files (except the mail they are dealing with), so this > > approach is not a viable solution. There is one trick of using > > a Perl 'tie' to associate a hash (associative array) with a > > database file, so when amavisd would do a lookup on a hash > > this would translate into a database lookup on a file, but > > it works only for scalar results. I don't think it can help > > with choosing and fetching DKIM keys without changing > > approach more radically. > > And only on[e] the initial amavisd start|restart, right?
Yes, config files and signing keys and files specified through read_text, read_hash and read_array are only read once by a parent process on the initial amavisd start|restart. Mark ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
