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

Auto relay doesn't auto relay #493

Open
shugyosha89 opened this issue May 24, 2024 · 0 comments
Open

Auto relay doesn't auto relay #493

shugyosha89 opened this issue May 24, 2024 · 0 comments

Comments

@shugyosha89
Copy link

shugyosha89 commented May 24, 2024

Auto relay doesn't relay emails to addresses that are configured to be automatically relayed.

I'm using the Docker image.

Full Docker compose:

  maildev:
    image: maildev/maildev
    container_name: maildev
    environment:
      MAILDEV_MAIL_DIRECTORY: /mail
      MAILDEV_OUTGOING_HOST: <smtp server>
      MAILDEV_OUTGOING_PORT: 587
      MAILDEV_OUTGOING_USER: <smtp user>
      MAILDEV_OUTGOING_PASS: <smtp password>
      MAILDEV_OUTGOING_SECURE: true
      MAILDEV_AUTO_RELAY: true
      MAILDEV_AUTO_RELAY_RULES: /config/auto-relay.json
      MAILDEV_INCOMING_USER: <a username>
      MAILDEV_INCOMING_PASS: <a password>
    volumes:
      - /docker/maildev/mail:/mail
      - /docker/maildev/config:/config
    ports:
      - 1025:1025
      - 1080:1080

Contents of auto-relay.json (domain edited for privacy):

[
  { "deny": "*" },
  { "allow": "*@mydomain.com" }
]

Sending an email to e.g. [email protected] does not relay.

Clicking "Relay" on the web app also does not relay. However, clicking "Relay To" and entering an email address does relay.

Possibly shares a cause with #491.

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