so I would like the PolicyD to be able to judge by either the "non-forged" from email address or the "non-forged" helo-hostname as to if the greylisting shall apply, or not.
Currently I have done a SPF check on ebay.co.uk, google.co.uk, gmail.co.uk, apple.com, icloud.com, me.com, outlook.com, hotmail.com, messagelabs.com, rackspace.com*— and as you can imagine, those alone represent almost half the IP addresses available on the internet (a slight exaggeration)*— but my point is that now, when an e-mail enter, it has to search through a VAST list of IP addresses that are to be whitelisted.
Postgrey, can whitelist…
…whereas policyd requires the equivialent, e.g…
ebay.co.uk. 690 IN TXT "spf2.0/pra mx include:s._sid.ebay.com include:m._sid.ebay.com include._sid.ebay.com include:c._sid.ebay.com ~all"
ebay.co.uk. 690 IN TXT "v=spf1 mx include:s._spf.ebay.com include:m._spf.ebay.com include._spf.ebay.com include:c._spf.ebay.com include:inspiration.ebay.co.uk ip4:22.214.171.124/32 ~all"
…but that requires from the administrator to look up the IP addresses for each and every one of these includes, and that is not only time consuming but also tiresome.
Perhaps a good idea.
Just food for thoughts.
Best wishes and thank you for an excellent product!!!