mail-in-a-box / mailinabox

Mail-in-a-Box helps individuals take back control of their email by defining a one-click, easy-to-deploy SMTP+everything else server: a mail server in a box.

Home Page:https://mailinabox.email/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature Request] Detect Misconfigured Aliases

rustikles opened this issue · comments

Scenario tested on v56, with status page all green:

  1. Mailbox created for test@domain.com
  2. Aliases created to forward alias1@domain.com to test@domain.com
  3. Configure a new alias to forward test@domain.com to doesNotExist@domain.com

In this example, "doesNotExist@domain.com" is not a valid mailbox. As opposed to sending back a "failed to deliver" message to an external sender, emailing test@domain.com or alias1@domain.com will cause the message to silently fail for both parties. See the "virtual_alias_maps" error in mail.log. Postfix does not accept the message.

image

EXPECTED BEHAVIOR:
Regardless of alias configuration, MiaB should reply with an unable to deliver message if it did not accept or deliver a message.

PROPOSED FEATURE
Visually identify in the aliases UI if a "forwards to" address does not exist, or give an error message at time of alias creation alerting to the potential misconfiguration.

See forum post https://discourse.mailinabox.email/t/inbound-mail-non-functional/8958