Email Error: 450 Client host rejected

A couple of our clients sometimes have issues when sending email, with a returned non-delivery report stating the following: Peer server rejected email: 450 Client host rejected: 'cannot find your hostname' It turns out this is a very strict check (usually performed by postfix), that is controlled via the directive reject_unknown_client_hostname in the postfix configuration. The documentation … Continue reading Email Error: 450 Client host rejected

Nugget post: Setting ldap connection timeout for python

This blog post is similar to a previous one that dealt with PHP + LDAP. In this post we'll explore how to use the python LDAP library and set timeouts. These settings are used to reduce the timeouts when connecting to an LDAP server. This will avoid your program from "hanging" due to lack of … Continue reading Nugget post: Setting ldap connection timeout for python