milter-greylist with Postfix on Debian 8

Published on Author righterLeave a comment


apt-get install milter-greylist

Modify Config /etc/milter-greylist/greylist.conf (only changes listed)

# For sendmail use the following two lines
#socket "/var/run/milter-greylist/milter-greylist.sock"
#user "smmsp"

# For Postfix uncomment the following two lines and comment out the
# sendmail ones above.
socket "/var/spool/postfix/milter-greylist/milter-greylist.sock" 660
user "greylist"

geoipdb "/usr/share/GeoIP/GeoIP.dat"

#racl whitelist default
racl greylist default

Change Access

mkdir /var/spool/postfix/milter-greylist
chmod 2755 /var/spool/postfix/milter-greylist
chown -R greylist:postfix /var/spool/postfix/milter-greylist
chown -R greylist:postfix /var/lib/milter-greylist
adduser postfix greylist

Change config /etc/default/milter-greylist (only changes listed)



service milter-greylist restart

Leave a Reply

Your email address will not be published. Required fields are marked *