summaryrefslogtreecommitdiff
path: root/net-mail/dovecot/files/50-misc.conf
blob: 4d1d9ee3821ebf07581508221c769c52d9adfed4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
## Some additional configuration options that might be useful
## Full documentation at https://doc.dovecot.org/
#
#auth_mechanisms = plain login
#
## maildir is gentoo default
#mail_driver = maildir
## maildir directory
#mail_path = ~/.maildir
#
## Integrate with postfix
#service lmtp {
#  unix_listener /var/spool/postfix/private/dovecot-lmtp {
#    group = postfix
#    mode = 0600
#    user = postfix
#  }
#}
#
## Dovecot SASL for postfix
#service auth {
#  unix_listener /var/spool/postfix/private/auth {
#    mode = 0660
#    # Assuming the default Postfix user and group
#    user = postfix
#    group = postfix
#  }
#}
#
## Sieve with LMTP
#protocol lmtp {
#  # REQUIRED
#  postmaster_address = postmaster@domainname
#  mail_plugins {
#    #quota = yes
#    sieve = yes
#  }
#}
#
## Login Processes 
#service imap-login {
#  restart_request_count = 1
#  #process_min_avail = 0
#}
#
#service pop3-login {
#  restart_request_count = 1
#}
#
## Pass and User Databases
#passdb passwd-file {
#  default_password_scheme = plain-md5
#  auth_username_format = %{user | username}
#  passwd_file_path = /etc/dovecot/users
#}
#userdb passwd-file {
#  auth_username_format = %{user | username}
#  passwd_file_path = /etc/dovecot/users
#  fields {
#    uid:default = vmail
#    gid:default = vmail
#    home:default = /home/vmail/%{user}
#  }
#}
#
## Namespaces
#namespace inbox {
#  inbox = yes
#
#  mailbox Drafts {
#    auto = subscribe
#    special_use = \Drafts
#  }
#
#  mailbox Sent {
#    auto = subscribe
#    special_use = \Sent
#  }
#
#  mailbox "Sent Messages" {
#    auto = no
#    special_use = \Sent
#  }
#
#  mailbox Spam {
#    auto = create
#    special_use = \Junk
#  }
#
#  mailbox Trash {
#    auto = subscribe
#    special_use = \Trash
#  }
#}
#
## Optimization
#import_environment {
#  TZ = :/etc/localtime
#  MALLOC_MMAP_THRESHOLD_ = 131072
#}
#
## Flatcurve FTS Plugin
#mail_plugins {
#  fts = yes
#  fts_flatcurve = yes
#}
#
#fts flatcurve {
#}
#
#sieve_script personal {
#  path = ~/.dovecot.sieve
#}