Skip to content

Commit f9c1d4b

Browse files
committed
enable imap special-use flags
1 parent 55f8aed commit f9c1d4b

File tree

3 files changed

+62
-0
lines changed

3 files changed

+62
-0
lines changed

install/tpl/debian6_dovecot2.conf.master

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ ssl_dh = </etc/dovecot/dh.pem
1010
ssl_protocols = !SSLv2 !SSLv3
1111
ssl_min_protocol = TLSv1
1212
mail_max_userip_connections = 100
13+
mail_plugins = quota
1314
passdb {
1415
args = /etc/dovecot/dovecot-sql.conf
1516
driver = sql
@@ -83,3 +84,22 @@ protocol lmtp {
8384
#2.3+ }
8485
#2.3+ }
8586

87+
imap_capability=+SEPCIAL-USE XLIST
88+
namespace inbox {
89+
inbox = yes
90+
mailbox Drafts {
91+
special_use = \Drafts
92+
}
93+
mailbox Junk {
94+
special_use = \Junk
95+
}
96+
mailbox Sent {
97+
special_use = \Sent
98+
}
99+
mailbox "Sent Messages" {
100+
special_use = \Sent
101+
}
102+
mailbox Trash {
103+
special_use = \Trash
104+
}
105+
}

install/tpl/fedora_dovecot2.conf.master

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ mail_privileged_group = vmail
77
ssl_cert = </etc/postfix/smtpd.cert
88
ssl_key = </etc/postfix/smtpd.key
99
ssl_protocols = !SSLv2 !SSLv3
10+
mail_plugins = quota
1011
passdb {
1112
args = /etc/dovecot-sql.conf
1213
driver = sql
@@ -77,3 +78,23 @@ mail_plugins = $mail_plugins quota
7778
#2.3+ mode = 0660
7879
#2.3+ }
7980
#2.3+ }
81+
82+
imap_capability=+SEPCIAL-USE XLIST
83+
namespace inbox {
84+
inbox = yes
85+
mailbox Drafts {
86+
special_use = \Drafts
87+
}
88+
mailbox Junk {
89+
special_use = \Junk
90+
}
91+
mailbox Sent {
92+
special_use = \Sent
93+
}
94+
mailbox "Sent Messages" {
95+
special_use = \Sent
96+
}
97+
mailbox Trash {
98+
special_use = \Trash
99+
}
100+
}

install/tpl/opensuse_dovecot2.conf.master

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ mail_privileged_group = vmail
77
ssl_cert = </etc/postfix/smtpd.cert
88
ssl_key = </etc/postfix/smtpd.key
99
ssl_protocols = !SSLv2 !SSLv3
10+
mail_plugins = quota
1011
passdb {
1112
args = /etc/dovecot/dovecot-sql.conf
1213
driver = sql
@@ -76,3 +77,23 @@ mail_plugins = $mail_plugins quota
7677
#2.3+ mode = 0660
7778
#2.3+ }
7879
#2.3+ }
80+
81+
imap_capability=+SEPCIAL-USE XLIST
82+
namespace inbox {
83+
inbox = yes
84+
mailbox Drafts {
85+
special_use = \Drafts
86+
}
87+
mailbox Junk {
88+
special_use = \Junk
89+
}
90+
mailbox Sent {
91+
special_use = \Sent
92+
}
93+
mailbox "Sent Messages" {
94+
special_use = \Sent
95+
}
96+
mailbox Trash {
97+
special_use = \Trash
98+
}
99+
}

0 commit comments

Comments
 (0)