Hi again. Thanks for keeping the discussion on the Binc mailing list, I was about to repost your private message to me, since I think this is beneficial for all readers.
On Wed, Nov 24, 2004 at 05:45:00PM -0700, RYAN vAN GINNEKEN wrote: > Peter Stuge wrote: > >Assuming there's an easy way to query these postfix configuration > >directives and databases (virtual_mailbox_base, virtual_mailbox_maps, > >virtual_uid_maps and virtual_gid_maps) it doesn't look like a lot of > >work to add this compatibility into bchkpw. (Or make pchkpw.) However, > >I find practically zero information about integrating other software > >with Postfix on www.postfix.org, so finding how to actually do the > >table lookups will require some effort. > > > >If you can help by finding out how to do this, that would be great. > > First THANKS 10000000 times as i am sure i have stated before that > without this list i would > dead in the water. I will help you in anyway that i can so you > need to find out how postfix does table lookups right? Well, no, not really. I don't care how postfix does it, I want to know how I can do lookups in the same tables. Ideally using some kind of library that comes with postfix, since postfix seems to have quite an extensive table/database system. > I will do some digging see what i can come up > with................................... > ........................................................................ Hehe, one dot per URL you looked at? :) > jackpot > > http://www.postfix.org/DATABASE_README.html I found this too. Unfortunately there is no information about "hooking into" the postfix table/database system from your own programs. > Don't really know much about this stuff but i guess now is a gooda > time as any to learn right? Also i love to learn stuff that might > make my or someone elses life easier however this stuff does not > look very easy. Again, Postfix seems to have/support a very generic table/database system, which is good because it allows for flexibility when configuring a Postfix mail server, but it's a hassle when wanting to interface with the Postfix configuration from another program, since this program has to know how to deal with all of the table kinds. Not really feasible. Perhaps software addons wishing to "hook into" Postfix like a checkpassword program has to do should be implemented as a patch to the main Postfix distribution? There was mention of a couple of different patches on the web. There may also be developer documentation in the Postfix distribution that isn't available on the web, but I'd expect everything to be online as well. Are you active on any suitable mailing lists related to Postfix, if so could you ask around there? Right now it seems to me that Postfix isn't very extensible, or open, which makes me all the happier to have chosen qmail for my MTA needs. :) //Peter
