recipient_delimiter and Exchange (2019)

General eFa discussion
Post Reply
Mr. Happy
Posts: 38
Joined: 03 Jan 2014 17:07

recipient_delimiter and Exchange (2019)

Post by Mr. Happy » 12 Feb 2020 14:59

I found the configuration item in main.cf and activated it, that works.
After that postfix tries to deliver it to my Exchange-server, but Exchange does not recognize the recipient.
Is there a way to get the mail to <user>+extratext@<mydomain.com> delivered (instead of creating an alias for every additional emailaddress I want?

For now I used

Code: Select all

recipient_canonical_maps = regexp:/etc/postfix/recipient_canonical_maps
in main.cf and
put

Code: Select all

/^(.+)\+.+@(.*)/ ${1}@${2}
in the maps-file.

User avatar
shawniverson
Posts: 3009
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: recipient_delimiter and Exchange (2019)

Post by shawniverson » 13 Feb 2020 00:56

That is how you do it.

Decent explanation here.

https://fvdm.com/code/plus-address-forw ... in-postfix
Version eFa 4.0.2 now available!

Mr. Happy
Posts: 38
Joined: 03 Jan 2014 17:07

Re: recipient_delimiter and Exchange (2019)

Post by Mr. Happy » 13 Feb 2020 07:58

Found that too, it was what made it work ;)

I was hoping Exchange was able to work in a similar way, but unfortunately it is not (yet) possible (if I recall correctly they have something like this planned for Q3 2020).
It would have made it easier to use rules in Exchange/Outlook...
You can change/add transport rules in Exchange, but the email is rejected because of the address before it gets to the transport rules..

I'll stick to this for now :)

Post Reply