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 <info@example.com>: Recipient address rejected: Intentional policy rejection, please try again later; from=<service@notice.alibaba.com> to=<info@example.com> proto=ESMTP helo=<out171-234.dm.aliyun.com>

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:

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:

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:
White and black list iRedAdmin

Did my article help you? How about buying me a cup of coffee as an encouragement? Buy me a coffe.

Leave a comment

Leave a Reply