Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > ebf3b3f177a9c9b8885253a6d5cf9a6b > files > 1

postgrey-1.32-2.fc12.src.rpm

To make use of postgrey, edit your configuration files:

/etc/postfix/main.cf:

  smtpd_recipient_restrictions = ...
    check_policy_service unix:postgrey/socket, ...


Or if you like to use inet sockets (modify the IP if needed):

/etc/sysconfig/postgrey:

  options="--inet=127.0.0.1:10023"

/etc/postfix/main.cf:

  smtpd_recipient_restrictions = ...
    check_policy_service inet:127.0.0.1:10023, ...

And don't forget to activate the service on startup!