Page 1 of 1

recipient_delimiter and Exchange (2019)

Posted: 12 Feb 2020 14:59
by Mr. Happy
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.

Re: recipient_delimiter and Exchange (2019)

Posted: 13 Feb 2020 00:56
by shawniverson
That is how you do it.

Decent explanation here.

https://fvdm.com/code/plus-address-forw ... in-postfix

Re: recipient_delimiter and Exchange (2019)

Posted: 13 Feb 2020 07:58
by Mr. Happy
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 :)