diff --git a/setup/inc/hook_config_validate.inc.php b/setup/inc/hook_config_validate.inc.php index c85a105f9e..423955a944 100644 --- a/setup/inc/hook_config_validate.inc.php +++ b/setup/inc/hook_config_validate.inc.php @@ -37,22 +37,6 @@ function vfs_storage_mode($settings) } } -function mail_server($settings) -{ - if (!$settings['smtp_server']) - { - $GLOBALS['config_error'] = lang('Missing or uncomplete mailserver configuration'); - } - if (@file_exists('../emailadmin/inc/class.emailadmin_bo.inc.php') && $GLOBALS['egw_setup']->table_exist(array('egw_emailadmin'))) - { - $emailadmin = new emailadmin_bo(false,false); // false=no session stuff - if (is_object($emailadmin)) - { - $emailadmin->setDefaultProfile($settings); - } - } -} - function temp_dir($settings) { if (!setup_detection::check_dir($settings['temp_dir'],$error_msg)) diff --git a/setup/templates/default/config.tpl b/setup/templates/default/config.tpl index ba0b73e904..ea33e16a03 100644 --- a/setup/templates/default/config.tpl +++ b/setup/templates/default/config.tpl @@ -92,38 +92,12 @@ {lang_Enter_the_hostname_of_the_machine_on_which_this_server_is_running}: - + - - {lang_Enter_your_default_FTP_server}: - - - - - {lang_Attempt_to_use_correct_mimetype_for_FTP_instead_of_default_'application/octet-stream'}: - - - - - {lang_Enter_your_HTTP_proxy_server}: - + @@ -141,74 +115,10 @@ - -   - - {lang_Standard_mailserver_settings_(used_for_Mail_authentication_too)}: - - - {lang_POP/IMAP_mail_server_hostname_or_IP_address}: - - - - {lang_Mail_server_protocol}: - - - - - - {lang_Mail_server_login_type}: - - - - - - {lang_Mail_domain_(for_Virtual_mail_manager)}: - - - - {lang_SMTP_server_hostname_or_IP_address}: - - - - {lang_SMTP_server_port}: - - - - {lang_SMTP-authentication_required}: - - - - {lang_User_for_SMTP-authentication_(leave_it_empty_if_no_auth_required)}: - - - - {lang_Password_for_SMTP-authentication}: - - - -   - - - - {lang_Authentication_/_Accounts}