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

Allow MailHog to use privileged ports locally #329

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Nov 7, 2020

  1. Allow MailHog to use privileged ports locally

    MailHog allows to configure the port where it listens e.g. via
    the environment variable MH_SMTP_BIND_ADDR. However privileged ports are
    not allowed, since MailHog runs as normal user.
    Using setcap the MailHog binary is allowed to bind on privileged ports
    martinkoehler committed Nov 7, 2020
    Configuration menu
    Copy the full SHA
    113213f View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2021

  1. Dockerfile

    extract the setcap portion as an additional stage in the Dockerfile
    build
    martinkoehler committed Mar 30, 2021
    Configuration menu
    Copy the full SHA
    459497d View commit details
    Browse the repository at this point in the history