1 (edited by Jochie 2016-02-25 00:31:01)

Topic: Whitelist bypassed? 4.5.1 4.7.1 Recipient address rejected

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
======== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.4
- Linux/BSD distribution name and version:  Ubuntu 14.04.4 LTS (GNU/Linux 3.13.0-80-generic x86_64)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx):Apache
- Manage mail accounts with iRedAdmin-Pro? Yes
- Related log if you're reporting an issue:

Feb 24 15:46:30 mail postfix-list/smtpd[7192]: NOQUEUE: reject: RCPT from mail.xxxx.xxx[x.x.x.x]: 451 4.7.1 <xxxx@xxx.xx>: Recipient address rejected: Intentional policy rejection, please try again later; from=<no-reply@xxxx.xx> to=<xxxx@xxx.xx> proto=ESMTP helo=<mail.xxxx.xxx>

====
Hi Zhang Huang Bin,

Since the last update, it seems my whitelist is ignored.
I'm receiving these remarks in my logs, from various email addresses and domains from my whitelist.

How can i resolve this or how can i troubleshoot?

Thanks in advance,

J

----

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

2

Re: Whitelist bypassed? 4.5.1 4.7.1 Recipient address rejected

It's caused by greylisting.

This is a "bug" in iRedAPD greylisting implementation, it doesn't bypass normal whitelisted mail domains before checking greylisting.

Please try this: append below line in /opt/iredapd/settings.py, then restart iRedAPD service.

PLUGIN_PRIORITIES = {'amavisd_wblist': 91}

This will make whitelisting/blacklisting checking has higher priority than greylisting. Please do let me know whether or not it works for you.

I will try to improve greylisting implementation to avoid this issue.

3

Re: Whitelist bypassed? 4.5.1 4.7.1 Recipient address rejected

Thank you for your reply and sorry for the delay in my reply.
I've updated my config and i will try.