# Hello,
Am Samstag, 14. November 2009 schrieb Aaron Dalton:
> I'm new to postfixadmin. I am managing a dozen or so domains, all of
> which I wish to use with DKIM. Having the admins manually edit text
> files listing domains and keys is a problem. Are there any hooks I
> can attach a script to that will manage these files for me?
I'm not really familiar with DKIM and what it needs, so I'll just give
you the list of available hooks (which can call external scripts):
# grep -B1 "CONF.*script" config.inc.php
// Parameters: (1) username (2) domain (3) maildir (4) quota
// $CONF['mailbox_postcreation_script']='sudo -u courier /usr/local/bin/postfixadmin-mailbox-postcreation.sh';
--
// Parameters: (1) username (2) domain (3) maildir (4) quota
// $CONF['mailbox_postedit_script']='sudo -u courier /usr/local/bin/postfixadmin-mailbox-postedit.sh';
--
// Parameters: (1) username (2) domain
// $CONF['mailbox_postdeletion_script']='sudo -u courier /usr/local/bin/postfixadmin-mailbox-postdeletion.sh';
--
// Parameters: (1) username
//$CONF['domain_postcreation_script']='sudo -u courier /usr/local/bin/postfixadmin-domain-postcreation.sh';
--
// Parameters: (1) username
// $CONF['domain_postdeletion_script']='sudo -u courier /usr/local/bin/postfixadmin-domain-postdeletion.sh';
It should be obvious when the hooks are called (and since two minutes
config.inc.php also contains the information about the parameters that
are handed over to the scripts ;-)
If you need other hooks, please tell us what you need.
Regards,
Christian Boltz
--
Nichts its gefährlicher als sich in Gefahr zu begeben. das
merkst du spätestens dann, wenn du sein erstes Posting ins
Usernetz losgelassen hast. [WoKo in dag°]
|