| Revision 3145,
896 bytes
checked in by squidly, 13 months ago
(diff) |
|
bugfix+correction droits templatisation
|
| Line | |
|---|
| 1 | |
|---|
| 2 | connect=host=%%dbhost%% dbname=%%dbname%% user=%%db_mail_user%% password=%%db_mail_pwd%% |
|---|
| 3 | #connect = host=localhost dbname=mails user=testuser password=pass |
|---|
| 4 | |
|---|
| 5 | # CREATE TABLE quota ( |
|---|
| 6 | # username varchar(100) not null, |
|---|
| 7 | # bytes bigint not null default 0, |
|---|
| 8 | # messages integer not null default 0, |
|---|
| 9 | # primary key (username) |
|---|
| 10 | # ); |
|---|
| 11 | |
|---|
| 12 | map { |
|---|
| 13 | pattern = priv/quota/storage |
|---|
| 14 | table = dovecot_view |
|---|
| 15 | username_field = user |
|---|
| 16 | value_field = quota_dovecot |
|---|
| 17 | } |
|---|
| 18 | map { |
|---|
| 19 | pattern = priv/quota/messages |
|---|
| 20 | table = dovecot_view |
|---|
| 21 | username_field = user |
|---|
| 22 | value_field = nb_messages |
|---|
| 23 | } |
|---|
| 24 | |
|---|
| 25 | # CREATE TABLE expires ( |
|---|
| 26 | # username varchar(100) not null, |
|---|
| 27 | # mailbox varchar(255) not null, |
|---|
| 28 | # expire_stamp integer not null, |
|---|
| 29 | # primary key (username, mailbox) |
|---|
| 30 | # ); |
|---|
| 31 | |
|---|
| 32 | #map { |
|---|
| 33 | # pattern = shared/expire/$user/$mailbox |
|---|
| 34 | # table = expires |
|---|
| 35 | # value_field = expire_stamp |
|---|
| 36 | |
|---|
| 37 | # fields { |
|---|
| 38 | # username = $user |
|---|
| 39 | # mailbox = $mailbox |
|---|
| 40 | # } |
|---|
| 41 | #} |
|---|
| 42 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.