Posts

zimbra backups

 ###daily### 00 21 * * 1,2,3,4,5,6 /bin/bash /home/sas/daily.sh ###weekly### 00 21 * * 7 /bin/bash /home/sas/weekly.sh [root@mail ~]# cat /home/sas/daily.sh #!/bin/sh Date1=`date +%d-%m-%Y` T1=`date` rsync -avz --update /opt/zimbra/ /secondary/opt/zimbra/ > /home/sas/script/logs/opt.daily.log 2>&1 T2=`date` echo "START :  " $T1 >> /home/sas/script/logs/opt.daily.log echo "END   :  " $T2 >> /home/sas/script/logs/opt.daily.log [root@mail ~]# cat /home/sas/weekly.sh #!/bin/sh Date1=`date +%d-%m-%Y` T1=`date` rsync -avz --delete /opt/zimbra/ /secondary/opt/zimbra/ > /home/sas/script/logs/opt.weekly.log 2>&1 T2=`date` echo "START :  " $T1 >> /home/sas/script/logs/opt.weekly.log echo "END   :  " $T2 >> /home/sas/script/logs/opt.weekly.log

send later feature in zimbra

  Yes the option is there, but must be enabled in the COS by the Email admin, then all users under that COs can use it:

Cannot proceed, because event scheduler is disabled

ERROR 1408 (HY000): Event Scheduler: An error occurred when initializing system tables. Disabling the Event Scheduler. Mar 14 06:30:42 linux.mahamail.com mysqld[21729]: 2024-03-14  6:30:42 0 [Warning] InnoDB: Table mysql.innodb_table_stats has length mismatch in the column name table_name. Please run mariadb-upgrade Mar 14 06:30:42 linux.mahamail.com mysqld[21729]: 2024-03-14  6:30:42 0 [Warning] InnoDB: Table mysql.innodb_index_stats has length mismatch in the column name table_name. Please run mariadb-upgrade Mar 14 06:30:42 linux.mahamail.com mysqld[21729]: 2024-03-14  6:30:42 0 [Warning] InnoDB: Table mysql.innodb_table_stats has length mismatch in the column name table_name. Please run mariadb-upgrade mysql_upgrade -u da_admin -pAyT@dBrwBM resolved

How to enable awstats in directadmin

  By default, DirectAdmin comes with webalizer stat software, but it is possible to switch to awstats. Just be aware it is a global on/off switch and not per domain. If you wish to enable this feature for testing or use, you must install awstats. Type: da build set awstats yes da build awstats

Rainloop problem: Can’t connect to server

 TO FIX      https://207.244.254.94:8090/manageSSL/sslForMailServer just select any domain and issue SSL and use  SMTP port 465 IMAP 993 SMTP Comment

install php module in apache directadmin

cd /usr/local/directadmin/custombuild ./build used_configs | grep configure.php   PHP (default) configuration file: /usr/local/directadmin/custombuild/configure/php/configure.php56 phpMyAdmin configuration file: /usr/local/directadmin/custombuild/configure/phpmyadmin/config.inc.php /usr/local/directadmin/custombuild/configure/php check above location for custom PHP config with PHP versions  --enable-intl \         --with-apxs2 \         --with-mssql=/usr/local/freetds

Turn off brute force notifications BUT keep the monitor running and blocking directadmin

  Turn off brute force notifications BUT keep the monitor running and blocking echo "hide_brute_force_notifications=1" >> /usr/local/directadmin/conf/directadmin.conf Once done, restart directadmin.