Pre-fill the username field if REMOTE_USER is set by means of HTTP Auth
[virtuo.git] / dovecot / dovecot.conf
blob1bbddf4059921c2fd602f152adc0bcea4f92bfb7
1 ## Dovecot configuration file
2 base_dir = /var/run/dovecot/
3 protocols = imap imaps managesieve
4 disable_plaintext_auth = no
5 shutdown_clients = no
6 ssl_disable = no
7 ssl_cert_file = /etc/certificates/server-new.pem
8 ssl_key_file = /etc/certificates/server-new.pem
9 verbose_ssl = no
10 login_dir = /var/run/dovecot/login
11 login_chroot = yes
12 login_user = dovecot
13 login_process_size = 32
14 login_process_per_connection = yes
15 login_processes_count = 3
16 login_max_processes_count = 128
17 login_max_connections = 256
18 namespace private {
19    separator = .
20    inbox = yes
22 mail_privileged_group = exim
23 mail_full_filesystem_access = no
24 mail_debug = no
25 mmap_disable = no
26 fsync_disable = yes
27 lock_method = fcntl
28 mail_drop_priv_before_exec = no
29 verbose_proctitle = no
30 #exim has those id's
31 first_valid_uid = 110
32 last_valid_uid = 110
33 first_valid_gid = 110
34 last_valid_gid = 110
35 mail_uid = 110
36 mail_gid = 110
37 max_mail_processes = 128
38 mail_process_size = 256
39 mail_max_keyword_length = 50
40 mail_cache_min_mail_count = 10
41 mailbox_idle_check_interval = 30
42 mail_save_crlf = no
43 maildir_stat_dirs = no
44 mail_location = maildir:~/Maildir
45 maildir_copy_with_hardlinks = yes
46 maildir_copy_preserve_filename = yes
47 protocol imap {
48   login_executable = /usr/libexec/dovecot/imap-login
49   mail_executable = /usr/libexec/dovecot/imap
50   mail_plugins = fts fts_lucene fts_squat
51   mail_plugin_dir = /usr/lib/dovecot/imap
52   login_greeting_capability = yes
54 protocol managesieve {
55    listen = *:2000
56    login_executable = /usr/libexec/dovecot/managesieve-login
57    mail_executable = /usr/libexec/dovecot/managesieve
59 protocol lda {
60   postmaster_address = postmaster@mages.ath.cx
61   hostname = mages.ath.cx
62   mail_plugins = cmusieve
63   mail_plugin_dir = /usr/lib/dovecot/lda
64   sendmail_path = /usr/lib/sendmail
65   auth_socket_path = /var/run/dovecot/auth-master
66   fsync_disable = no
68 auth_process_size = 256
69 auth_cache_size = 0
70 auth_username_chars = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.@
71 auth_debug = no
72 auth_debug_passwords = no
73 auth default {
74   mechanisms = plain login
75   passdb sql {
76     args = /etc/dovecot/dovecot-sqlite.conf
77   }
78   userdb sql {
79     args = /etc/dovecot/dovecot-sqlite.conf
80   }
81   user = root
82   count = 1
83   ssl_require_client_cert = no
84   ssl_username_from_cert = no
85   socket listen {
86     master {
87       path = /var/run/dovecot/auth-master
88       mode = 0660
89       user = exim
90       group = exim
91     }
92     client {
93       path = /var/run/dovecot/auth-client
94       mode = 0666
95     }
96   }
98 plugin {
99   fts = squat lucene
101 #plugin {
102   # Here you can give some extra environment variables to mail processes.
103   # This is mostly meant for passing parameters to plugins. %variable
104   # expansion is done for all values.
106   # Specify the spam folder where the spam mails are delivered. The default is
107   # "Junk" if nothing is specified here.
108  # dspam_spamfolder = Spam
110   # If you need to ignore a trash folder, define the following variable with
111   # the name of the trash folder. The trash folder isn't ignored by default.
112   #dspam_trashfolder = Trash
114 #plugin {
115            ##################
116            # GENERIC OPTIONS
117            # mail signature (used with any backend requiring a signature)
118 #           antispam_signature = X-DSPAM-Signature
120            # semicolon-separated list of Trash folders (default unset i.e. none)
121 #           antispam_trash = trash;Trash;Deleted Items
123            # semicolon-separated list of spam folders
124 #           antispam_spam = SPAM;spam;Spam;Junk;junk
126            # dspam binary
127 #           antispam_dspam_binary = /usr/bin/dspam
129            # semicolon-separated list of extra arguments to dspam
130            # (default unset i.e. none)
131            # antispam_dspam_args =
132 #           antispam_dspam_args = --user;%u  # % expansion done by dovecot
133            # antispam_dspam_args = --mode=teft
134 #       }