I'm using postgrey on all my MX servers (main and 2 backups). I need to disable greylisting on a main server when receiving mails from backup server. How to do that?
When I add IP/FQDN to /etc/postgrey/whitelist_clients
, it doesn't help.
Specifying POSTGREY_OPTS="--inet=10023 --whitelist-clients=/etc/postgrey/whitelist_clients"
in /etc/default/postgrey
didn't help either.
/etc/default/postgrey
is read while starting thepostgrey
service?