Postgrey + smtp auth

I got postgrey (greylisting for postfix) working without too much difficulty a couple of weeks ago. Unfortunately I managed to screw up smtp-auth in the process.


In either case it wasn’t that hard to fix.
If you make a minor change to your main.cf you can get it all working nicely.
In the previous configuration you should have ended up with the following:

smtpd_recipient_restrictions =
reject_unauth_destination
check_policy_service inet:127.0.0.1:60000

For some reason I’d put that in the wrong place !!
This may have been because of some of the previously entered information for smtp-auth, dnsbls or simply due to a lack of caffeine.
In either case both are working correctly now!!

By Michele Neylon

Michele is founder and CEO of Irish hosting provider and domain name registrar Blacknight.

Leave a comment

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Exit mobile version