informations d'installation et mise à jour
This commit is contained in:
parent
6b7d5e7d90
commit
756993878b
|
@ -16,13 +16,13 @@ connect=host=%%dbhost%% dbname=%%dbname%% user=%%db_mail_user%% password=%%db_ma
|
||||||
|
|
||||||
map {
|
map {
|
||||||
pattern = priv/quota/storage
|
pattern = priv/quota/storage
|
||||||
table = dovecot_view
|
table = dovecot_quota
|
||||||
username_field = user
|
username_field = user
|
||||||
value_field = quota_dovecot
|
value_field = quota_dovecot
|
||||||
}
|
}
|
||||||
map {
|
map {
|
||||||
pattern = priv/quota/messages
|
pattern = priv/quota/messages
|
||||||
table = dovecot_view
|
table = dovecot_quota
|
||||||
username_field = user
|
username_field = user
|
||||||
value_field = nb_messages
|
value_field = nb_messages
|
||||||
}
|
}
|
||||||
|
|
|
@ -582,6 +582,17 @@ CREATE TABLE IF NOT EXISTS `cron` (
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Structure de la table `dovecot_quota`
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE IF NOT EXISTS `dovecot_quota` (
|
||||||
|
`user` varchar(320) NOT NULL,
|
||||||
|
`quota_dovecot` bigint(20) NOT NULL DEFAULT '0',
|
||||||
|
`nb_messages` int(11) NOT NULL DEFAULT '0',
|
||||||
|
PRIMARY KEY (`user`)
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Structure de la vue `dovecot_view`
|
-- Structure de la vue `dovecot_view`
|
||||||
|
@ -661,6 +672,7 @@ where
|
||||||
CREATE TABLE IF NOT EXISTS `piwik_users` (
|
CREATE TABLE IF NOT EXISTS `piwik_users` (
|
||||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
`uid` int(11) NOT NULL,
|
`uid` int(11) NOT NULL,
|
||||||
|
`passwd` varchar(255) NOT NULL,
|
||||||
`login` varchar(255) NOT NULL,
|
`login` varchar(255) NOT NULL,
|
||||||
`created_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
`created_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||||
PRIMARY KEY (`id`),
|
PRIMARY KEY (`id`),
|
||||||
|
@ -693,7 +705,7 @@ CREATE TABLE IF NOT EXISTS `default_subdomains` (
|
||||||
|
|
||||||
INSERT IGNORE INTO `default_subdomains` (`sub`, `domain_type`, `domain_type_parameter`, `concerned`) VALUES
|
INSERT IGNORE INTO `default_subdomains` (`sub`, `domain_type`, `domain_type_parameter`, `concerned`) VALUES
|
||||||
('www', 'VHOST', '%%DOMAINDIR%%', 'MAIN'),
|
('www', 'VHOST', '%%DOMAINDIR%%', 'MAIN'),
|
||||||
('mail', 'WEBMAIL', '', 'MAIN'),
|
('mail', 'ROUNDCUBE', '', 'MAIN'),
|
||||||
('', 'URL', 'http://www.%%DOMAIN%%', 'MAIN'),
|
('', 'URL', 'http://www.%%DOMAIN%%', 'MAIN'),
|
||||||
('www', 'URL', 'http://www.%%TARGETDOM%%', 'SLAVE'),
|
('www', 'URL', 'http://www.%%TARGETDOM%%', 'SLAVE'),
|
||||||
('mail', 'URL', 'http://mail.%%TARGETDOM%%', 'SLAVE'),
|
('mail', 'URL', 'http://mail.%%TARGETDOM%%', 'SLAVE'),
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
CREATE TABLE IF NOT EXISTS `dovecot_quota` (
|
||||||
|
`user` varchar(320) NOT NULL,
|
||||||
|
`quota_dovecot` bigint(20) NOT NULL DEFAULT '0',
|
||||||
|
`nb_messages` int(11) NOT NULL DEFAULT '0',
|
||||||
|
PRIMARY KEY (`user`)
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||||
|
|
||||||
|
ALTER TABLE `piwik_users` ADD `passwd` VARCHAR(255) NOT NULL AFTER `login`;
|
||||||
|
|
||||||
|
UPDATE `default_subdomains` SET `domain_type` = 'ROUNDCUBE' WHERE `domain_type` = 'WEBMAIL';
|
|
@ -16,13 +16,13 @@ connect=host=%%dbhost%% dbname=%%dbname%% user=%%db_mail_user%% password=%%db_ma
|
||||||
|
|
||||||
map {
|
map {
|
||||||
pattern = priv/quota/storage
|
pattern = priv/quota/storage
|
||||||
table = dovecot_view
|
table = dovecot_quota
|
||||||
username_field = user
|
username_field = user
|
||||||
value_field = quota_dovecot
|
value_field = quota_dovecot
|
||||||
}
|
}
|
||||||
map {
|
map {
|
||||||
pattern = priv/quota/messages
|
pattern = priv/quota/messages
|
||||||
table = dovecot_view
|
table = dovecot_quota
|
||||||
username_field = user
|
username_field = user
|
||||||
value_field = nb_messages
|
value_field = nb_messages
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue