Skip to content

Allow blocking of specific paths/URIs #7001

@xFanexx

Description

@xFanexx

Summary

It would be very useful if users could configure certain paths or domains to be blocked.

For example, I run multiple domains, with the main Web UI accessible via mail.domain.tld
Currently, the Web UI is also reachable via mta-sts.domain.tld which doesn’t make sense (at least to me) and can be confusing.

It would be great to add an option to either block the root path of certain domains (returning 403) or redirect it directly to /.well-known/mta-sts.txt, while still allowing access to that TXT file for proper MTA-STS functionality.

Motivation

This enhancement would probably improve security and clarity by preventing the Web UI from being exposed on domains where it’s not needed, reducing potential attack surface and user confusion. It would also give administrators finer control over how MTA-STS and other paths are served.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions