File tree Expand file tree Collapse file tree 2 files changed +51
-3
lines changed
Expand file tree Collapse file tree 2 files changed +51
-3
lines changed Original file line number Diff line number Diff line change @@ -7,19 +7,51 @@ login_greeting = Mail Delivery Agent
77namespace {
88 type = private
99 separator = /
10- prefix =
1110 inbox = yes
11+ list = yes
1212
13- mailbox Sent {
13+ mailbox Archive {
1414 auto = subscribe
15- special_use = \Sent
15+ special_use = \Archive
1616 }
17+
1718 mailbox Drafts {
1819 auto = subscribe
1920 special_use = \Drafts
2021 }
22+
2123 mailbox Trash {
2224 auto = subscribe
2325 special_use = \Trash
2426 }
27+
28+ mailbox "Deleted Messages" {
29+ auto = no
30+ special_use = \Trash
31+ }
32+
33+ mailbox Junk {
34+ auto = subscribe
35+ special_use = \Junk
36+ }
37+
38+ mailbox Spam {
39+ auto = no
40+ special_use = \Junk
41+ }
42+
43+ mailbox Sent {
44+ auto = subscribe
45+ special_use = \Sent
46+ }
47+
48+ mailbox "Sent Mail" {
49+ auto = no
50+ special_use = \Sent
51+ }
52+
53+ mailbox "Sent Messages" {
54+ auto = no
55+ special_use = \Sent
56+ }
2557}
Original file line number Diff line number Diff line change @@ -73,3 +73,19 @@ cp -rf /usr/local/hestia/install/ubuntu/18.04/templates/web/unassigned/* /var/ww
7373if [ ! -d /usr/local/hestia/web/edit/server/clamav-daemon ]; then
7474 mv /usr/local/hestia/web/edit/server/clamd /usr/local/web/edit/server/clamav-daemon
7575fi
76+
77+ # Fix dovecot configuration
78+ if [ -f /etc/dovecot/conf.d/15-mailboxes.conf ]; then
79+ # Remove mailboxes configuration if it exists
80+ rm -f /etc/dovecot/conf.d/15-mailboxes.conf
81+ fi
82+ if [ -f /etc/dovecot/dovecot.conf ]; then
83+ # Update dovecot configuration and restart dovecot service
84+ cp -f /usr/local/hestia/install/hestia-data/dovecot/dovecot.conf /etc/dovecot/dovecot.conf
85+ systemctl restart dovecot
86+ fi
87+
88+ # Rebuild mailboxes
89+ for user in ` ls /usr/local/hestia/data/users/` ; do
90+ v-rebuild-mail-domains $user
91+ done
You can’t perform that action at this time.
0 commit comments