Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

add support for TXT record "forward-email-options=" and "pass-through-mx" option as a starter #44

Closed
ww7 opened this issue Oct 3, 2018 · 5 comments

Comments

@ww7
Copy link

ww7 commented Oct 3, 2018

Like
if address@ not in TXT listing than
mx*.forwardemail.net reject and email pass to the next MX server?

(i need to split couple of email addresses to different mail services)

@anistark
Copy link

anistark commented Oct 5, 2018

👍 Same question.
Will setting priorities work ?

@niftylettuce
Copy link
Collaborator

There's no way to do this since it goes highest priority first, even if I send a 550 status code. See https://serverfault.com/a/143482 for more insight.

However we could do something where if no recipients were found, but there was a special TXT record set on the domain, instead of returning error it would just proxy along to the next MX server if it exists.

@niftylettuce
Copy link
Collaborator

  • Detect a (multi-line) TXT record on the domain named "forward-email-options=" which contains a comma separated list of options to enable for the domain's forward email settings
    • "pass-through-mx" - if enabled, this will check for additional MX servers on the domain that are not of the root domain forwardemail.net, and if set, emails will be proxied through

@niftylettuce niftylettuce changed the title There is a way to make setup with two active mail servers? add support for TXT record "forward-email-options=" and "pass-through-mx" option as a starter Oct 25, 2018
@thebeardbe
Copy link

+1 for this request.

Sadly enough I'm not good with coding at all.

But I would love this feature as it is very handy to setup an e-mail that has to be sent to multiple addresses in the same domain when your provider doesn't give you this option.

For example I would want to have [email protected] go [email protected] and [email protected]

This could be a pretty nice feature that is impossible to do even with for example gsuite. I guess you might win a lot of extra users of your service with this option.

@niftylettuce
Copy link
Collaborator

Adding this to #189

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants