diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-03-27 21:21:53 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-03-27 21:21:53 +0200 |
commit | 7469b90fce44ca6ab27d88e991c74b71ab8f29e8 (patch) | |
tree | 5378e8e08b243f67c2eb94d6b5a4e4085e6aa27a /docker | |
parent | d961e222bd81e7e1c7e6b524084903511ab412eb (diff) | |
download | kube-7469b90fce44ca6ab27d88e991c74b71ab8f29e8.tar.gz kube-7469b90fce44ca6ab27d88e991c74b71ab8f29e8.zip |
Disable password verification for now.
Diffstat (limited to 'docker')
-rw-r--r-- | docker/Dockerfile | 1 | ||||
-rw-r--r-- | docker/imapd.conf | 137 |
2 files changed, 138 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index 5c7bd97f..f6eac989 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile | |||
@@ -80,3 +80,4 @@ RUN gpg2 --batch --generate-key /home/developer/keyconfig | |||
80 | RUN git clone https://github.com/Lekensteyn/qt5printers.git ~/.gdb/qt5printers/ | 80 | RUN git clone https://github.com/Lekensteyn/qt5printers.git ~/.gdb/qt5printers/ |
81 | 81 | ||
82 | ADD rsyslog.conf /etc/rsyslog.conf | 82 | ADD rsyslog.conf /etc/rsyslog.conf |
83 | ADD imapd.conf /etc/imapd.conf | ||
diff --git a/docker/imapd.conf b/docker/imapd.conf new file mode 100644 index 00000000..86b320ab --- /dev/null +++ b/docker/imapd.conf | |||
@@ -0,0 +1,137 @@ | |||
1 | # Suggested minimal imapd.conf | ||
2 | # See imapd.conf(5) for more information and more options | ||
3 | |||
4 | # Space-separated users who have admin rights for all services. | ||
5 | # NB: THIS MUST BE CONFIGURED | ||
6 | admins: cyrus | ||
7 | |||
8 | ################################################################### | ||
9 | ## File, socket and DB location settings. | ||
10 | ################################################################### | ||
11 | |||
12 | # Configuration directory | ||
13 | configdirectory: /var/lib/imap | ||
14 | |||
15 | # Directories for proc and lock files | ||
16 | proc_path: /run/cyrus/proc | ||
17 | mboxname_lockpath: /run/cyrus/lock | ||
18 | |||
19 | # Locations for DB files | ||
20 | # The following DB are recreated upon initialization, so should live in | ||
21 | # ephemeral storage for best performance. | ||
22 | duplicate_db_path: /run/cyrus/db/deliver.db | ||
23 | ptscache_db_path: /run/cyrus/db/ptscache.db | ||
24 | statuscache_db_path: /run/cyrus/db/statuscache.db | ||
25 | tls_sessions_db_path: /run/cyrus/db/tls_sessions.db | ||
26 | |||
27 | # Which partition to use for default mailboxes | ||
28 | defaultpartition: default | ||
29 | partition-default: /var/spool/imap | ||
30 | |||
31 | # If sieveusehomedir is false (the default), this directory is searched | ||
32 | # for Sieve scripts. | ||
33 | sievedir: /var/lib/imap/sieve | ||
34 | |||
35 | ################################################################### | ||
36 | ## Important: KEEP THESE IN SYNC WITH cyrus.conf | ||
37 | ################################################################### | ||
38 | |||
39 | lmtpsocket: /run/cyrus/socket/lmtp | ||
40 | idlesocket: /run/cyrus/socket/idle | ||
41 | notifysocket: /run/cyrus/socket/notify | ||
42 | |||
43 | # Syslog prefix. Defaults to cyrus (so logging is done as cyrus/imap | ||
44 | # etc.) | ||
45 | syslog_prefix: cyrus | ||
46 | |||
47 | ################################################################### | ||
48 | ## Server behaviour settings | ||
49 | ################################################################### | ||
50 | |||
51 | # Space-separated list of HTTP modules that will be enabled in | ||
52 | # httpd(8). This option has no effect on modules that are disabled at | ||
53 | # compile time due to missing dependencies (e.g. libical). | ||
54 | # Fedora default: enable all modules besides admin | ||
55 | httpmodules: caldav carddav domainkey freebusy ischedule jmap rss tzdist webdav | ||
56 | |||
57 | # If enabled, the partitions will also be hashed, in addition to the | ||
58 | # hashing done on configuration directories. This is recommended if one | ||
59 | # partition has a very bushy mailbox tree. | ||
60 | hashimapspool: true | ||
61 | |||
62 | # Disable virtual domains by default | ||
63 | virtdomains: off | ||
64 | |||
65 | ################################################################### | ||
66 | ## User experience settings | ||
67 | ################################################################### | ||
68 | |||
69 | # Minimum time between POP mail fetches in minutes | ||
70 | popminpoll: 1 | ||
71 | |||
72 | # Conversation support is required for jmap | ||
73 | conversations: 1 | ||
74 | conversations_db: twoskip | ||
75 | |||
76 | # This will default to on in 3.1, and improves compatibility with some Apple | ||
77 | # devices. Upstream https://github.com/cyrusimap/cyrus-imapd/issues/1556 | ||
78 | specialusealways: 1 | ||
79 | |||
80 | ################################################################### | ||
81 | ## User Authentication settings | ||
82 | ################################################################### | ||
83 | |||
84 | # Allow plaintext logins by default (SASL PLAIN) | ||
85 | allowplaintext: yes | ||
86 | |||
87 | ################################################################### | ||
88 | ## SASL library options (these are handled directly by the SASL | ||
89 | ## libraries, refer to SASL documentation for an up-to-date list of | ||
90 | ## these) | ||
91 | ################################################################### | ||
92 | |||
93 | # The mechanism(s) used by the server to verify plaintext passwords. | ||
94 | # Possible values are "saslauthd", "auxprop", "pwcheck" and | ||
95 | # "alwaystrue". They are tried in order, you can specify more than one, | ||
96 | # separated by spaces. | ||
97 | # FIXME saslauthd doesn't work with caldav/carddav for unknown reasons. | ||
98 | # It seems to work fine on the commandline, and from the logs the only thing | ||
99 | # that could be going wrong is authentication via pam, but for imap it seems | ||
100 | # to work anyways.... | ||
101 | sasl_pwcheck_method: alwaystrue | ||
102 | |||
103 | # If enabled, the SASL library will automatically create authentication | ||
104 | # secrets when given a plaintext password. Refer to SASL documentation | ||
105 | sasl_auto_transition: no | ||
106 | |||
107 | ################################################################### | ||
108 | ## SSL/TLS Options | ||
109 | ################################################################### | ||
110 | |||
111 | # These three files will automatically be generated by the systemd unit when | ||
112 | # the service starts for the first time. | ||
113 | tls_server_cert: /etc/pki/cyrus-imapd/cyrus-imapd.pem | ||
114 | tls_server_key: /etc/pki/cyrus-imapd/cyrus-imapd-key.pem | ||
115 | tls_client_ca_file: /etc/pki/cyrus-imapd/cyrus-imapd-ca.pem | ||
116 | |||
117 | # File containing the global certificate used for ALL services (imap, | ||
118 | # pop3, lmtp, sieve) | ||
119 | #tls_server_cert: /etc/ssl/certs/ssl-cert-snakeoil.pem | ||
120 | |||
121 | # File containing the private key belonging to the global server | ||
122 | # certificate. | ||
123 | #tls_server_key: /etc/ssl/private/ssl-cert-snakeoil.key | ||
124 | |||
125 | |||
126 | # File containing one or more Certificate Authority (CA) certificates. | ||
127 | #tls_client_ca_file: /etc/ssl/certs/cyrus-imapd-ca.pem | ||
128 | |||
129 | # Path to directory with certificates of CAs. | ||
130 | tls_client_ca_dir: /etc/ssl/certs | ||
131 | |||
132 | # The length of time (in minutes) that a TLS session will be cached for | ||
133 | # later reuse. The maximum value is 1440 (24 hours), the default. A | ||
134 | # value of 0 will disable session caching. | ||
135 | tls_session_timeout: 1440 | ||
136 | altnamespace: 0 | ||
137 | unixhierarchysep: 0 | ||