Category Archives: DirectAdmin

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 »

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/kb/40/MTA-examples-to-set-use-a-smarthost.html For incoming filtering: https://my.spamexperts.com/kb/31/Accept-email-only-from-the-Hosted-Cloud-filter-nodes.html We improved these… Read More »

Force SpamAssassin spamfilter for external forwarders

Users like to forward email from emailaccounts under their own domain to their personal emailaccount at Hotmail, Google or other thirth party emailproviders. The current techniques does not handle forwarding spam very well, meaning that incoming spam is handled by your server and routed to the thirth party provider. The receiving provider thinks that you… Read More »

DirectAdmin backup to CloudVPS Objectstore with CURL

A new version of this script is released at: https://www.sysblog.nl/directadmin-backup-cloudvps-objectstore-curl/ Please use the new version for better compatibility with DirectAdmin backup. 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… Read More »