forwarder_create_pre.sh, forwarder_create_post.sh, forwarder_delete_post.sh

Version 1.42

Feature
Finished

Custom scripts for creating, setting, and deleting forwarders: forwarder_create_pre.sh forwarder_create_post.sh Environmental variables passed: username=fred file=/etc/virtual/domain.com/aliases user=forwadername value=email.com domain=domain.com If you exit with a non-zero value, the action is aborted. Aborting with a post.sh script wouldn't abort the action (it's already done) but will throw an error. All text generated will be displayed in the DA interface. Note that this will also be called when the catch-all is set. There is already a forwarder_delete_pre.sh: http://www.directadmin.com/features.php?id=862 so I've just added a forwarder_delete_post.sh. The "value" is not passed when deleting.

Interested to try DirectAdmin? Get a 30-day Free Trial!