#!/bin/sh
#---------------------------------------------------------------------------
# Global configuration file for Binc IMAP.
#---------------------------------------------------------------------------
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307,
# USA.
set -a

#---------------------------------------------------------------------------
# Configuration options
#---------------------------------------------------------------------------

#ALLOW_NONSSL_PLAINTEXT_LOGINS=yes       # set to allow unsafe authentication
#VERBOSE_GREETING=yes                    # set to display a verbose greeting
LOG_TYPE=syslog                          # syslog or multilog (=stderr)
IP_VARIABLE=TCPREMOTEIP                  # variable containing client IP
DEPOT=IMAPdir                            # IMAPdir or Maildir++
#DELIMITER="."                           # uncomment to use '.' as a delimiter

#START_IN_SSL_MODE=yes                   # start the server in SSL mode
SSL_CERTIFICATE_FILE=/usr/local/etc/bincimap.cert
SSL_PRIVATE_KEY_FILE=/usr/local/etc/bincimap.key
SSL_CA_FILE=                             # your CA (Certificate Authority) file
SSL_CA_PATH=                             # your CA bundle path
SSL_CIPHERS="!ADH:RC4+RSA:HIGH:MEDIUM:LOW:EXP:+SSLv2:+EXP"
#SSL_VERIFY_CLIENT=yes

#PROTOCOLDUMP=1                          # set to generate protocol dumps

#---------------------------------------------------------------------------
# Do not remove the next line; it's essential to the use of this config
# script with Binc IMAP.
#---------------------------------------------------------------------------
exec $@
