| | |
| | | |
| | | var $mailfilter_config_dir = ''; |
| | | |
| | | //* This function is called during ispconfig installation to determine |
| | | // if a symlink shall be created for this plugin. |
| | | function onInstall() { |
| | | global $conf; |
| | | |
| | | if($conf['services']['mail'] == true) { |
| | | return true; |
| | | } else { |
| | | return false; |
| | | } |
| | | |
| | | } |
| | | |
| | | /* |
| | | This function is called when the plugin is loaded |
| | | */ |
| | |
| | | $app->log("Writing Autoresponder message file: $config_file_path",LOGLEVEL_DEBUG); |
| | | } |
| | | } |
| | | |
| | | $app->log("HERE",LOGLEVEL_DEBUG); |
| | | |
| | | // Write the custom mailfilter script, if mailfilter recipe has changed |
| | | if($data["old"]["custom_mailfilter"] != $data["new"]["custom_mailfilter"]) { |