Awesome ..... that's what I need.

    I was checking amavisd.conf-default and found an example on setting 
up to another table, postfix_domains ..... that's pretty similar to my 
real situation here.

    Last doubt ..... after configuring things (lookup_sql_dsn and 
sql_select_policy), how my @local_domains_maps would have to be 
configured ?? Or can i leave it undef ???


Mark Martinec escreveu:
> 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/
>
>   

-- 


        Atenciosamente / Sincerily,
        Leonardo Rodrigues
        Solutti Tecnologia
        http://www.solutti.com.br

        Minha armadilha de SPAM, NÃO mandem email
        [EMAIL PROTECTED]
        My SPAMTRAP, do not email it





-------------------------------------------------------------------------
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/

Reply via email to