some more adapting to current emailadmin: sieve host is not yet used, but defaulting to NULL is what emailadmin does too

This commit is contained in:
Ralf Becker 2010-08-20 11:14:00 +00:00
parent 7889c066cf
commit 9063e6691b

View File

@ -151,7 +151,7 @@ class setup_cmd_config extends setup_cmd
array('name' => 'imapEnableCyrusAdmin','default' => 'yes'),
),
'--sieve' => array(
array('name' => 'imapSieveServer','default' => 'localhost'),
array('name' => 'imapSieveServer'),
array('name' => 'imapSievePort','default' => 2000),
array('name' => 'imapEnableSieve','default' => 'yes'), // null or yes
),
@ -365,8 +365,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
$defaults['imapType'] = 'defaultimap'; // standard IMAP
$defaults['smtpType'] = 'defaultsmtp'; // standard SMTP
return $defaults;
}