Restore DirectAdmin .php file extension in /var/www/html

In earlier versions of DirectAdmin it was possible to use .php<php version> files in the /var/www/html directory, running under the webapps user. For example .php56 files are executed with PHP 5.6 and .php73 files are executed with PHP 7.3. We use this to monitor the PHP-FPM daemon. In one of the DirectAdmin updates this function… Read More »

CloudLinux Already inside LVE / PHP-FPM child exited with code 70

The current version of DirectAdmin with up2date CloudLinux and PHP-FPM causes PHP to stop working if CageFS is enabled. All websites go offline because all PHP requests are crashing with the following error: [18-Aug-2019 14:39:56] NOTICE: [pool xxx] child 815145 started [18-Aug-2019 14:39:56] WARNING: [pool xxx] child 815027 exited with code 70 after 0.060412 seconds… Read More »

Bewaar vanuit HostFact verzonden emails voor audit doeleinden

Recent kwam de volgende uitspraak ons ter oren: https://www.technite.nl/hostslim-ook-in-hoger-beroep-in-ongelijk-gesteld-e-mails-wel-verstuurd-maar-niet-gezien/. De belangrijkste les uit dit vonnis voor ons was: De lessen die hier namelijk uit getrokken kunnen worden zijn dat een leverancier er goed aan doet veelvuldig en voortijdig te communiceren over gepland onderhoud. Het bijhouden daarvan (logging, ticketsysteem) is essentieel om eventuele escalaties later het… Read More »

Add DMARC record to existing domains in DirectAdmin

DMARC is built on top of two existing mechanisms, Sender Policy Framework (SPF) and DomainKeys Identified Mail (DKIM). It allows the administrative owner of a domain to publish a policy on which mechanism (DKIM, SPF or both) is employed when sending email from that domain and how the receiver should deal with failures. Additionally, it… Read More »

Email filter for DirectAdmin Message System

DirectAdmin uses the Message System to inform server administrators about various subjects. For example if the server load is too high or if the backup has failed or succeeded. However there is no filter in the Message System, resulting in all messages being send to the server administrator bij email. If you manage a lot… Read More »

mySQL remote access hosts with CSF firewall

DirectAdmin offers the mySQL remote access hosts functionality where you can add remote IP addresses that may have access to your database. This also requires that port TCP 3306 is opened in the firewall of your server, else connection is still not possible. Normally you would open port TCP 3306 in your firewall from all… Read More »

Smokeping targets for Europe and rest of the world 2017

It is hard to find a good list of Smokeping targets to add to your smokeping, so here is our targetlist. This list covers the most countries in Europe with multiple targets per country and some targets in big countries in other continents.

 

CloudVPS Objectstore FTP proxy firewall rules for CSF

In the recent past CloudVPS had one Objectstore FTP proxy located under ftp.objectstore.eu which only required port 20 and port 21 to be opened in the firewall. Since the load of the proxy was getting higher and higher CloudVPS upgraded their platform with (currently) four FTP backend servers, and ftp.objectstore.eu became a loadbalancer. This means… Read More »

DirectAdmin backup to CloudVPS Objectstore with CURL v2

We use the CloudVPS Objectstore to store data in a redundant (3 times) and cheap way, ideal for backups. One of the main disadvantages is that files on the Objectstore may not be larger than 5 GB in size. To workaround this we created a customized ftp_upload.php script (= bash script that handles the upload… Read More »

SpamExperts advanced filtering with DirectAdmin

SpamExperts got a couple of example configurations in their knowledgebase for using SpamExperts as a smarthost (outgoing email filtering) and to accept only mail from the SpamExperts servers to avoid bypassing the SpamExperts filters (incoming email filtering). The knowledgebase articles are: For outgoing filtering using a smarthost: https://my.spamexperts.com/knowledgebase.php?language=english&action=displayarticle&id=40 For incoming filtering: https://my.spamexperts.com/knowledgebase.php?language=english&action=displayarticle&id=31 We improved these… Read More »