Skip to content

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

@QuadrupleA

Description

@QuadrupleA

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions