4 |
- |
1 |
##############################################################
|
|
|
2 |
# GATEWAY SETTINGS
|
|
|
3 |
|
|
|
4 |
server_bind = 0.0.0.0
|
|
|
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/zarafa
|
|
|
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.
|
|
|
11 |
server_hostname = homeserver.ujsoftware.com
|
|
|
12 |
|
|
|
13 |
# Whether to show the hostname in the logon greeting to clients.
|
43 |
- |
14 |
server_hostname_greeting = no
|
4 |
- |
15 |
|
|
|
16 |
# drop privileges and run the process as this user
|
|
|
17 |
run_as_user = zarafa
|
|
|
18 |
|
|
|
19 |
# drop privileges and run the process as this group
|
|
|
20 |
run_as_group = zarafa
|
|
|
21 |
|
|
|
22 |
# create a pid file for stopping the service via the init.d scripts
|
|
|
23 |
pid_file = /var/run/zarafa-gateway.pid
|
|
|
24 |
|
|
|
25 |
# run server in this path (when not using the -F switch)
|
|
|
26 |
running_path = /
|
|
|
27 |
|
|
|
28 |
# create memory coredumps upon crash in the running_path directory
|
|
|
29 |
coredump_enabled = no
|
|
|
30 |
|
|
|
31 |
# enable/disable POP3, and POP3 listen port
|
|
|
32 |
pop3_enable = yes
|
|
|
33 |
pop3_port = 110
|
|
|
34 |
|
|
|
35 |
# enable/disable Secure POP3, and Secure POP3 listen port
|
|
|
36 |
pop3s_enable = no
|
|
|
37 |
pop3s_port = 995
|
|
|
38 |
|
|
|
39 |
# enable/disable IMAP, and IMAP listen port
|
|
|
40 |
imap_enable = yes
|
|
|
41 |
imap_port = 143
|
|
|
42 |
|
|
|
43 |
# enable/disable Secure IMAP, and Secure IMAP listen port
|
|
|
44 |
imaps_enable = no
|
|
|
45 |
imaps_port = 993
|
|
|
46 |
|
|
|
47 |
# Only mail folder for IMAP or all subfolders (calendar, contacts, tasks, etc. too)
|
|
|
48 |
imap_only_mailfolders = yes
|
|
|
49 |
|
|
|
50 |
# Show Public folders for IMAP
|
|
|
51 |
imap_public_folders = yes
|
|
|
52 |
|
|
|
53 |
# IMAP clients may use IDLE command
|
|
|
54 |
imap_capability_idle = yes
|
|
|
55 |
|
|
|
56 |
# The maximum size of an email that can be uploaded to the gateway
|
|
|
57 |
imap_max_messagesize = 128M
|
|
|
58 |
|
|
|
59 |
# Override the e-mail charset and generate using utf-8 (when imap data is not present on the item)
|
|
|
60 |
imap_generate_utf8 = no
|
|
|
61 |
|
|
|
62 |
# Internally issue the expunge command to directly delete e-mail marked for deletion in IMAP.
|
|
|
63 |
imap_expunge_on_delete = no
|
|
|
64 |
|
|
|
65 |
# Store full rfc822 message during APPEND
|
|
|
66 |
imap_store_rfc822 = yes
|
|
|
67 |
|
|
|
68 |
# Maximum count of allowed failed IMAP command counts per client
|
|
|
69 |
imap_max_fail_commands = 10
|
|
|
70 |
|
5 |
- |
71 |
# Disable all plaintext authentications unless SSL/TLS is used
|
|
|
72 |
disable_plaintext_auth = no
|
|
|
73 |
|
4 |
- |
74 |
# File with RSA key for SSL
|
|
|
75 |
ssl_private_key_file = /etc/zarafa/gateway/privkey.pem
|
|
|
76 |
|
|
|
77 |
#File with certificate for SSL
|
|
|
78 |
ssl_certificate_file = /etc/zarafa/gateway/cert.pem
|
|
|
79 |
|
|
|
80 |
# Verify client certificate
|
|
|
81 |
ssl_verify_client = no
|
|
|
82 |
|
|
|
83 |
# Client verify file and/or path
|
|
|
84 |
ssl_verify_file =
|
|
|
85 |
ssl_verify_path =
|
|
|
86 |
|
23 |
- |
87 |
# SSL protocols to use, set to '!SSLv2' for 'ssl_enable_v2 = no'
|
|
|
88 |
ssl_protocols = !SSLv2
|
4 |
- |
89 |
|
23 |
- |
90 |
# SSL ciphers to use, set to 'ALL' for backward compatibility
|
|
|
91 |
ssl_ciphers = ALL:!LOW:!SSLv2:!EXP:!aNULL
|
|
|
92 |
|
|
|
93 |
# Prefer the server's order of SSL ciphers over client's
|
|
|
94 |
ssl_prefer_server_ciphers = no
|
|
|
95 |
|
4 |
- |
96 |
# Process model, using pthreads (thread) or processes (fork)
|
43 |
- |
97 |
# Processes are potentially safer from a security point of view.
|
4 |
- |
98 |
process_model = fork
|
|
|
99 |
|
43 |
- |
100 |
# For temporary files.
|
|
|
101 |
# consider mounting a `tmpfs' underneath this path (wherever you
|
|
|
102 |
# point it to)
|
|
|
103 |
tmp_path = /tmp
|
|
|
104 |
|
4 |
- |
105 |
##############################################################
|
|
|
106 |
# GATEWAY LOG SETTINGS
|
|
|
107 |
|
|
|
108 |
# Logging method (syslog, file)
|
|
|
109 |
log_method = file
|
|
|
110 |
|
|
|
111 |
# Loglevel (0=no logging, 5=full logging)
|
|
|
112 |
log_level = 2
|
|
|
113 |
|
|
|
114 |
# Logfile for log_method = file, use '-' for stderr
|
|
|
115 |
log_file = /var/log/zarafa/gateway.log
|
|
|
116 |
|
|
|
117 |
# Log timestamp - prefix each log line with timestamp in 'file' logging mode
|
|
|
118 |
log_timestamp = 1
|
43 |
- |
119 |
|
|
|
120 |
# Buffer logging in what sized blocks.
|
|
|
121 |
# Bigger buffers is better for the performance but it gives lag
|
|
|
122 |
# when running e.g. multitail or 'tail -f' on the log-file. If
|
|
|
123 |
# you want to directly see what is happing, set this to e.g. 1.
|
|
|
124 |
# So when debugging: make it a small value, else set it to
|
|
|
125 |
# 4096 or more.
|
|
|
126 |
log_buffer_size = 4096
|