Leonardo, > Is it possible to have @local_domains_maps variable stored in MySQL > database ? I wanna host several domains and dont want to alter some > external file for having all domains listed ..... i already does that > with read_hash, but i would like to have it fetch from MySQL ...... > is this possible ?
Yes, there is a field users.local for that purpose. In its absence the default behavious is just fine: if a domain (or specific user( is listed in table 'users', then it defaults to local='Y'; if not listed, it is not local. So: just list all your domains in table 'users' (one record for each domain), and the rest will take care of itself. Mark ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ 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/