On Jan 15, 2008, at 3:28 PM, Gary V wrote: > But I can tell you that it's not hard to dump your domains into a flat > file that amavis can use: > > mysql -uusername -psome_password database -B -N -e "select > concat('.',domain) from domain" >/var/amavis/local_domains > > Then in amavisd.conf: > > @local_domains_maps = ( read_hash("$MYHOME/local_domains") );
That seems so silly when "select distinct Domain from Email" will give the exact answer. Flushing every minute or so to text tables and then having to restart amavisd to reread it is... wasteful -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/