Re: DB access details for Postfix

2012-06-11 Thread Krzysztof Trybowski
On Mon, Jun 11, 2012 at 3:29 PM, Wietse Venema wrote: > Krzysztof Trybowski: >> On Mon, Jun 11, 2012 at 2:24 PM, Wietse Venema wrote: >> >> > On the Postfix side, you usually need one .cf file per Postfix map. >> > On the MySQL side, you can store everything in

Re: DB access details for Postfix

2012-06-11 Thread Krzysztof Trybowski
On Mon, Jun 11, 2012 at 2:24 PM, Wietse Venema wrote: > On the Postfix side, you usually need one .cf file per Postfix map. > > On the MySQL side, you can store everything in one table. > >        Wietse Yes, I use several Postfix maps, so I have several .cf files. And in each of them — database

DB access details for Postfix

2012-06-11 Thread Krzysztof Trybowski
Hello all, I've been setting up Postfix recently. I'm using virtual mailboxes and store user data in MySQL. I'm aiming to create an elegant solution and there's one thing that bugs me: I have several mysql-virtual_*.cf files, each holding query to a different MySQL table. Each of those files also c