Linux/Mailserver/Internet Site
< Linux | Mailserver
Requirements
- Ubuntu 16.04
- server with static ip
- control of dns entries
Postgrey
- install
apt install postgrey
- edit /etc/default/postgrey
POSTGREY_OPTS="--inet=10023 --delay=60"
- restart
systemctl restart postgrey
- edit /etc/postfix/main.cf
smtpd_recipient_restrictions = ... permit_sasl_authenticated permit_mynetworks reject_unauth_destination ... check_policy_service inet:127.0.0.1:10023 ... permit