2017-08-15 21:41:18 +08:00
|
|
|
# If enabled then Wild Duck exposes an IMAP interface for listing and fetching emails
|
|
|
|
enabled=true
|
|
|
|
port=9993
|
|
|
|
# by default bind to localhost only
|
|
|
|
host="127.0.0.1"
|
|
|
|
|
|
|
|
# Use `true` for port 993 and `false` for 143. If connection is not secured
|
|
|
|
# on connection then Wild Duck enables STARTTLS extension
|
|
|
|
secure=true
|
|
|
|
|
|
|
|
# Max size for messages uploaded via APPEND
|
|
|
|
maxMB=25
|
|
|
|
|
|
|
|
# delete messages from \Trash and \Junk after retention days
|
|
|
|
retention=30
|
|
|
|
|
|
|
|
# if `true` then do not autodelete expired messages
|
|
|
|
disableRetention=false
|
|
|
|
|
2017-09-11 03:53:12 +08:00
|
|
|
# If true, then disables STARTTLS support
|
|
|
|
disableSTARTTLS=false
|
|
|
|
|
|
|
|
[id]
|
|
|
|
#name="Wild Duck IMAP"
|
|
|
|
#version="1.0.0"
|
|
|
|
#vendor="Wild Duck"
|
|
|
|
|
2017-08-15 21:41:18 +08:00
|
|
|
[setup]
|
|
|
|
# Public configuration for IMAP
|
|
|
|
hostname="localhost"
|
|
|
|
secure=true
|
|
|
|
# port defaults to imap.port
|
|
|
|
#port=9993
|
|
|
|
|
|
|
|
[tls]
|
2017-10-05 21:04:39 +08:00
|
|
|
## If certificate path is not defined, use global or built-in self-signed certs
|
2017-08-15 21:41:18 +08:00
|
|
|
#key="/path/to/server/key.pem"
|
|
|
|
#cert="/path/to/server/cert.pem"
|
2017-10-05 21:04:39 +08:00
|
|
|
|
|
|
|
## You can also define extra options for specific TLS settings:
|
|
|
|
|
|
|
|
#ciphers="ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS"
|
|
|
|
|
|
|
|
#secureProtocol="SSLv23_server_method"
|
|
|
|
|
|
|
|
## constants.SSL_OP_NO_SSLv3 | constants.SSL_OP_NO_TLSv1 => 100663296
|
|
|
|
#secureOptions=100663296
|