A sample on how to save a SSL certificate and key from a PHP script using Directadmin API call to CMD_API_SSL.
Since custombuild 2 gives us opportunity to have a reverse-proxy NGINX Apache on a server and that's quite easy to start using it, we need a small customization to get content cached with Varnish (do you really need it?).
To reduce a number of false alarms and email notifications from CSF/LFD on a Directadmin powered server we need to add some trusted services into an exception list which is stored in /etc/csf/csf.pignore.
Custombuild 2 allows us to have a reverse-proxy NGINX + Apache on Directadmin powered server without a need for any 3rd party scripts or plugins, addons. That's quite easy to start using it.
Should you need to dump mysql proccess list with cron here you can find a nice script to do it. Please feel free to use it on your server, if default mysql slow queries logging is not enough for your purposes.
Since directadmin version 1.453 there is a great feature available for plugins coders. Since now (01.07.2014) plugins have the ability to run as a specified User.
File uploading in a Directadmin plugin is possible, and there is nothing difficult if to say in general. Let me show some basic moments with the help of which you can achieve the desired.
How to make Exim to send messages with IP assigned to other users is described here
. And here in the article you can find some bash scripts for generating files with IP data automatically. Or you can use them with cron.
If you are worried about numerous lines of the following kind: "::1 - - [19/Feb/2014:22:37:51 +0100] "OPTIONS * HTTP/1.0" 200 105" in your access_log or on apache status page, please stay calm, that does not denote anything wrong happening on your server.
I've just received a New Message from Directadmin, entitled as "Backup Abort: A hard link was found under User username's path". And I've seen a list of files within /home/username/imap/ directory which seem to be hardlinks.