"setting standard IMAP and SMTP as default"

This commit is contained in:
Ralf Becker 2009-10-28 21:59:49 +00:00
parent ed5a1234c6
commit 28a778955c

View File

@ -83,6 +83,8 @@ class setup_cmd_config extends setup_cmd
{
if ($save_ea_profile) $this->_save_ea_profile();
$this->restore_db();
return lang('Configuration changed.');
}
$this->restore_db();
@ -361,6 +363,8 @@ class setup_cmd_config extends setup_cmd
$defaults['mail_suffix'] = '$domain';
$defaults['imapAdminUsername'] = 'cyrus@$domain';
$defaults['imapAdminPW'] = self::randomstring();
$defaults['imapType'] = 2; // standard IMAP
$defaults['smtpType'] = 1; // standard SMTP
return $defaults;
}