Mail being rejected because of CBL HELO check

Mails were being bounced due to CBLs HELO check.

URL: http://cbl.abuseat.org/helocheck.html

It turned out that when Plesk was installed it was installed with the hostname localhost.localdomain (ie. domain not changed at all).  In the Plesk control panel the hostname had been updated, however, the qmail server was still presenting itself as localhost.localdomain.

It turns out that in the file: /var/qmail/control/me

It had localhost.localdomain and wasn’t updated.  Manually updating this and restarting qmail resolved the issue.

Changing the open_basedir with Plesk Linux

When needing to allow a less restrictive basedir setting in Plesk for a domain you could modify the sites vhost.conf file normally found or created in /var/www/vhosts/yourdomain.com/conf/ with something like:

<Directory /var/www/vhosts/yourdomain.com/httpdocs/>
php_admin_value open_basedir "/var/www/vhosts/yourdomain.com/httpdocs:/tmp:/php/includes"
</Directory>

Then run:

/usr/local/psa/admin/bin/websrvmng –reconfigure-vhost –vhost-name=yourdomain.com

Or to disable open_basedir you could put in:??

php_admin_value open_basedir none