[Feature Request] Detect Misconfigured Aliases
rustikles opened this issue · comments
Scenario tested on v56, with status page all green:
- Mailbox created for test@domain.com
- Aliases created to forward alias1@domain.com to test@domain.com
- 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.
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