mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-21 09:58:26 +00:00
Add mail-debug flag to rest-server
It has been added to the joex application, but it should be possible to debug mail problems on both apps.
This commit is contained in:
@ -41,6 +41,7 @@ let
|
||||
session-valid = "5 minutes";
|
||||
};
|
||||
backend = {
|
||||
mail-debug = false;
|
||||
jdbc = {
|
||||
url = "jdbc:h2:///tmp/docspell-demo.db;MODE=PostgreSQL;DATABASE_TO_LOWER=TRUE;AUTO_SERVER=TRUE";
|
||||
user = "sa";
|
||||
@ -260,6 +261,16 @@ in {
|
||||
backend = mkOption {
|
||||
type = types.submodule({
|
||||
options = {
|
||||
mail-debug = mkOption {
|
||||
type = types.bool;
|
||||
default = defaults.backend.mail-debug;
|
||||
description = ''
|
||||
Enable or disable debugging for e-mail related functionality. This
|
||||
applies to both sending and receiving mails. For security reasons
|
||||
logging is not very extensive on authentication failures. Setting
|
||||
this to true, results in a lot of data printed to stdout.
|
||||
'';
|
||||
};
|
||||
jdbc = mkOption {
|
||||
type = types.submodule ({
|
||||
options = {
|
||||
|
Reference in New Issue
Block a user