Re: [Postfixadmin-devel] writing a 3rd party user insert
Brought to you by:
christian_boltz,
gingerdog
From: Christian B. <pos...@cb...> - 2013-10-03 13:54:53
|
Hello, Am Donnerstag, 3. Oktober 2013 schrieb Brad: > I am writing an application that needs to add a user to postfix and we > are on a postfixadmin standard. > > A quick glance at the database structure and it looks like you guys > took care of all the hard work. > > I detect a form of a hook in your code, any special advice on the SQL > insert, such that will update all the appropriate fields? There's an easier way than working on the SQL level ;-) Checkout the latest code from SVN trunk. It contains a commandline client for PostfixAdmin which does all the hard work ;-) The commandline client is not fully implemented yet (for example, deleting something is still missing), but creating and editing admins, domains, mailboxes and aliases should work without problems. Note: You'll need to run setup.php to upgrade your database. If you find any bugs besides the "not yet implemented" parts, please tell me ;-) (or open a bugreport on SF) If the application you write is written in PHP, it might also be an option to directly use the PostfixAdmin classes. If you are interested, just ask about the details ;-) Regards, Christian Boltz -- "Arial was designed for Monotype in 1982 by Robin Nicholas and Patricia Saunders" - Diese Aussage ist bei mir und bei dir gleich gültig. (Gleich gültig. Nicht: Gleichgültig. :-) ). Ob sie uns interessiert, sei dahingestellt, die Aussage ist wahr. [Ratti in fontlinge-devel] |