Anders wrote: >> Write a script that dumps the data and reloads amavisd-new. Run it >> when you add a new domain. Or manually add new domains to the file. >> How often can that be? If you don't want to restart amavisd-new, >> set up SQL for amavisd-new and add a new domain there with an SQL >> command. See >> http://www.ijs.si/software/amavisd/README.sql.txt >> http://marc.theaimsgroup.com/?l=amavis-user&m=113479225731661&w=2 >> Maybe you could write a command/script that added domains to the users >> table from existing data. With 30 domains, depending on your setup, >> you may have domains that wish to have policies that differ from the >> others so you may end up deciding to set up SQL in the end anyway.
> I doubt there will be any different setting or policies on different > domains, and no personal settings either. It's operated as a central > spam/virus trap, and client wouldn't have the need to manage settings. > I don't even set up quarantine, it's just rejected and deleted. > However, I do have the MySQL database, and postfix reads its domain data > from it. It would be great to have amavis read from the DB as well, but > I can't find any references on how to set up sql access to read in from > sql to @local_domains_maps. Anecdotal evidence I've seen shows most attempts at using a SQL database not designed for amavisd-new have not been successful. I have seen several posts where others have attempted to use SQL to obtain the list of @local_domains from an existing MySQL database not designed for use by amavisd-new and have not been able to. Maybe there is a way, but I have not seen someone describe how they accomplished this task. In your case, how difficult would it really be to maintain the list of your 30 some odd domains? Possibly less work than trying to find a way to avoid it. Gary V ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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/
