Topic: Send mail to same domain to another host
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.7.1 MARIADB edition.
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- Linux/BSD distribution name and version: AlmaLinux release 9.4 (Seafoam Ocelot)
- 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, I have a domain in iredmail that is being used to send messages and this same domain in Microsoft, which is where the messages are received. However, I have a problem where the messages sent by iredmail are showing an "Unknown User" error because several accounts are created in Microsoft but not in iredmail. By configuring a relay per account in the transport column, mailbox table, vmail database, it directs the messages to Microsoft. However, it is not feasible to do this for each account due to the number of accounts I have in this domain. Not to mention that each time an account is created in Microsoft, I will have to create one in iredmail. I also tested configuring a relay for the domain, but I still need the account to be created.
Any suggestions on how to get around this?
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.