Re: [qmailadmin] modifying qmailadmin source to update FileMaker on password changes
On Mar 2, 2004, at 4:32 PM, [EMAIL PROTECTED] wrote: I think the best way would be to modify the qmailadmin source and execute the relevant C API to FileMaker (if it exists), or I can use an existing PHP API to FileMaker to update password changes. This would mean an execl(php /www/data/update.php) command. Take a look at README.hooks in the QmailAdmin 1.2 source directory. It explains how to have QmailAdmin execute external commands when adding/modifying/deleting users. -- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/
Re: [qmailadmin] modifying qmailadmin source to update FileMaker on password changes
Hi again, If anyone is interested in updating a FileMaker database or something similar I came up with the following solution. Use .qmailadmin-hooks with a path to the program you wish to execute. In my case, it was a shell script on the condition an account was modified (moduser). The shell script then passed some command line variables into a php script, which handles the necessary XML to update the FileMaker database for the change. Cheers, Phillip
Re: [qmailadmin] modifying qmailadmin source to update FileMaker on password changes
grep for vpasswd [EMAIL PROTECTED] wrote: Hi, I think the best way would be to modify the qmailadmin source and execute the relevant C API to FileMaker (if it exists), or I can use an existing PHP API to FileMaker to update password changes. This would mean an execl(php /www/data/update.php) command. Is it possible for somebody to point me in the right direction to the source where password changes are performed so I can add the (unfinished!) logic: grep for vpasswd Rick