1

Topic: IredAPD not whitelisting domains

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.5
- Deployed with iRedMail Easy or the downloadable installer? Downloadable
- Linux/BSD distribution name and version: Ubuntu 22.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB
- Web server (Apache or Nginx): NGINX
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

I currently have greylisting enabled. 

I have a couple entries like below:

451 4.7.1 <user@domain>: Recipient address rejected: Intentional policy rejection (GL), please try again later; from=<No_Reply_Allowed@va.gov> to=<user@domain> proto=ESMTP helo=<gwnma04-mta.va.gov> (total: 4)

I looked here at the greylisting page, https://docs.iredmail.org/manage.iredapd.html and the greylist to whitelist script, if I understand it, should whitelist domains that pass email.

This isn't the first time  a VA.gov sender has sent mail, so why is it still being greylisted?

I added the va.gov domain manually to the whitelist, which now shows up as one of the 47 domains when the python script is run.

Cron output from the greylist to whitelist script.

* Query SQL server to get mail domain names.
* 47 mail domains in total.
    + [amazon.com]
    + [aol.com]
    + [cloudfiltering.com]
    + [cloudflare.com]
    + [constantcontact.com]
    + [craigslist.org]
    + [cust-spf.exacttarget.com]
    + [ebay.com]
    + [exacttarget.com]
    + [facebook.com]
    + [facebookmail.com]
    + [fbmta.com]
    + [fishbowl.com]
    + [gab.com]
    + [github.com]
    + [gmx.com]
    + [google.com]
    + [goto.com]
    + [hotmail.com]
    + [icloud.com]
    + [icontact.com]
    + [inbox.com]
    + [instagram.com]
    + [iredmail.org]
    + [linkedin.com]
    + [mail.com]
    + [mailchimp.com]
    + [mailgun.com]
    + [mailjet.com]
    + [messagelabs.com]
    + [microsoft.com]
    + [outlook.com]
    + [paypal.com]
    + [pinterest.com]
    + [reddit.com]
    + [sbcglobal.net]
    + [sendgrid.com]
    + [serverfault.com]
    + [stackoverflow.com]
    + [tumblr.com]
    + [twitter.com]
    + [va.gov]
    + [yahoo.com]
    + [yandex.ru]
    + [zendesk.com]
    + [zoho.com]

My question is why is this list not expanding with valid senders to users on my server?  Is this supposed to work differently than I understand?

----

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