1

Topic: Email forwarding for address with delimiters

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):      1.5.2
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- Linux/BSD distribution name and version: Debian 11
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hello,

we have configured mail forwarding from mailbox example@domain.com (configured via docs.iredmail.org/sql.user.mail.forwarding.html) to example2@newdomain.com.

Its working fine when emails are sent directly to example@domain.com.

But if email sent to example+123@domain.com it will be forwarded to example2+123@newdomain.com. Sadly, but @newdomain.com does not have delimiters support and all emails sent with delimiters are going to catchall.

It's like:
jonh@doe -> example@domain.com -> example2@newdomain.com
jonh@doe -> example+123@domain.com -> example2+123@newdomain.com

We cannot reconfigure @newdomain.com at this moment.

How we can configure iRedMail to forward emails "as is" i.e. always to example2@newdomain.com no matter what, like:

jonh@doe -> example+123@domain.com -> example2@newdomain.com?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Email forwarding for address with delimiters

According to docs (mirror.math.princeton.edu/pub/postfix/postconf.5.html) it seems like it's controlled on Postfix side.

So, if you don't need delimiters support in forwardings, you need to add:
propagate_unmatched_extensions = canonical
in Postfix main.cf config.

Find it as solution on serverfault.com/questions/836421/postfix-virtual-alias-and-recipient-delimiter-forwarding