Posts

Showing posts from 2016

NDR for non-existent domain (5.4.4)

Image
By default, NDR (5.4.4) of an email sent to a user with non-existent domain is sent to postmaster's mailbox. If you want your users to get NDR when they send email to a wrong email address (domain in this case), you need to remove 5.4.4 code from Transport Configuration.

In Exchange 2010:


go to Organization > Hub transport > Global settings > Transport settingsremove code 5.4.4 from the list

In Exchange 2013/16
Get-transportConfig to check settingsFind GenerateCopyOfDSNFor and the codes (if 5.4.4 is on the list)Example: {5.4.8, 5.4.4, 5.4.6, 5.2.4, 5.2.0, 5.1.4}Copy ALL codes (from bracket to bracket)Paste into NotepadRemove 5.4.4 from the list (remove 5.4.4, )Set-transportConfig -GenerateCopyOfDSNFor "5.4.8, 5.4.6, 5.2.4, 5.2.0, 5.1.4" Users will get NDR immediately.

Install Docker on Microsoft Windows 2016

Image
Microsoft Windows 2016 supports Docker engine, running containers natively on Windows. To install Docker on Windows server you need to run:

Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -ForceInstall-Module -Name DockerMsftProvider -ForceInstall-Package -Name docker -ProviderName DockerMsftProvider -ForceRestart-Computer -Force After that run:
# Open firewall port 2375
netsh advfirewall firewall add rule name="docker engine" dir=in action=allow protocol=TCP localport=2375# Configure Docker daemon to listen on both pipe and TCP (replaces docker --register-service invocation above)
Stop-Service dockerdockerd --unregister-servicedockerd -H npipe:// -H 0.0.0.0:2375 --register-serviceStart-Service docker
Microsoft images for Docker are available here https://hub.docker.com/u/microsoft/


MacOS Sierra Time Machine - Preparing backup... forever to Synology

Image
I am using Synology NAS to backup my Mac using Time Machine. After upgrade to MacOS Sierra (10.12.1) Time Machine backup sort of backed up my Mac. By sort of I mean it was showing Preparing backup...  forever but if I entered Time Machine backup all backups even new ones were there.

To resolve the issue with "Preparing backup...":

I removed backup disk in Time Machine preferencesRemoved all Synology Diskstation passwords from KeyChain Access (not only Time Machine ones) Deselected Time Machine shared folder from Synology file services menuDisabled Mac file service (AFP) from Synology Control panelDismounted all Synology mounted drivesEnabled SMB 3.0 in Synology File services (Control panel)Enabled back Mac file service in SynologySelected Time Machine shared folder under Mac file services in SynologyOpened Time Machine settings and Selected Time Machine disk from the listSelected Encrypt backupEntered username and password for Time Machine backupEntered password for encrypte…

Your password couldn't be changed in OWA 2013

Image
Your users might get an error while changing their password through Outlook WebApp (Exchange 2013) stating:
Your password couldn't be changed. Make sure the old password you typed is correct and that the new password meets the minimmum security requirements.


On the other hand password change through Windows in Site 2 is successful. Password Group Policy is OK and it is working in primary site.

Setup:
Two sites | Two domain controllers, each in its own site

If Exchange servers are in other site than users trying to change their password, open port 464 in firewall for Exchange servers to let Exchange communicate with domain controller in other site.

Protocol and Port AD and AD DS Usage Type of traffic TCP and UDP 464 Replication, User and Computer Authentication, Trusts Kerberos change/set password
https://technet.microsoft.com/en-us/library/dd772723(v=ws.10).aspx

The Windows component Server-Gui-Mgmt-Infra isn't installed on this computer and needs to be installed before Exchange setup

Image
You get this error "The Windows component Server-Gui-Mgmt-Infra isn't installed on this computer and needs to be installed before Exchange setup" when you try to install Exchange 2016 on Windows 2016 server. Exchange 2016 pre CU3 does not support Windows 2016, therefore you need to download Exchange 2016 CU3, which is in fact full copy of Exchange 2016 server in order to install it on Windows 2016 machine.

Installing Android Remix OS in Virtualbox

Image
If you want to install Android Remix OS into virtual environment follow this steps:

Download Remix OS for PC from http://www.jide.com/remixos-for-pcExtract the zip fileOpen VirtualboxName the virtual machine and choose Linux 32 or 64-bit and select at least 1024 RAM (see photo 1) Create 8 GB or more disk (photo 2)

When machine is created go to Settings and choose Storage from the possible tabsClick on a CD disk icon in the left window and then again click on CD icon on the right under Attributes and select Remix OS iso image you extracted from the zip file (photo 3)Start the machineAt the initial screen you need to hit TABOn the options line hit space INSTALL=1 (photo 4)Once there select Create/Modify PartitionsDon't use GPT (photo 5)Create New Primary partition and make it Bootable (photo 6)Select WRITE to write changes to diskWhen finished select first diskFormat it as ext3Install grub (DO NOT INSTALL GRUB EFI)It will install Remix OS. Don't loose temper When you see RemixOS …

Flying in the Clouds

Image
© Unknown

I’ve been seeing the above picture lately (not mine © is unknown). Many people shared it and whenever I saw it I was surprised how naïve it looked in a way. Why? Because of uncertainty.
Moving your IT away from the company’s premises is double edged sword. As from the above picture, cloud computing indeed saves you lots of ongoing costs but let’s take a dive into what your costs can look like if you live in an unstable environment. Many countries’ economies suffered from year 2007 on, suffering which started as a real estate balloon boom in USA and was followed by collapse of many European economies. Globalisation at a glance, where a boom in USA made many across the globe go down the same path. Many companies went down, disappeared, divided, sold their business etc.
Let us be one of the troubled companies. Every single one of us first tries to cut down the expenses when in financial trouble. Right? We see the problems arising, sales are low, revenue is lower than expected …

Restore Time Machine backup from Synology

Image
If you find yourself in a situation where you need to restore your Mac from a Synology NAS, you will find out pretty soon after you enter the recovery mode, that backup disk is not visible in recovery window. Steps need to be executed in order Recovery process to find NAS.

Best practise is to name Time Machine shared folder on Synology without spaces. Second, if you are using a password with spaces, which I strongly suggest from security point of view, always put it between ' ' example: 'This is my password'.

Enter the OS X recovery mode by holding Command +R (when Mac restarts and display is grey)When window with options is presented, select Utilities from the bar and select TerminalIn Terminal use following commands:Cd /Volumesls /laCreate a folder to mount Synology to by typing mkdir synologyNow mount your NAS by entering following commandmount -t afp afp://admin:password@10.10.10.11/TimeMachine synology Where admin is your username with administrative rights, passwo…

When you try to search from Safari address bar [Google] Safari freezes

Image
I was using Apple Safari on Mac OS X Yosemite and later on El Capitan just fine when suddenly one day I couldn't search from Safari's address bar. My search engine provider was Google but even changing the provider in Safari's preferences did not resolve the problem. The text I entered stood there and nothing happened. It looked like Safari froze. Other browsers like Firefox and Chrome were working just fine, which was telling me it is not DNS at least network wise.

Then I found out Safari prefetches DNS. In terminal you just write:
defaults write com.apple.safari WebKitDNSPrefetchingEnabled -boolean false This command disables DNS prefetching. If this solves your problem then this is where you need to troubleshoot. Something in connection with your router and DNS is not OK.


Photo of stalled Safari