Topic: Unable to receive email from a web form on another server
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5-1
- Linux/BSD distribution name and version: Ubuntu 14,04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue: mail.log
====
Hello,
I recently set up a server which works fine except for the fact that now, when I submit a web form from my own website hosted on another server, the mail is not being delivered. It used to deliver fine when I was hosting my email on Gmail which is odd because I assume they would have strong policies but apparently not?
Anyhow, here is the error from the mail.log file:
Aug 7 12:11:32 mail postfix/smtpd[2179]: NOQUEUE: reject: RCPT from unknown[X.X.X.X]: 554 5.7.1 <ip-X-X-X-XX.ec2.internal>: 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 (XX-X-X-XX); from=<apache@ip-XX-X-X-XX.ec2.internal> to=<xxxxxx@xxxxxxxxxxxxx.com> proto=ESMTP helo=<ip-XX-X-X-XX.ec2.internal>
I figured I could fix this by adding a whitelist like so:
python wblist_admin.py --add --whitelist apache@ip-XX-X-X-XX.ec2.internal
But upon "service iredapd restart" the mail still does not deliver so now I am stuck and would appreciate some guidance.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.