1/* -*- mode:java -*- */
2
3// This program is free software; you can redistribute it and/or modify
4// it under the terms of the GNU General Public License as published by
5// the Free Software Foundation; either version 2 of the License, or
6// (at your option) any later version.
7
8// You should have received a copy of the GNU General Public License
9// along with this program; if not, write to the Free Software
10// Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307,
11// USA.
12
13// Global configuration file for Binc IMAP. Some settings in this file
14// can be overrun with command line arguments.
15
16//----------------------------------------------------------------------------
17Authentication {
18    allow plain auth in non ssl = "no",            /* allow login or
19                                                      authenticate
20                                                      when not in
21                                                      SSL/TLS mode */
22
23    auth penalty = 4,                              /* on auth failure,
24						    * server sleeps so
25						    * many seconds
26						    * before allowing
27						    * client to
28						    * authenticate
29						    * again.
30						    */
31    disable starttls = "no"
32}
33
34//----------------------------------------------------------------------------
35Security {
36    jail path = "@prefix@/bin",
37    jail user = "nobody",
38    jail group = "nobody"
39}
40
41//----------------------------------------------------------------------------
42Log {
43    type = "syslog",                             /* supports
44						    * multilog or
45						    * syslog or
46						    * stderr (for testing).
47						    */
48    environment ip variable = "TCPREMOTEIP"
49}
50
51//----------------------------------------------------------------------------
52Mailbox {
53    depot = "Maildir++",                           /* Use Maildir++ style
54						    * depot. */
55
56    type = "Maildir",                              /* only Maildir
57						    * support */
58
59    path = "Maildir",                              /* default path */
60
61    auto create inbox = "yes",                     /* create INBOX in
62						    * given format if
63						    * it doesn't
64						    * exist.
65						    */
66
67    auto subscribe mailboxes = "INBOX",            /* list mailboxes
68						    * in one string,
69						    * seperated by
70						    * commas
71						    */
72
73    umask = "077"                                  /* use this umask
74						    * when creating
75						    * mailboxes, or
76						    * when copying and
77						    * appending
78						    * messages.
79						    */
80}
81
82//----------------------------------------------------------------------------
83Session {
84    idle timeout = 1860,                           /* idle timeout in
85						      seconds */
86
87    auth timeout = 60,                             /* timeout before
88						      auth in
89						      seconds */
90
91    transfer timeout = 1200,                       /* timeout per
92						      transferred com
93						      unit (I/O) */
94
95    transfer buffer size = 1024                    /* number of bytes
96                                                      to buffer before
97                                                      passing on to
98                                                      client. */
99}
100
101//----------------------------------------------------------------------------
102SSL {
103    pem file = "@sysconfdir@/bincimap.pem",        /* private key and
104                                                      certificate
105                                                      chain PEM file
106                                                      name */
107
108    ca file = "",                                  /* file to use as
109                                                      certificate
110                                                      authority */
111    ca path = "",                                  /* path to search
112                                                      for more certificate
113                                                      authorities */
114
115    cipher list = "!ADH:RC4+RSA:HIGH:MEDIUM:LOW:EXP:+SSLv2:+EXP",
116
117    verify peer = "no"
118}
119
120//----------------------------------------------------------------------------
121      /* $Id: bincimap.conf.in,v 1.2 2003/08/23 12:53:25 andreaha Exp $ */
122