Stuff…

I know I will forget.

Stuff… header image 4

Entries from January 2009

Mail being rejected because of CBL HELO check

January 13th, 2009 · No Comments

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 [...]

[Read more →]

Tags: Control Panels · Linux · Operating System

Testing SMTPS

January 12th, 2009 · No Comments

To quickly check that SMTPS is running on a remote server you could run:
openssl s_client -connect hostname:465

[Read more →]

Tags: Protocols · SMTP

Changing the open_basedir with Plesk Linux

January 12th, 2009 · No Comments

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

[Read more →]

Tags: Control Panels · Linux · Operating System

PHP 4 apache module, Fedora 8 and Plesk 9

January 12th, 2009 · No Comments

Some sites still require PHP 4 and for some reason do not work with PHP 5 and may not have the time to upgrade the scripts.
Useful links:

http://onlinehowto.net/Tutorials/Plesk-Control-Panel/Php-4x-Support-on-Fedora-core-7-with-Plesk-84/765/2
http://www.interworx.com/forums/archive/index.php/t-1897.html

Download the latest PHP 4 source code from PHP.NET.

Make the directory: mkdir -p /opt/php-4.4.9
wget http://uk.php.net/get/php-4.4.9.tar.gz/from/this/mirror
tar -zxvf php-4.4.9.tar.gz
mv php-4.4.9 source
The configure statement used in this case was:
./configure –prefix=/opt/php-4.4.9/ –enable-versioning –with-layout=GNU [...]

[Read more →]

Tags: Control Panels · Linux · Operating System

ProFTPD with PassivePorts

January 12th, 2009 · No Comments

URL:

http://www.proftpd.org/docs/directives/linked/config_ref_PassivePorts.html

Update the /etc/proftpd.conf file and set the passive ports:
PassivePorts 49152 65534
Also, update your firewall to allow these ports in.

[Read more →]

Tags: Linux · Operating System