1- # ## ElasticInbox config file
2-
3- # ## Mailbox settings
4- # Mailbox quota can be set by total bytes and/or message count.
5- # To disable quota parameter set it to 0.
6- mailbox_quota_bytes : 1073741824
7- mailbox_quota_count : 50000
8-
9- # ## Monitoring settings
10- # Enabling performance counters will allow monitoring of various stats
11- # (e.g. LMTP, Hector) through the JMX interface.
12- #
13- # Stats are collected and aggregated for the given interval (in seconds).
14- enable_performance_counters : true
15- performance_counters_interval : 180
16-
17- # ## LMTP settings
18- # Set port number and maximum concurrent connections.
19- lmtp_port : 2400
20- lmtp_max_connections : 20
21- # if enabled, messages received via LMTP will be available from POP3
22- lmtp_enable_pop3 : true
23-
24- # ## POP3 settings
25- # Set port number and maximum concurrent connections.
26- pop3_port : 2110
27- pop3_max_connections : 20
28-
29- # ## Database settings
30- # Database used for storing metadata of accounts, labels and messages.
31- # Optionally, it is possible to store blobs in the database (see database_blob_max_threshold).
32- # Currently only "cassandra" is supported.
33- database_driver : cassandra
34-
35- # If you want to store parsed HTML and/or PLAIN text of the message body
36- # in the metadata storage, enable below.
37- #
38- # Note: When no HTML message body available in HTML store mode, ElasticInbox
39- # will automatically fallback to PLAIN text mode and store available PLAIN text.
40- store_html_message : true
41- store_plain_message : false
42-
43- # Maximum blob size in bytes which can be stored in the database.
44- # Blobs larger than this value will be stored with the deafult blob profile (blobstore_write_profile).
45- # If compression enabled, this threshold will be applied to a compressed blob size.
46- # Set to 0 to disable using database as a blob storage. Maximum allowed value 128K.
47- database_blob_max_size : 32768
48-
49- # ## Cassandra settings
50- # Specify Cassandra hosts (multiple for LB), cluster name, keyspace
51- # and auto discovery
52- cassandra_hosts :
53- - 127.0.0.1:9160
54- # - 127.0.0.2:9160
55- # - 127.0.0.3:9160
56- cassandra_autodiscovery : false
57- cassandra_cluster_name : ' TestCluster'
58- cassandra_keyspace : ' ElasticInbox'
59-
60- # ## Blob storage settings
61- #
62- # Following public and private blob store providers are supported:
63- # aws-s3, cloudfiles-us, cloudfiles-uk, filesystem,
64- # azureblob, atmos (generic), synaptic-storage, scaleup-storage,
65- # cloudonestorage, walrus(generic), googlestorage, ninefold-storage,
66- # scality-rs2 (generic), hosteurope-storage, tiscali-storage,
67- # eucalyptus-partnercloud-s3, swift (generic)
68- #
69- # IMPORTANT: Blob store profile names should never be changed and should be
70- # identical on all ElasticInbox nodes. Profile names are stored in
71- # metadata. ElasticInbox does not verify profile configurations.
72- #
73- blobstore_profiles :
74- openstack-example :
75- provider : swift
76- endpoint : http://10.0.0.1:8066/auth/
77- container : elasticinbox
78- identity : admin:admin
79- credential : secret
80- apiversion : 1.0
81- aws-example :
82- provider : aws-s3
83- endpoint : https://s3-eu-west-1.amazonaws.com
84- container : mybucket.myaws.tld
85- identity : AWSGENERATEDID
86- credential : myverylongawssecret
87- fs-local :
88- provider : filesystem
89- endpoint : /u02/domains
90- container : elasticinbox
91-
92- # Deafult profile to use for writing messages to blob storage
93- # only one profile can be used for writing at the same time.
94- blobstore_write_profile : fs-local
95-
96- # Compress objects written to the blob store (including database blobs)
97- blobstore_enable_compression : true
98-
99- # Encrypt objects written to the blob store. Blobs stored in database are
100- # never encrypted.
101- blobstore_enable_encryption : false
102- # blobstore_default_encryption_key: mykey1
103-
104- # ## Encryption settings
105- # encryption:
106- # keystore: "elasticinbox.ks"
1+ # ## ElasticInbox config file
2+
3+ # ## Mailbox settings
4+ # Mailbox quota can be set by total bytes and/or message count.
5+ # To disable quota parameter set it to 0.
6+ mailbox_quota_bytes : 1073741824
7+ mailbox_quota_count : 50000
8+
9+ # ## Monitoring settings
10+ # Enabling performance counters will allow monitoring of various stats
11+ # (e.g. LMTP, Hector) through the JMX interface.
12+ #
13+ # Stats are collected and aggregated for the given interval (in seconds).
14+ enable_performance_counters : true
15+ performance_counters_interval : 180
16+
17+ # ## LMTP settings
18+ # Set port number and maximum concurrent connections.
19+ lmtp_port : 2400
20+ lmtp_max_connections : 20
21+ # if enabled, messages received via LMTP will be available from POP3
22+ lmtp_enable_pop3 : true
23+
24+ # ## POP3 settings
25+ # Set port number and maximum concurrent connections.
26+ pop3_port : 2110
27+ pop3_max_connections : 20
28+
29+ # ## Database settings
30+ # Database used for storing metadata of accounts, labels and messages.
31+ # Optionally, it is possible to store blobs in the database (see database_blob_max_threshold).
32+ # Currently only "cassandra" is supported.
33+ database_driver : cassandra
34+
35+ # If you want to store parsed HTML and/or PLAIN text of the message body
36+ # in the metadata storage, enable below.
37+ #
38+ # Note: When no HTML message body available in HTML store mode, ElasticInbox
39+ # will automatically fallback to PLAIN text mode and store available PLAIN text.
40+ store_html_message : true
41+ store_plain_message : false
42+
43+ # Maximum blob size in bytes which can be stored in the database.
44+ # Blobs larger than this value will be stored with the deafult blob profile (blobstore_write_profile).
45+ # If compression enabled, this threshold will be applied to a compressed blob size.
46+ # Set to 0 to disable using database as a blob storage. Maximum allowed value 128K.
47+ database_blob_max_size : 32768
48+
49+ # ## Cassandra settings
50+ # Specify Cassandra hosts (multiple for LB), cluster name, keyspace
51+ # and auto discovery
52+ cassandra_hosts :
53+ - 127.0.0.1:9160
54+ # - 127.0.0.2:9160
55+ # - 127.0.0.3:9160
56+ cassandra_autodiscovery : false
57+ cassandra_cluster_name : ' TestCluster'
58+ cassandra_keyspace : ' ElasticInbox'
59+
60+ # ## Blob storage settings
61+ #
62+ # Following public and private blob store providers are supported:
63+ # aws-s3, cloudfiles-us, cloudfiles-uk, filesystem,
64+ # azureblob, atmos (generic), synaptic-storage, scaleup-storage,
65+ # cloudonestorage, walrus(generic), googlestorage, ninefold-storage,
66+ # scality-rs2 (generic), hosteurope-storage, tiscali-storage,
67+ # eucalyptus-partnercloud-s3, swift (generic)
68+ #
69+ # IMPORTANT: Blob store profile names should never be changed and should be
70+ # identical on all ElasticInbox nodes. Profile names are stored in
71+ # metadata. ElasticInbox does not verify profile configurations.
72+ #
73+ blobstore_profiles :
74+ openstack-example :
75+ provider : swift
76+ endpoint : http://10.0.0.1:8066/auth/
77+ container : elasticinbox
78+ identity : admin:admin
79+ credential : secret
80+ apiversion : 1.0
81+ aws-example :
82+ provider : aws-s3
83+ endpoint : https://s3-eu-west-1.amazonaws.com
84+ container : mybucket.myaws.tld
85+ identity : AWSGENERATEDID
86+ credential : myverylongawssecret
87+ fs-local :
88+ provider : filesystem
89+ endpoint : /u02/domains
90+ container : elasticinbox
91+
92+ # Deafult profile to use for writing messages to blob storage
93+ # only one profile can be used for writing at the same time.
94+ blobstore_write_profile : fs-local
95+
96+ # Compress objects written to the blob store (including database blobs)
97+ blobstore_enable_compression : true
98+
99+ # Encrypt objects written to the blob store. Blobs stored in database are
100+ # never encrypted.
101+ blobstore_enable_encryption : false
102+ # blobstore_default_encryption_key: mykey1
103+
104+ # ## Encryption settings
105+ # encryption:
106+ # keystore: "elasticinbox.ks"
107107# keystore_password: qweqwe
0 commit comments