Hello Gary,
Gary V schrieb:
> I have only the most basic understanding of MySQL but it looks like you are
> trying to use a database that was not designed for use by amavisd-new. If
> all you are trying to do is get a list of local domains, and you do not
> intend on setting up a separate (correctly configured) database for
> amavisd-new I would be inclined to output the list of your domains to a
> text file, and read them in via a read_hash statement.
>
> # @local_domains_maps = ( [".$mydomain"] );
> # @lookup_sql_dsn =(['DBI:mysql:database=1000mail;host=127.0.0.1;port=33016',
> '1000mail', 'passwort']);
> # $sql_select_policy = "SELECT domain_name FROM domain WHERE
> domain_name='%s'";
> # @lookup_sql_dsn =(['DBI:mysql:database=1000mail;host=127.0.0.1;port=33016',
> '1000mail', 'password']);
> # $sql_select_policy = 'SELECT "Y" as local FROM domain WHERE
> CONCAT("@",domain_name) IN (%k)';
> @local_domains_maps = ( read_hash("$MYHOME/local_domains") );
>
Thanks for your answer.
Thats the way i had build if the database-variant can not be made.
Ok. Thanks for answering.
I build my emergency system / variant. ;-)
Many greets
Michael
-------------------------------------------------------------------------
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/