Posts

Zimbra webmail not working on port 80/443 su - zimbra zmprov ms `zmhostname` zimbraReverseProxySSLToUpstreamEnabled FALSE zmprov ms `zmhostname` zimbraMailMode both zmprov ms `zmhostname` zimbraReverseProxyMailMode both ./libexec/zmproxyconfig -e -w -o -a 8080:80:8443:443 -x both -H `zmhostname` zmcontrol restart Ref: https://serverok.in/zimbra-webmail-not-working

How to disable various headers in Zimbra

1. To start with, we will first create a custom header check file, that will contain our headers that we want to ignore: $ touch /opt/zimbra/conf/custom_header_checks 2. Once the file is created, we are going to add it to the zimbra configuration: $ zmprov mcf zimbraMtaHeaderChecks 'pcre:/opt/zimbra/conf/postfix_header_checks  pcre:/opt/zimbra/conf/custom_header_checks' $ zmprov mcf zimbraMtaBlockedExtensionWarnRecipient FALSE Confirm the new header check file is picked up by zimbra: $ postconf | grep header_checks 3. The next step would be to populate the file with data. Below is an example of this file with various headers: /X-Virus-Scanned/     IGNORE /^Received: from 127.0.0.1/     IGNORE /^X-Originating-IP:/     IGNORE /^X-Mailer:/     IGNORE /^Mime-Version:/     IGNORE /^User-Agent:/     IGNORE /^X-Sanitizer:/     IGNORE /^X-Spam-Status:/     IGNORE /^X-Spam...

Zimbra Installation Problem at CentOS7

Issue: Running Post Installation Configuration: /opt/zimbra/bin/zmlocalconfig: line 83: exec : java: not found /opt/zimbra/bin/zmlocalconfig: line 83: exec : java: not found /opt/zimbra/bin/zmlocalconfig: line 83: exec : java: not found /opt/zimbra/bin/zmlocalconfig: line 83: exec : java: not found /opt/zimbra/bin/zmlocalconfig: line 83: exec : java: not found Operations logged to /tmp/zmsetup.20190720-155435.log Installing LDAP configuration database...done. Setting defaults.../opt/zimbra/bin/zmlocalconfig: line 83: exec : java: not found /opt/zimbra/bin/zmjava: line 59: /bin/java: No such file or directory /opt/zimbra/bin/zmlocalconfig: line 83: exec : java: not found /opt/zimbra/bin/zmjava: line 59: /bin/java: No such file or directory Solution: 1. Uninstall zimbra using command 1 ./install.sh -u 2. Remove zimbra-openjdk with the command 1 yum remove zimbra-openjdk Done you can reinstall the new zimbra Ref: https://saad-web-id.translate.goog/2019/07/initializing-core-config-settin...

How to force browser to use https for any site

chrome://net-internals/#events opera://net-internals/#events  Domain Security Policy  Add HSTS domain > mofa.gov.sa   Include subdomains for STS: [click]  Add  Sockets  Close Flush  DNS  Clear  Proxy  Clear  Re-apply

CISCO ROUTER BASIC CONFIGURATION

Set Hostname. R1(config)#hostname BOL_RTR Set WAN IP. BOL_RTR(config)#interface fastEthernet 0/0 BOL_RTR(config-if)#description WAN interface BOL_RTR(config-if)#ip address 192.168.1.151 255.255.255.0 BOL_RTR(config-if)#duplex full BOl_RTR(config-if)#ip nat outside BOL_RTR(config-if)#no shutdown Set route for INTERNET ACCESS. BOL_RTR(config)#ip route 0.0.0.0 0.0.0.0 192.168.1.1 Set LAN IP (as Gateway). BOL_RTR(config)#interface fastEthernet 0/1 BOL_RTR(config-if)#description LAN_interface BOL_RTR(config-if)#ip address 172.16.16.1 255.255.0.0 BOL_RTR(config-if)#duplex full BOL_RTR(config-if)#ip nat inside BOL_RTR(config-if)#no shutdown Configure DHCP for LAN. BOL_RTR(config)#ip dhcp pool LAN BOL_RTR(dhcp-config)#network 172.16.16.0 255.255.0.0 BOL_RTR(dhcp-config)#default-router 172.16.16.1 Set DNS. BOL_RTR(config)#ip name-server 8.8.8.8 BOL_RTR(config)#no ip domain-lookup BOL_RTR(config)#no aaa new-model Set NAT. BOL_RTR(config)#ip nat pool LAN 192.168.1.151 192.168.1.151 netmask...

Install and configure SSL certificate in Apache Webserver

Step:1 Upload the certificate file into the server. I have uploaded the file in /tmp directory Step:2 Modify the apache configuration vi /etc/apache2/sites-available/000-default.conf <VirtualHost *:80>             ServerName monit.example.com             ServerAdmin webmaster@localhost             DocumentRoot /opt/observium/html             Redirect / https://monsupport.example.com             <Directory />               Options FollowSymLinks               AllowOverride None             </Directory>             <Directory /opt/observium/html/>               Options Indexes FollowSymLinks MultiViews               Allow...

EMAIL Migration [GSUIT/Zimbra]

apt-get install git rcs make makepasswd cpanminus apt-get install gcc libssl-dev libauthen-ntlm-perl libclass-load-perl libcrypt-ssleay-perl liburi-perl libdata-uniqid-perl libdigest-hmac-perl libdist-checkconflicts-perl libfile-copy-recursive-perl libio-compress-perl libio-socket-inet6-perl libio-socket-ssl-perl libio-tee-perl libmail-imapclient-perl libmodule-scandeps-perl libnet-ssleay-perl libpar-packer-perl libreadonly-perl libsys-meminfo-perl libterm-readkey-perl libtest-fatal-perl libtest-mock-guard-perl libtest-pod-perl libtest-requires-perl libtest-simple-perl libunicode-string-perl sudo cpanm Crypt::OpenSSL::RSA Crypt::OpenSSL::Random --force sudo cpanm Mail::IMAPClient JSON::WebToken Test::MockObject sudo cpanm Unicode::String Data::Uniqid sudo cpanm Encode::IMAPUTF7 module sudo cpanm Regexp::Common module sudo cpanm File::Tail module git clone https://github.com/imapsync/imapsync.git cd imapsync mkdir -p dist sudo make install Zimbra to GMAIL ./imapsync --host1 mail.zimbra....