Skip to content

Feature request: Ability to restrict access to given IP range(s) #3863

@chascode

Description

@chascode

Context

All services where the user can authenticate with their email/password (IMAP, SMTP, Sieve, etc.).

Description

I would like an environment variable where i can give a space separated list of IP ranges to allow users to authenticate from. For example: ALLOW_FROM = "123.123.0.0/16" would allow users with an IP 123.123.1.2 to authenticate but drop all other connections.

Alternatives

I have tried configuring docker compose but cannot publish ports 587 and 993 as desired.

Applicable Users

Those who want to restrict access to their mail.

Are you going to implement it?

No, and I understand that it is highly likely no one will implement it. Furthermore, I understand that this issue will likely become stale and will be closed.

What are you going to contribute?

I do not understand dovecot/postfix enough to contribute, sorry.

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