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

Preserve comments, or warn in domains.conf that web admin will overwrite it #318

Open
QuadrupleA opened this issue Mar 23, 2025 · 0 comments

Comments

@QuadrupleA
Copy link

Had a bit of a shock when the mox webadmin / webaccount overwrote my domains.conf stripping all comments - I had temporarily commented out the somewhat meticulous DKIM : Selectors config with its long intricate filenames, to relay everything through SES, and after some web-based operations (adding a new mail account I think) found all the commented section stripped and all my DKIM configuration from quickstart gone.

Had to restore a backup of the entire server from a few days ago to get it back.

Maybe just a warning comment at the top of domains.conf:

# WARNING: the web admin will automatically change this file, stripping comments; keep a backup if needed

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

1 participant