418b70b
To make use of postgrey, edit your configuration files:
bdea17a
bdea17a
/etc/postfix/main.cf:
bdea17a
bdea17a
  smtpd_recipient_restrictions = ...
bdea17a
    check_policy_service unix:postgrey/socket, ...
bdea17a
bdea17a
bdea17a
Or if you like to use inet sockets (modify the IP if needed):
bdea17a
bdea17a
/etc/sysconfig/postgrey:
bdea17a
418b70b
  options="--inet=127.0.0.1:10023"
bdea17a
bdea17a
/etc/postfix/main.cf:
bdea17a
bdea17a
  smtpd_recipient_restrictions = ...
bdea17a
    check_policy_service inet:127.0.0.1:10023, ...
bdea17a
418b70b
And don't forget to activate the service on startup!
418b70b