Whitelist_clients file in postgrey

Does anyone know if this file is actively in use?

I would assume based on the header in /etc/postgrey/whitelist_clients

root@mail:/etc/postgrey# cat whitelist_clients 
# postgrey whitelist for mail client hostnames
# --------------------------------------------
# put this file in /etc/postfix or specify its path
# with --whitelist-clients=xxx
#
# postgrey version: ##VERSION##, build date: ##DATE##

that postfix would need to reference it somewhere.

root@mail:/etc/postgrey# grep -i whitelist /etc/postfix/main.cf
root@mail:/etc/postgrey# 
root@mail:/etc/postgrey# 

However I don’t see that. I feel that if postfix was actually using this file that it would be an improvement. Unless I missed something.

The file is used by postgrey, not postfix.

1 Like

So header is just misleading?

I assume postfix has to interact with postgrey somehow. Perhaps this is doing this specifically though the check_policy_service inet:127.0.0.1:10023.

Correct, as that is how various other services are used, including opendmarc and opendkim.

Just read though your guide.

Ill be creating the whitelist_clients.local file and adding things there appropriately.

Thanks for the help.

1 Like

Yes, see architecture diagram.

This topic was automatically closed after 61 days. New replies are no longer allowed.