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? – clement Apr 21 '14 at 16:27Read config file if it is present.
if [ -r /etc/default/$NAME ] then . /etc/default/$NAME fi and NAME=postgrey. It's Ubuntu default.
– Xdg Apr 21 '14 at 16:54