Use the following script to see POP3/IMAP usage in bytes (it reads /var/log/maillog file and outputs the bandwidth usage for every email user (period of time counted depends on logrotate)) #!/bin/sh for u in `ls /usr/local/directadmin/data/users`; do { echo “$u”; echo -n “POP3: ” grep “($u)” /var/log/maillog | awk ‘/pop3/ && /retr/ && /Disconnected/ {print ..
Category : Control Panel
Login to SSH cd /usr/local/directadmin/custombuild ./build freetype yum install freetype-devel -y PHP 5.4 cd /usr/local/directadmin/custombuild wget http://files.directadmin.com/services/custombuild/php-5.4.45.tar.gz tar xvf php-5.4.45.tar.gz cd php-5.4.45 cp ../configure/fastcgi/configure.php54 ./ chmod 755 configure.php54 ./configure.php54 make make install cd /usr/local/safe-bin cp /usr/local/directadmin/custombuild/configure/fastcgi/fcgid54.sh ./ chown apache. fcgid54.sh chmod 555 fcgid54.sh PHP 5.5 cd /usr/local/directadmin/custombuild wget http://files.directadmin.com/services/custombuild/php-5.5.38.tar.gz tar xvf php-5.5.38.tar.gz cd php-5.5.38 cp ..
Sometimes, after the SmarterMail password is changed, for Windows hosting we also need to update it in Plesk. For Plesk 12.5, the password can be updated in: Tools & Settings >> Server Components >> Mail Server (SmarterMail Server 15.x.xxx) For old Plesk 9.5: Settings >> Server Components >> Mail Server (SmarterMail Server..
Ticket Example : WUU-211-90222 Setting up quota need to be done when there is an error while modifying the email quota in the DirectAdmin To setup the quotas, firstly check the disk space df -h Example: [root@es7-64 ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/centos-root 14G 2.3G 12G 17% / devtmpfs 915M ..
In cPanel server it may take some time to find a Domain Document Root Folder, especially if it is an AddOn domain or a Subdomain. There is a script, which allows to find the path immediately. For example: [cc][root@sme11 ~]# we tirs.com.my tirs.com.my /home/tirscommy/public_html[/cc] or subdomain: [cc][root@sme11 ~]# we test.tirs.com.my test.tirs.com.my /home/tirscommy/public_html/test[/cc] The script is ..
Below are the most important cPanel configuration files location and their description: /etc/httpd/conf/httpd.conf or /etc/apache/conf/httpd.conf – apache configuration file /etc/exim.conf – mail server configuration file /etc/named.conf – name server (named) configuration file /etc/proftpd.conf – proftpd server configuration file /etc/pure-ftpd.conf – pure-ftpd server configuration file /etc/valiases/domainname – catchall and forwarders are set here /etc/vfilters/domainname – email ..
First go to custombuild directory [cc lang=”bash”]cd /usr/local/directadmin/custombuild[/cc] Set option.conf by running this command [cc lang=”bash”]./build set mariadb 10.2 ./build set mysql_inst mariadb[/cc] Build MariaDB [cc lang=”bash”]./build ma..
Recently, there are with the Directadmin custombuild for MySQL. Below are an example of the error : Downloading mysql/MySQL-shared-5.6.38-1..x86_64.rpm… –2018-03-02 18:46:09– http://69.162.69.58/services/custombuild/all/mysql/5.6/5.6.38/64-bit/MySQL-shared-5.6.38-1..x86_64.rpm Connecting to 69.162.69.58:80… connected. HTTP request sent, awaiting response… 404 Not Found 2018-03-02 18:46:09 ERROR 404: Not Found. Downloaded file /usr/local/directadmin/custombuild/mysql/MySQL-shared-5.6.38-1..x86_64.rpm does not exist or is empty after download cwd is: /usr/local/directadmin/custombuild Fileserver ..
1. SSH to the server 2. Go to the password directory cd /etc/ 3. Copy password cp shadow shadow2 4. Then, type the command below and write down the new password passwd admin To remove the password rm shadow and mv shadow2 sh..
For Plesk version 9.x First, click on the domain and search for the domain you wanted Next, click on the “resource usage” button Lastly, scroll down and tick on the expiration date either input a specific date or just click “never expires” For Plesk version 11.x First, go to subscription on the left side on ..