> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:amavis-user- > [EMAIL PROTECTED] On Behalf Of Noel Jones > Sent: Thursday, February 16, 2006 8:40 AM > To: [email protected] > Subject: RE: [AMaViS-user] Connection refusals - Slowness > > At 10:18 AM 2/16/2006, Ed Lucero wrote: > > > > > > > > > Looks to me as if amavisd-new was stopped and restarted at > > > > 14:00. Got some cron process that bounces the service? > > > > > > > > A recent thread on postfix-users reported slow performance > > > > with postfix<->amavisd-new on FreeBSD 6, the solution in > > > > Noel Jones > > > >Why yes. We are an email ISP. So we support many domains. > >I am currently > >updating a text file with domain changes. For > >@local_domains_maps > > > >This file is 130K. When changes occur I reload amavis. How > >fist is the > >hash lookup for @local_domains_maps? What would be a > >faster method? > > The hash lookup should be very fast, but the file is only > read at startup, so you must stop/start or reload > amavisd-new every time the file is changed. If you must > reload amavisd-new several times a day due to config > changes, you might consider moving your config info to an > SQL map to avoid reloading amavisd-new so often. > > -- > Noel Jones
The amavisd documentation on setting up the SQL lookups is a bit obtuse. Has any one got any examples I can look at? Ed ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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/
