[
https://issues.apache.org/jira/browse/JAMES-3781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benoit Tellier closed JAMES-3781.
---------------------------------
Resolution: Fixed
Merged
> As a user I want to enforce explicit configuration
> --------------------------------------------------
>
> Key: JAMES-3781
> URL: https://issues.apache.org/jira/browse/JAMES-3781
> Project: James Server
> Issue Type: Bug
> Components: guice
> Reporter: Benoit Tellier
> Priority: Major
> Time Spent: 1h
> Remaining Estimate: 0h
>
> This one is a fun one!
> h1. The postmortem
> One of my customer complained of missing emails. After investigations, we
> found that some emails for [email protected] where delivered in
> #private:alice:INBOX instead of #private:[email protected]:INBOX. We then
> realized that on some James servers of the cluster were configured with
> virtualhosting off while virtualhosting should have had been on. We then
> realized the configuration files were moved by an admin. The faulty James
> servers were not able to locate their configuration files and thus according
> to JAMES-2004 resorted to the default value with virtualhosting off.
> Implicit configuration is nice to ease James onboarding.
> But as an operator I would like to have the option to enforce explicit
> configuration, and have the safety associated with it.
> h1. Proposal
> Have a JVM property, disabled by default to fail if a configuration file is
> missing.
> `-Djames.fail.on.missing.configuration.file`
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]