source: npl/mailserver/kopano_conf/root/etc/kopano/gateway.cfg

Last change on this file was 08500e3, checked in by Edwin Eefting <edwin@datux.nl>, 6 years ago

fixed ssl

  • Property mode set to 100644
File size: 3.7 KB
RevLine 
[2fcc226]1##############################################################
2# GATEWAY SETTINGS
3
[2c1b61a]4#server_bind    =
5
6# Please refer to the administrator manual or manpage why HTTP is used rather than the UNIX socket.
7#server_socket = http://localhost:236/
8
9# Set this value to a name to show in the logon greeting to clients.
10# Leave empty to use DNS to find this name.
11server_hostname =
12
13# Whether to show the hostname in the logon greeting to clients.
14server_hostname_greeting = no
[2fcc226]15
16# drop privileges and run the process as this user
[2c1b61a]17#run_as_user = kopano
[2fcc226]18
19# drop privileges and run the process as this group
[2c1b61a]20#run_as_group = kopano
[2fcc226]21
[2c1b61a]22# create a pid file for stopping the service via the init.d scripts
23#pid_file = /var/run/kopano/gateway.pid
[2fcc226]24
25# run server in this path (when not using the -F switch)
[2c1b61a]26#running_path = /var/lib/kopano
27
28# create memory coredumps upon crash [no, systemdefault, yes]
29#coredump_enabled = systemdefault
[2fcc226]30
[fe3434a]31#
[2fcc226]32# Only mail folder for IMAP or all subfolders (calendar, contacts, tasks, etc. too)
33imap_only_mailfolders   =       yes
34
35# Show Public folders for IMAP
36imap_public_folders     =       yes
37
38# IMAP clients may use IDLE command
39imap_capability_idle = yes
40
[2c1b61a]41# The maximum size of an email that can be uploaded to the gateway
42imap_max_messagesize = 128M
43
44# Override the e-mail charset and generate using utf-8 (when imap data is not present on the item)
45imap_generate_utf8 = no
46
47# Internally issue the expunge command to directly delete e-mail marked for deletion in IMAP.
48imap_expunge_on_delete = no
49
50# Store full rfc822 message during APPEND
51imap_store_rfc822 = yes
52
53# Maximum count of allowed failed IMAP command counts per client
54imap_max_fail_commands = 10
55
56# Some MUAs are sending commands via idle causing the connection
57# to reach imap_max_fail_commands and leaves the client in a
58# broken state. The clients include Apple Mail. If you experience
59# problems or uses Apple Mail set this option to yes
60#imap_ignore_command_idle = no
61
62# Disable all plaintext authentications unless SSL/TLS is used
63disable_plaintext_auth = no
64
[2fcc226]65# File with RSA key for SSL
66ssl_private_key_file    =       /usr/webint/ssl/server.pem
67
68#File with certificate for SSL
[2c1b61a]69ssl_certificate_file    = /usr/webint/ssl/server.crt
[2fcc226]70
71# Verify client certificate
72ssl_verify_client       =       no
73
74# Client verify file and/or path
[2c1b61a]75ssl_verify_file         =
[2fcc226]76ssl_verify_path         =
77
[2c1b61a]78# SSL protocols to use, space-separated list of protocols
79# (SSLv3 TLSv1 TLSv1.1 TLSv1.2); prefix with ! to lock out a protocol.
80#ssl_protocols =
81
82# SSL ciphers to use, set to 'ALL' for backward compatibility
83ssl_ciphers = ALL:!LOW:!SSLv2:!EXP:!aNULL
84
85# Prefer the server's order of SSL ciphers over client's
86ssl_prefer_server_ciphers = no
87
[2fcc226]88# Process model, using pthreads (thread) or processes (fork)
[2c1b61a]89# Processes are potentially safer from a security point of view.
[2fcc226]90process_model = fork
91
[2c1b61a]92# For temporary files.
93# consider mounting a `tmpfs' underneath this path (wherever you
94# point it to)
95tmp_path = /tmp
[2fcc226]96
[2c1b61a]97# Whether Gateway should filter HTML messages or not. Usually, WebApp
98# takes care of this. Letting the gateways do this improves the user latency a
99# bit, but uses more disk space. (yes/no)
100#html_safety_filter = no
[2fcc226]101
102##############################################################
103# GATEWAY LOG SETTINGS
104
105# Logging method (syslog, file)
106log_method      =       file
107
[2c1b61a]108# Loglevel (0(none), 1(crit), 2(err), 3(warn), 4(notice), 5(info), 6(debug))
109#log_level      =       3
[2fcc226]110
111# Logfile for log_method = file, use '-' for stderr
112log_file        =       /var/log/kopano/gateway.log
113
114# Log timestamp - prefix each log line with timestamp in 'file' logging mode
115log_timestamp   =       1
116
[2c1b61a]117# Buffer logging in what sized blocks. 0 for line-buffered (syslog-style).
118#log_buffer_size = 0
[2fcc226]119
[2c1b61a]120# Bypass authentification when connecting as an administrator to the UNIX socket.
121# bypass_auth = no
[08500e3]122# bypass_auth = no
123imaps_listen=0.0.0.0:993
124pop3s_listen=0.0.0.0:995
125
Note: See TracBrowser for help on using the repository browser.