The following script sends an alert whenever the exim mail queue is greater than a certain threshold #!/bin/bash if [ `/usr/sbin/exim -bpc` -ge 300 ]; then mail -s “Alert: There are over 300…
The following script sends an alert whenever the exim mail queue is greater than a certain threshold #!/bin/bash if [ `/usr/sbin/exim -bpc` -ge 300 ]; then mail -s “Alert: There are over 300…
After changing the wordpress to the new website, it is observed that the URL of media files and Internal post links still shows the OLD url. To change it, login to…
The below script may be useful to test the mail delivery using email authentication with and without SSL Note: The script uses pear Mail function, so make sure that PEAR Mail…
Let’s change the SSH port from default 22 to 2222 in CentOS 7. 1. Edit the following file vi /etc/ssh/sshd_config 2. Un-coment and Modify the following line Port 2222 3. Now by default Selinux is…
If you want to disable detection of OS version during Nmap scans 1. Edit the sysctl.conf file vi /etc/sysctl.conf 2. Add the following entry at the end of the file net.ipv4.ip_default_ttl = 199 save and…
1. MXTOOLBOX: One of the most popular website to check MX Records, Blacklist Status, SPF, DKIM, DNS, OPEN Ports etc … website: http://www.mxtoolbox.com 2. WHATISMYDNS: Want to check the global propogation status of your…
New Versions of wordpress does no take the max_memory_limit from PHP.ini. This is because the wordpress default memory limit is already defined in the following file. WORDPRESS_ROOT/wp-includes/default-constants.php If you want to modify, edit…
1. Edit the following file vi /etc/sysconfig/selinux 2. Modify the following from SELINUX=permissive TO SELINUX=disabled 3. Reboot the server using reboot …
1. Edit /etc/sysctl.conf and add the following line net.ipv6.conf.all.disable_ipv6 = 1 2. Edit /etc/sysconfig/network and add the following line NETWORKING_IPV6=no 3. Edit /etc/sysconfig/network-scripts/ifcfg-eth0 and add the following line IPV6INIT=no 4. Stop iptables6 service service iptables6 stop 5. Disable…
1. Disable ProxySSLUpstream zmprov ms `zmhostname` zimbraReverseProxySSLToUpstreamEnabled FALSE 2. Reconfigure Nginx /opt/zimbra/libexec/zmproxyconfig -e -w -o -a 8080:80:8443:443 -x both -H `zmhostname` 3. Configure Zimbra to run both on HTTPS and HTTP zmtlsctl both zmprov ms `zmhostname`…
Copyright © 2019 | iamemhost.com . All rights reserved.