1

Topic: Allow mail forward for users that don't exist

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.2 MARIADB edition
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- Linux/BSD distribution name and version: Red Hat Enterprise Linux release 9.1
- 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.
====

I've been using iRedmail to forward mail from my application to my main mx server but I have to make sure that the user exists or I receive the 'Recipient address rejected: User unknown' message.

I would like to modify my configuration to allow messages to be sent to any user for the domain.

I haven't been able to locate how to accomplish this here on the forum or in the documentation. I see it is possible on my system that is running iRedAdmin Pro but I'm not using pro for this server.

Any help would be appreciated.

----

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

2

Re: Allow mail forward for users that don't exist

One possible solution is to use recipient_bcc_maps in Postfix to silently redirect emails for non-existent users. Combine that with a catch-all map for specific domains and you can forward those to an external address. You’d still need to handle bounces properly though.