Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation #4

Open
enaut opened this issue Nov 16, 2023 · 4 comments
Open

Documentation #4

enaut opened this issue Nov 16, 2023 · 4 comments

Comments

@enaut
Copy link

enaut commented Nov 16, 2023

Hello,

I'm currently trying to set up stalwart. The documentation is basically very good at explaining the options thank you for that! However, I'm missing which file I would add the config to. For example: https://stalw.art/docs/directory/types/sql#connection-string. Is this for the mail or the SMTP-backend?

Actually, I realized now that I have installed stalwart twice once only SMTP and once the full package. But still when having installed the full package there are many configuration files which one would be the opinionated best one for the configurations

@mdecimus
Copy link
Member

Hi,

Settings can be added to any of the toml files since they are all merged at startup. However, if you would like to add or modify a directory, this should be done under etc/directory directory.

@enaut
Copy link
Author

enaut commented Nov 17, 2023

Thank you for your kind reply. I understood the configs way better now however I still think it would be helpful to have the default paths where the setting is placed somewhere on top of the docs or the code-display - most (all?) of the settings are already somewhere meaning if I add them in the wrong place they might get overwritten by the default. By having the "opinionated best place" in docs some of these errors might vanish.

Right now I just use grep on the config directory, which works.

@enaut
Copy link
Author

enaut commented Nov 17, 2023

I made a rough mockup of what I mean:
grafik

@mdecimus
Copy link
Member

I agree, I'll add those details once the next version is released. Previously all settings were in a single file so the documentation needs to be updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants