Topic: Dynamic IP address mails rejected
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.3.2
- Linux/BSD distribution name and version: UBUNTU 18.04.5
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL
- Web server (Apache or Nginx): NGINX
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
I cannot receive Facebook workplace confirmation email and the log says that all this mails are being rejected.
NOQUEUE: reject: RCPT from 69-171-232-178.mail-work-unconf.facebook.com[69.171.232.178]: 554 5.7.1 <69-171-232-178.mail-work-unconf.facebook.com>: Helo command rejected: ACCESS DENIED. Your email was rejected because the sending mail server appears to be on a dynamic IP address that should not be doing direct mail delivery (69-171-232-178); from=<notification@fbworkmail.com> to=<misael.rico@cassavaroots.mx> proto=ESMTP helo=<69-171-232-178.mail-work-unconf.facebook.com>
On Facebook support says I need to allow all this IP's ranges to fix this
66.220.144.128/25 (66.220.144.128 - 66.220.144.254)
66.220.155.128/25 (66.220.155.128 - 66.220.155.254)
69.171.232.128/25 (69.171.232.128 - 69.171.232.254)
69.63.178.128/25 (69.63.178.128 - 69.63.178.254)
69.63.184.0/25 (69.63.184.0 - 69.63.184.126)
How can I do this and solve the problem
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.