1

Topic: Allow external IP Address

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

Hi, I have mailwizz installed on one VPS (IP@ 123.123.123.123) and iRedMail on another VPS. I can sign up to a list using an email not associated with the iRedMail VPS but when I try to use one using the iRedMail emails, MailWizz doesnt allow me to register (using my iredmail domain emails).

There are no errors on either server in the apache, njinx or anywhere other than the pop3.log
There I get a few of the folowing:

NOQUEUE: reject: RCPT from vmi1914229.contaboserver.net[123.123.123.123]: 554 5.7.1 <mail@mydomain.net>: Recipient address rejected: Policy rejection due to null sender; from=<> to=<mail@mydomain.net> proto=ESMTP helo=<localhost.localdomain>

Any ideas how to fix this? Many thanks.

PS: I previously had another vps and I believe I just added the IP somewhere, possibly the postfix main.cf file. But I dont have the old file to check as I changed servers.

Thanks

----

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

2

Re: Allow external IP Address

FYI https://docs.iredmail.org/errors.html#r … ull-sender

3

Re: Allow external IP Address

Thanks for the response. I presume you mean by adding my IP using the following at the end of the settings.py file:

MYNETWORKS = ['192.168.0.10', '192.168.0.20', '192.168.0.30']

I have already done that. I also tried removing the nul sender module from that file but neither made a difference.

Whats strange that I forgot to mentione, is that everything worked on my other server whilst using swiftmailer (with MailWizz), but then when I shifted to SymfonyMailer the problem occurred.

Mailwizz staff pointed me in the iredmail direction as the culprit but because adding the IP at the end of the settings.py file doesnt make a difference, points back to the MailWizz app. Specifically SymfonyMailer.

Thanks for the guidance. Much appreciated.

4

Re: Allow external IP Address

I figured this out, or was pushed in the right direction. It was the domain needed setting to use Remote Routing. It was set to internal. Thanks