1

Topic: Recipient address rejected: Intentional policy rejection

==== Required information ====
- iRedMail version (check /etc/iredmail-release):  iRedMail-0.9.5
- Linux/BSD distribution name and version:  Ubuntu 14.04 LTS
- 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:
====

Hello,

Am having issues receiving emails from Gmail/Yahoo. From the logs, it says "Recipient address rejected: Intentional policy rejection, please try again later" which I've read is related to iredapd policy system. I've whitelisted gmail using the iredadmin-pro interface by going to System> white lists and blacklists and also in greylisting.

I've run the command  python greylisting_admin.py --list-whitelist-domains  to confirm that gmail is whitelisted and you can see it below. I restarted the server to make sure postfix and iredapd services are restarted.  However, despite all that, emails from Gmail are being rejected. What am I missing?


# python greylisting_admin.py --list-whitelist-domains                 
amazon.com
aol.com
cloudfiltering.com
constantcontact.com
craigslist.org
cust-spf.exacttarget.com
ebay.com
exacttarget.com
facebook.com
facebookmail.com
fbmta.com
fishbowl.com
github.com
gmail.com
gmx.com
google.com
hotmail.com
icloud.com
icontact.com
inbox.com
instagram.com
iredmail.org
linkedin.com
live.com
mail.com
mailchimp.com
mailgun.com
mailjet.com
microsoft.com
outlook.com
paypal.com
pinterest.com
reddit.com
sendgrid.com
sendgrid.net
serverfault.com
stackoverflow.com
tumblr.com
twitter.com
yahoo.com
yandex.ru
zendesk.com
zoho.com

//tail -f mail.log
postfix/smtpd[2344]: NOQUEUE: reject: RCPT from mail-wm0-f46.google.com[74.125.82.46]: 451 4.7.1 <test@somedomain.com>: Recipient address rejected: Intentional policy rejection, please try again later; from=<someuser@gmail.com> to=<test@somedomain.com> proto=ESMTP helo=<mail-wm0-f46.google.com>

----

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

2

Re: Recipient address rejected: Intentional policy rejection

Please upgrade iRedAPD to the latest iRedAPD-1.9.1, there's a bug in /opt/iredapd/tools/spf_to_greylisting_whitelists.py which didn't convert full IP addresses/networks in SPF.

FYI: http://www.iredmail.org/docs/upgrade.iredapd.html

3

Re: Recipient address rejected: Intentional policy rejection

ZhangHuangbin wrote:

Please upgrade iRedAPD to the latest iRedAPD-1.9.1, there's a bug in /opt/iredapd/tools/spf_to_greylisting_whitelists.py which didn't convert full IP addresses/networks in SPF.

FYI: http://www.iredmail.org/docs/upgrade.iredapd.html

Great, thanks. Issue resolved.