Topic: Accept emails from tester server
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.4
- Linux/BSD distribution name and version: Ubuntu 14
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
====
Hi,
I am installing a monitoring server. I installed Nagios and I'm trying to send emails through that server. If I sent it to my gmail account I receive correctly but if I send to iredmail server I receive this:
Jan 16 12:37:12 squid postfix/smtp[2028]: DFD6B20018: to=<sistemas@XXX.com>, relay=mail.XXX.com[2.139.XX.XX]:25, delay=0.21, delays=0.04/0.01/0.13/0.03, dsn=5.7.1, status=bounced (host mail.xxx.com[2.139.XX.XX] said: 554 5.7.1 <localhost.localdomain>: Helo command rejected: ACCESS DENIED. Your email was rejected because the sending mail server does not identify itself correctly (localhost.localdomain) (in reply to RCPT TO command))
I changed on monitoring server hosts and hostname like this (I could use any name but I put that):
127.0.1.1 squid.com
squid@squid:~$ hostname
squid.com
Note: I tried that:
root@mail:/opt/iredapd/plugins# python amavisd_wblist.py --add --blacklist 192.168.88.XX nagios@squid.com
Traceback (most recent call last):
File "amavisd_wblist.py", line 45, in <module>
from libs.logger import logger
ImportError: No module named libs.logger
I would like to know how I could add a "white list" for that IP, domain, or email account.
I don't know why server is taking localhost.localdomain if I changed on hosts and hostname.
Any idea?
Thanks.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.