Alternc  latest
Alternc logiel libre pour l'hébergement
alternc-dict-quota.conf
Go to the documentation of this file.
1 # AUTO GENERATED FILE
2 # Modify template in /etc/alternc/templates/
3 # and launch alternc.install if you want
4 # to modify this file.
5 #
6 
7 connect=host=%%dbhost%% dbname=%%dbname%% user=%%db_mail_user%% password=%%db_mail_pwd%%
8 #connect = host=localhost dbname=mails user=testuser password=pass
9 
10 # CREATE TABLE quota (
11 # username varchar(100) not null,
12 # bytes bigint not null default 0,
13 # messages integer not null default 0,
14 # primary key (username)
15 # );
16 
17 map {
18  pattern = priv/quota/storage
19  table = dovecot_quota
20  username_field = user
21  value_field = quota_dovecot
22 }
23 map {
24  pattern = priv/quota/messages
25  table = dovecot_quota
26  username_field = user
27  value_field = nb_messages
28 }
29 
30 # CREATE TABLE expires (
31 # username varchar(100) not null,
32 # mailbox varchar(255) not null,
33 # expire_stamp integer not null,
34 # primary key (username, mailbox)
35 # );
36 
37 #map {
38  # pattern = shared/expire/$user/$mailbox
39  # table = expires
40  # value_field = expire_stamp
41 
42  # fields {
43  # username = $user
44  # mailbox = $mailbox
45  # }
46 #}
47