Build and install is a simple process:
go get github.com/bradfitz/gomemcache/memcache
sudo make installto build gopp and install it into /usr/local/sbin directory
If your use Debian/Ubibtu you also need to copy defaults to /etc:
cp scripts/gopp-etc_default /etc/defaults/goppand then
cp scripts/gopp.conf.upstart /etc/initif you prefer Upstart or
cp scripts/init_d.ubuntu /etc/init.d/gopp
update-rc.d gopp defaultsin case of System V startup scripts are preferred.
Edit /etc/postfix/main.cf and append check_policy_service to the smtpd_recipient_restrictions checklist. Please note check_policy_service should be one of the late element of the smtpd_recipient_restrictions list, for example:
smtpd_recipient_restrictions = permit_mynetworks
permit_sasl_authenticated
reject_unauth_destination
check_policy_service inet:127.0.0.1:10033