Troubleshooting “Recipient address rejected: Intentional policy rejection, please try again later”

I once told alibaba.com the email of one of the servers with iRedMail, but the letters for some reason did not come.
In the logs /var/log/mail.log saw the following message:

postfix/smtpd[15026]: NOQUEUE: reject: RCPT from out171-234.dm.aliyun.com[106.11.171.234]: 451 4.7.1 test@ixnfo.com: Recipient address rejected: Intentional policy rejection, please try again later; from=service@notice.alibaba.com to=test@ixnfo.com proto=ESMTP helo=

In the MySQL database “iredapd”, in the table “greylisting_tracking” saw many entries with alibaba.com.

If you wish, you can disable the greylisting plug-in by opening the configuration file:

sudo nano /opt/iredapd/settings.py

And removing “greylisting” in the line:

plugins = [..., ..., ...]

You will need to reboot iredapd to apply the changes:

sudo service iredapd restart

But I added the alibaba.com domain to the “greylisting_whitelist_domains” table and the letters immediately began to come up, the SQL example:

use iredapd;
INSERT INTO `greylisting_whitelist_domains` (`id`, `domain`) VALUES (NULL, 'alibaba.com');

To view the list of domains in the white list, use the command:

cd /opt/iredapd/tools/
python greylisting_admin.py --list-whitelist-domains

See also my article:
White and black list iRedAdmin

Leave a comment

Leave a Reply