On 06/03/2010 05:35 PM, gmx wrote:
Dear list,
In our postfix configs, we use multiple queries based on the mysql_table
from the same DB .
So as per http://www.postfix.org/mysql_table.5.html each of the mysql config
files contains a
hosts = mydbhost.domain.tld
user = mydbUser
password = myPassword
dbname = myDB
section before the query.
Once any of these parameters needs to be changed, the values need to be
changed repetitively for each query.
No. Just change the query.
If the query file format would allow for
<<
import=/etc/postfix/mysql/dbConf.cf
What do you think of this "Request for enhancement"?
Ralf
I don't see any need for that; SQL is so much more flexible than postfix
with regards to table lookups, it's hard to think of a situation were
all data is in SQL and you cannot construct a query to retrieve any
possible combination of data you require.
J.