Skip to content
Discussion options

You must be logged in to vote

There is no configuration that does this today, and the reason your regex could not work is that the tag is re-attached after alias resolution, not during it.

In helpers/get-forwarding-addresses.js the whole thing is decided at the end of getForwardingAddresses. If the inbound address has no + it returns the forwarding addresses untouched. If it does, it maps over every one of them:

if (!address.includes('+')) return { ..., addresses: forwardingAddresses };

return {
  ...,
  addresses: forwardingAddresses.map((forwardingAddress) => {
    if (isFQDN(forwardingAddress) || isIP(forwardingAddress) || isURL(forwardingAddress, config.isURLOptions))
      return forwardingAddress;
    return `${p…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by p3k
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants