Friday, August 31, 2018

Avast Business Installer Installation Failed: Unable to Load Policy

Our team just installed Management console for Avast Business Antivirus, Avast Business Antivirus Pro and Avast Business Antivirus Pro Plus On local server (on-premise) on Windows 2008 Server R2. The server got IP Public, so all PC outside the office can install the Avast Business Installer generated from the console.

Unfortunately, we got error 'Installation Failed: Unable to Load Policy' during setup process.


After discuss with support from Avast reseller in Indonesia, we also discuss with support directly from Avast. They said there are a few things we can try to correct it. 
  1. Was there any Avast products on the server before? If yes, please remove using Avast clear to make sure everything is removed. Download from https://www.avast.com/uninstall-utility
  2. Make sure to remove all Anti-Virus programs before installation.
  3. Disable any local firewalls that may be preventing the program from running.
  4. Please make sure to download a new copy once you have made sure the other items are correct. 
  5. Login to business.avast.com portal (note: we use another address because our console installed in our own portal) and navigate to Add New Device > Customize > Choose options > Download.

Avast support suggest doing the full installer. Also, after downloading and before installing "right click" on the file and select "Properties". Sometimes there will be a Security option at the bottom, make sure to unblock the program as shown in the screenshot below. 



The client/cloud server communication is completed using the following ports. To ensure proper communication to the cloud portal please make sure all ports below are open and also the whitelisting of *.avast.com.

- http/80 (updates) 
- https/443 (FFL encryption key negotiation) 
- TCP, UDP/ 443, 53 for secure DNS 
- *.avast.com
- 77.234.40.0/21 Update servers

After I tried the solutions, they dont work!

Then I tried to check all ports used to communicate between client and server, and got that Avast use 8080/8090 for server/client stuff. After out network admin open the port, then the installation work seamlessly.

Wednesday, September 13, 2017

How to Replace and Rewrite Sender Address in Postfix

I am setting up Postfix on a Linux server because I want to send mail independently. I need to change sender address because the default sender is from user@server.local.

This config changes sender addresses from both local originated, and relayed SMTP mail traffic:
# nano /etc/postfix/main.cf:
sender_canonical_classes = envelope_sender, header_sender
sender_canonical_maps =  regexp:/etc/postfix/sender_canonical_maps
smtp_header_checks = regexp:/etc/postfix/header_check
Rewrite envelope address from email originating from the server
# nano /etc/postfix/sender_canonical_maps:
/.+/    newsender@example.com
Rewrite from address in SMTP relayed e-mail
# nano /etc/postfix/header_check:
/From:.*/ REPLACE From: newsender@example.com

Sunday, March 5, 2017

Mikrotik Beep Song Indonesia: Apose

Sunday morning, composing "Apose" folk song from Biak, Papua, Indonesia on Mikrotik using beep command.
# Mikrotik beep song "Apose"
# Wahyu Wijanarko - http://wahyu.com
:beep length=300ms frequency=783.99
:delay 350ms
:beep length=300ms frequency=1046.50
:delay 350ms
:beep length=300ms frequency=1318.51
:delay 700ms
:beep length=300ms frequency=1174.66
:delay 175ms
:beep length=300ms frequency=1318.51
:delay 350ms
:beep length=300ms frequency=1174.66
:delay 175ms
:beep length=300ms frequency=1046.50
:delay 700ms
:beep length=300ms frequency=783.99
:delay 350ms
:beep length=300ms frequency=1046.50
:delay 350ms
:beep length=300ms frequency=1318.51
:delay 700ms
:beep length=300ms frequency=1318.51
:delay 175ms
:beep length=300ms frequency=1174.66
:delay 175ms
:beep length=300ms frequency=1318.51
:delay 175ms
:beep length=300ms frequency=1396.91
:delay 175ms
:beep length=300ms frequency=1174.66
:delay 700ms
:beep length=300ms frequency=783.99
:delay 350ms
:beep length=300ms frequency=987.77
:delay 350ms
:beep length=300ms frequency=1174.66
:delay 700ms
:beep length=300ms frequency=1396.91
:delay 175ms
:beep length=300ms frequency=1567.98
:delay 350ms
:beep length=300ms frequency=1396.91
:delay 175ms
:beep length=300ms frequency=1318.51
:delay 700ms
:beep length=300ms frequency=1174.66
:delay 175ms
:beep length=300ms frequency=1318.51
:delay 350ms
:beep length=300ms frequency=1174.66
:delay 175ms
:beep length=300ms frequency=1046.50
:delay 1400ms
:beep length=300ms frequency=783.99
:delay 350ms
:beep length=300ms frequency=1046.50
:delay 350ms
:beep length=300ms frequency=1396.91
:delay 350ms
:beep length=600ms frequency=1318.51
:delay 1400ms
:beep length=300ms frequency=783.99
:delay 350ms
:beep length=300ms frequency=987.77
:delay 350ms
:beep length=300ms frequency=1174.66
:delay 350ms
:beep length=600ms frequency=1046.50
:delay 1400ms
:beep length=300ms frequency=783.99
:delay 350ms
:beep length=300ms frequency=1046.50
:delay 350ms
:beep length=300ms frequency=1396.91
:delay 350ms
:beep length=600ms frequency=1318.51
:delay 1400ms
:beep length=300ms frequency=783.99
:delay 350ms
:beep length=300ms frequency=987.77
:delay 350ms
:beep length=300ms frequency=1174.66
:delay 350ms
:beep length=600ms frequency=1046.50