| # ============================================= Extra JVM System Properties =========================================== | |
| # To avoid clutter on the command line, any properties in this file will be added as system properties on server start. | |
| # Example: If you need an option -Dmy.property=whatever, you can instead add it here as | |
| # my.property=whatever | |
| # Required to locate Cassandra driver configuration | |
| config.file=conf/cassandra-driver.conf | |
| # The delimiter used to separate parent/child folders. | |
| # Optional. Allowed values are: dot (will use '.' as delimiter), slash (will use '/' as delimiter), pipe ('|'), comma (','), colon (':'), semicolon (';'). | |
| # WARNING: This value should only be changed when setting up a new deployment. Changing the parameter for an existing deployments | |
| # will likely lead to failure of some system components, as occurrences of old delimiter will still be present in the database/data store. | |
| # james.mailbox.folder.delimiter=dot | |
| # (Optional). String (size, integer + size units, example: `12 KIB`, supported units are bytes KIB MIB GIB TIB). Defaults to 100KIB. | |
| # This governs the threshold MimeMessageInputStreamSource relies on for storing MimeMessage content on disk. | |
| # Below, data is stored in memory. Above data is stored on disk. | |
| # Lower values will lead to longer processing time but will minimize heap memory usage. Modern SSD hardware | |
| # should however support a high throughput. Higher values will lead to faster single mail processing at the cost | |
| # of higher heap usage. | |
| #james.message.memory.threshold=12K | |
| # Optional. Boolean. Defaults to false. Recommended value is false. | |
| # Should MimeMessageWrapper use a copy of the message in memory? Or should bigger message exceeding james.message.memory.threshold | |
| # be copied to temporary files? | |
| #james.message.usememorycopy=false | |
| # Mode level of resource leak detection. It is used to detect a resource not be disposed of before it's garbage-collected. | |
| # Example `MimeMessageInputStreamSource` | |
| # Optional. Allowed values are: none, simple, advanced, testing | |
| # - none: Disables resource leak detection. | |
| # - simple: Enables output a simplistic error log if a leak is encountered and would free the resources (default). | |
| # - advanced: Enables output an advanced error log implying the place of allocation of the underlying object and would free resources. | |
| # - testing: Enables output an advanced error log implying the place of allocation of the underlying object and rethrow an error, that action is being taken by the development team. | |
| #james.lifecycle.leak.detection.mode=simple | |
| # Should we add the host in the MDC logging context for incoming IMAP, SMTP, POP3? Doing so, a DNS resolution | |
| # is attempted for each incoming connection, which can be costly. Remote IP is always added to the logging context. | |
| # Optional. Boolean. Defaults to true. | |
| #james.protocols.mdc.hostname=true | |
| # Manage netty leak detection level see https://netty.io/wiki/reference-counted-objects.html#leak-detection-levels | |
| # io.netty.leakDetection.level=SIMPLE | |
| # Should James exit on Startup error? Boolean, defaults to true. This prevents partial startup. | |
| # james.exit.on.startup.error=true | |
| # Fails explicitly on missing configuration file rather that taking implicit values. Defautls to false. | |
| # james.fail.on.missing.configuration=true | |
| # JMX, when enable causes RMI to plan System.gc every hour. Set this instead to once every 1000h. | |
| sun.rmi.dgc.server.gcInterval=3600000000 | |
| sun.rmi.dgc.client.gcInterval=3600000000 | |
| # Automatically generate a JMX password upon start. CLI is able to retrieve this password. Not supported on windows. | |
| james.jmx.credential.generation=true | |
| # Disable Remote Code Execution feature from JMX | |
| # CF https://github.com/AdoptOpenJDK/openjdk-jdk11/blob/19fb8f93c59dfd791f62d41f332db9e306bc1422/src/java.management/share/classes/com/sun/jmx/remote/security/MBeanServerAccessController.java#L646 | |
| jmx.remote.x.mlet.allow.getMBeansFromURL=false | |
| # Disabling JMAP filters event source increments is necessary during rolling adoption of this change. | |
| # Defaults to true, meaning James will use JMAP filters event source increments, thus transparently and significantly | |
| # improving JMAP filter storage efficiency. Snapshots enable to only build the aggregate from the last few events. | |
| # james.jmap.filters.eventsource.increments.enabled=true | |
| # james.jmap.filters.eventsource.snapshots.enabled=true | |
| # Default charset to use in JMAP to present text body parts | |
| # james.jmap.default.charset=US-ASCII | |
| # Threshold from which we should buffer the blob to a file upon encrypting | |
| # Unit supported: K, M, G, default to no unit | |
| #james.blob.aes.file.threshold.encrypt=100K | |
| # Threshold from which we should buffer the blob to a file upon decrypting | |
| # Unit supported: K, M, G, default to no unit | |
| #james.blob.aes.file.threshold.decrypt=256K | |
| # Value from which dedicated BodyFactory shall start buffering data to a file. | |
| # Used for attachment parsing upon message creation. Default value: 100K. | |
| # james.mime4j.buffered.body.factory.file.threshold=100K | |
| # Maximum size of a blob. Larger blobs will be rejected. | |
| # Unit supported: K, M, G, default to no unit | |
| #james.blob.aes.blob.max.size=100M | |
| # Prefetch to use in Reactor to stream convertions (S3 => InputStream). Default to 1. | |
| # Higher values will tend to block less often at the price of higher memory consumptions. | |
| # james.reactor.inputstream.prefetch=4 | |
| # Enable/disable mailet container check at James startup. Defaults to true. | |
| # james.mailet.container.check.enabled=true | |
| # Relax validating `*` and `%` characters in the mailbox name. Defaults to false. | |
| # Be careful turning on this as `%` and `*` are ambiguous for the LIST / LSUB commands that interpret those as wildcard thus returning all mailboxes matching the pattern. | |
| #james.relaxed.mailbox.name.validation=true | |
| # Count of octet from which hashing shall be done out of the IO threads in deduplicating blob store | |
| # james.deduplicating.blobstore.thread.switch.threshold=32768 | |
| # Count of octet from which streams are buffered to files and not to memory | |
| # james.deduplicating.blobstore.file.threshold=10240 | |
| # From which point should range operation be used? Defaults to 3. | |
| # james.jmap.email.set.range.threshold=3 | |
| # Allow users to have rights for shares of different domain. Defaults to false. | |
| #james.rights.crossdomain.allow=false | |
| # Previews takes roughly 10% DB space though can easily be recomputed. Storing preview for historical preview is | |
| # also needless. This property allows setting an expiry for previews. | |
| # james.jmap.preview.ttl=30d | |
| # Configure the header to get the original JMAP client's IP address. This is useful when James is behind a reverse proxy. | |
| # Defaults to the `x-forwarded-for` header. | |
| # james.jmap.mdc.original.ip.header=x-real-ip |