1

Topic: Cannot enable domain relay without verifying local recipients option

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

Under domains and accounts > selected domain > relay I can specify in/out relay but I cannot select the "relay without verifying local recipients" option. I check it and save but it becomes deselected.

I am preparing to migrate accounts from third party server into local iredmail server, need to prepare the server by adding the domain, mailboxes, aliases, and sync the mail from the live third-party server into the iredmail server without impacting mailflow until the cutover date.

I almost have this done, when I send an email to a mailbox that is to be migrated, and the mailbox exists locally, the relay is used and the email ends up in the mailbox on the third-party server. However, when I email an alias or mailbox that I do not have locally, the relay is not used, a bounce is issued.

Do I need to do something to get the "relay without verifying local recipients" option to work and or do you have a suggestion on how to handle migrations into iredmail like this?

I plan to use imapsync to do the actual email migration.

Thanks!

----

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

2

Re: Cannot enable domain relay without verifying local recipients option

What's the value of inbound / outbound relay? It should start with "smtp:", or ":".

3

Re: Cannot enable domain relay without verifying local recipients option

I've used both smtp:[192.168.1.10]:25 as well as relay:[192.168.1.10]:25 which are correct IP/ports.

4

Re: Cannot enable domain relay without verifying local recipients option

I cannot reproduce this issue locally, set "Relay received emails to" to "smtp:[192.168.1.10]:25", also toggle on "Relay without verifying local recipients", it works for me.

5

Re: Cannot enable domain relay without verifying local recipients option

I've added additional domains and I continue to see the same behavior.

- Add domain
- Relay > add in/out relay:[x.x.x.x]:25 > Check "relay without verifying..."
- Save > Save is successful
- The checkbox becomes deselected for "relay without verify..." (shouldn't it remain selected?)

The domain shows in the list as relay, but mailboxes that do not exist locally bounce. However if I create the mailbox the emails are relayed properly.

I have other iredmail servers I can test with but this one is pretty vanilla.

6

Re: Cannot enable domain relay without verifying local recipients option

Use "smtp:" as prefix, not "relay:".